
#app {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-color: #f0f2f5;
  color: #1c1e21;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}
.header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 20px 0;
  text-align: center;
  margin-bottom: 30px;
  border-radius: 10px;
}
.header h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}
.header p {
  font-size: 1.1em;
  opacity: 0.9;
}
.btn {
  background: #1877f2;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}
.btn:hover {
  background: #166fe5;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}
.btn-secondary {
  background: #42b883;
}
.btn-secondary:hover {
  background: #369870;
}
.btn-danger {
  background: #e74c3c;
}
.btn-danger:hover {
  background: #c0392b;
}
.card {
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #1c1e21;
}
.form-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #dddfe2;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}
.form-group input:focus {
  outline: none;
  border-color: #1877f2;
  box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.1);
}
.nav-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 30px;
}
@media (max-width: 768px) {
.container {
    padding: 10px;
}
.header h1 {
    font-size: 2em;
}
.nav-buttons {
    flex-direction: column;
    align-items: center;
}
.btn {
    width: 100%;
    max-width: 300px;
}
}


.sign-container[data-v-62c8e8de] {
    width: 100vw;
    height: 50vh;
    transform: translateY(30vh);
    transition: all 0.5s linear;
    background-color: #fff;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    position: fixed;
    bottom: 0;
    left: 0;
    padding-top: 30px;
}
.sign-container .exit-btn[data-v-62c8e8de]{
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
    color: #222;
}
.sign-container .title[data-v-62c8e8de]{
    margin: 20px auto;
    font-size: 36px;
    color: #222;
    font-weight:600;
    text-align: center;
}
.sign-container .tips[data-v-62c8e8de]{
    margin: 10px auto;
    font-size: 12px;
    color: #feb721;
    width: 80%;
    text-align: center;
}
.sign-container.show[data-v-62c8e8de] {
    transform: translateY(0);
}
.form-item[data-v-62c8e8de] {
    border-radius: 5px;
    border: 1px solid #222;
    width:80%;
    height: 40px;
    border-radius: 5px;
    display:flex;
    margin: 0 auto 10px;
    align-items: center;
}
.form-icon img[data-v-62c8e8de] {
    width: 20px;
    height: 20px;
    margin: 0 10px;
}
.form-item input[data-v-62c8e8de] {
    border: none;
    flex: 1;
}
.form-item .button-text[data-v-62c8e8de]{
    color: #4d4de4;
    margin-right: 10px;
}
.form-button[data-v-62c8e8de] {
    background-color: #222;
    color: #fff;
    margin: 20px 10%;
    height: 40px;
    border-radius: 5px;
    font-size:16px;
    width: 80%;
}


.danmaku-panel[data-v-61f0a3a3] {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    color: #e8e8e8;
    /* border-radius: 12px; */
    overflow: hidden;
}
.head[data-v-61f0a3a3] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #121216;
    border-bottom: 1px solid #1f1f23;
}
.state[data-v-61f0a3a3] {
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 999px;
    background: #2a2a2e;
}
.state.open[data-v-61f0a3a3] {
    background: #10b981;
    color: #001b10;
}
.state.reconnecting[data-v-61f0a3a3] {
    background: #f59e0b;
    color: #1b0f00;
}
.state.closed[data-v-61f0a3a3] {
    background: #ef4444;
    color: #220000;
}
.list[data-v-61f0a3a3] {
    flex: 1;
    width: 80%;
    overflow: auto;
    padding: 28px 12px 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    /* background: rgba(11, 11, 12, 0.4); */
    position: relative;
}
.enter_msg[data-v-61f0a3a3] {
    position: absolute;
    top: 0;
    left: 0;
    line-height: 1.3;
    overflow: hidden;
    padding: 0 12px;
    height: 20px;
    display: flex;
    flex-direction: column-reverse;
}
.enter_msg .msg[data-v-61f0a3a3] {
    animation: rightin-61f0a3a3 0.2s linear;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 0 10px;
    line-height: 20px;
    border-radius: 10px;
}
@keyframes rightin-61f0a3a3 {
0% {
        transform: translateX(-100%);
}
100% {
        transform: translateX(0);
}
}
.msg[data-v-61f0a3a3] {
    font-size: 13px;
    line-height: 20px;
}
.msg .bg[data-v-61f0a3a3] {
    display: inline-block;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 0 10px;
}
.msg .bg .host[data-v-61f0a3a3] {
    color: #ffffff;
    background-color: #9419ea;
    border-radius: 3px;
    margin-right: 5px;
}
.msg .uid[data-v-61f0a3a3] {
    color: #a5b4fc;
    margin-right: 6px;
}
.msg .text[data-v-61f0a3a3] {
    color: #e5e7eb;
    font-weight: 600;
}
.msg .ts[data-v-61f0a3a3] {
    color: #9ca3af;
    margin-left: 8px;
    font-size: 11px;
}
.input[data-v-61f0a3a3] {
    display: flex;
    gap: 8px;
    padding: 8px;
    /* background: #121216; */
    /* border-top: 1px solid #1f1f23; */
}
.input .input-danmu[data-v-61f0a3a3] {
    flex: 5;
    display: flex;
    gap: 8px;
    border: 1px solid #2b2b2f;
    background: #0f0f12;
    border-radius: 8px;
    align-items: center;
}
.input .custom-button[data-v-61f0a3a3] {
    flex: 2;
    display: flex;
    align-items: center;
    line-height: 100%;
    justify-content: space-evenly;
}
.input input[data-v-61f0a3a3] {
    flex: 1;
    font-size: 16px;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background: #0f0f12;
    color: #fff;
    outline: none;
}
.input button[data-v-61f0a3a3] {
    padding: 0px 4px;
    border-radius: 3px;
    background: #2563eb;
    color: #fff;
    border: none;
    height: 50%;
    line-height: 50%;
    margin-right: 10px;
}


.danmaku-container[data-v-3d5f3e60] {
  /* position: fixed;
  left: 0;
  bottom: 0; */
  width: 100vw;
  height: var(--dmk-height, 40px);
  pointer-events: none; /* 弹幕层不挡交互 */
}

/* 弹幕项 */
.danmaku-bullet[data-v-3d5f3e60] {
  position: absolute;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  /* background: rgba(24,24,27,0.76); */
  color: #fff;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  transform: translateX(0);
  animation: fly-left-3d5f3e60 linear forwards;
  pointer-events: none; /* 子元素也禁交互，保持穿透 */
  font-size: 14px;
}

/* 头像占位（首字母） */
.danmaku-bullet .avatar[data-v-3d5f3e60] {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg,#e5e7eb,#cbd5e1);
  color: #333;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 11px;
}

/* 文案 */
.danmaku-bullet .text .name[data-v-3d5f3e60] { font-weight: 700; margin-right: 4px;
}
.danmaku-bullet .text .suffix[data-v-3d5f3e60] { opacity: 0.95;
}

/* 动画：从右侧驶入到左侧消失 */
@keyframes fly-left-3d5f3e60 {
0% { transform: translateX(80vw);
}
20%   { transform: translateX(0);
}
100%   { transform: translateX(0);
}
}

/* 测量节点样式（不可见） */
.danmaku-bullet.measuring[data-v-3d5f3e60] { visibility: hidden !important;
}

/* 容器高度变量（由 props heightPx 驱动，使用内联 style 更灵活） */
[data-v-3d5f3e60]:host, .danmaku-container[data-v-3d5f3e60] {
  --dmk-height: 40px;
}


.clarity-wrap[data-v-1a1659b4] {
    z-index: 300000000000;
}
.clarity-wrap.fixed[data-v-1a1659b4] {
    position: fixed;
    top: 210px;
    right: 0;
    pointer-events: none;
}
.clarity-bar[data-v-1a1659b4] {
    pointer-events: auto;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 8px;
    padding: 0 6px 20px;
    /* background: rgba(0, 0, 0, .55); */
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: saturate(120%) blur(6px);
    /* border-radius: 12px; */
    transition: all 1s linear;
}
.clarity-bar.selected[data-v-1a1659b4] {}
.clarity-btn[data-v-1a1659b4] {
    min-width: 84px;
    height: 26px;
    padding: 0 12px;
    border: 1px solid #fff;
    border-radius: 9px;
    background: transparent;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    transition: transform .12s ease, filter .2s ease, background .2s;
}
.clarity-btn[data-v-1a1659b4]:hover {
    filter: brightness(1.08);
}
.clarity-btn[data-v-1a1659b4]:active {
    transform: scale(.96);
}
.clarity-btn.active[data-v-1a1659b4] {
    background: #2563eb;
    border-color: transparent;
}
.clarity-btn[data-v-1a1659b4]:disabled {
    opacity: .6;
    cursor: not-allowed;
}
.curr[data-v-1a1659b4] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.2);
    padding-left: 7px;
    padding-top: 10px;
    border-top-left-radius: 35px;
    border-bottom-left-radius: 35px;
    font-size: 12px;
    animation: all 1s linear;
    pointer-events: auto;
}
.curr.selected[data-v-1a1659b4] {
    border-bottom-left-radius: 0px;
}
.curr .icon-arrow[data-v-1a1659b4] {
    text-align: center;
}
.curr .icon-arrow img[data-v-1a1659b4] {
    width: 20px;
    height: 20px;
    transform: rotate(-90deg);
    margin: 0 auto;
}


.reaction-wrap[data-v-d77b33c0] {
  position: relative;
  width: 100%;
  z-index: 40;
}
.reaction-wrap.fixed[data-v-d77b33c0] {
  position: fixed;
  left: 0;
  right: 0;
  /* padding-bottom: env(safe-area-inset-bottom); */
}

/* 漂浮层 */
.float-layer[data-v-d77b33c0] {
  position: absolute;
  left: 0; right: 0; bottom: 56px; /* 在按钮条上方开始漂浮 */
  height: 0; pointer-events: none;
}
.bubble[data-v-d77b33c0] {
  position: absolute;
  bottom: 0;
  transform: translateY(0) scale(1);
  animation: floatUp-d77b33c0 linear forwards;
}
.bubble-emoji[data-v-d77b33c0] {
  font-size: 26px;
}

/* 表情条 */
.bar[data-v-d77b33c0] {
  margin: 0 auto;
  max-width: 720px;
  padding: 8px 10px;
  background: rgba(0,0,0,.55);
  border-radius: 16px;
  backdrop-filter: saturate(120%) blur(6px);
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  overflow-x: auto;
}
.btn[data-v-d77b33c0] {
  width: 40px; height: 40px;
  border-radius: 999px;
  border: none;
  display: inline-flex;
  align-items: center; justify-content: center;
  cursor: pointer;
  transition: transform .12s ease, filter .2s ease;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.15);
}
.btn[data-v-d77b33c0]:active { transform: scale(0.92);
}
.btn[data-v-d77b33c0]:hover { filter: brightness(1.05);
}
.emoji[data-v-d77b33c0] { font-size: 22px; transform: translateY(1px);
}

/* 漂浮动画 */
@keyframes floatUp-d77b33c0 {
0%   { transform: translateY(0) scale(0.9); opacity: 0;
}
10%  { opacity: 1;
}
60%  { transform: translateY(-80px) scale(1.1);
}
100% { transform: translateY(-140px) scale(1.05); opacity: 0;
}
}
/* 进入/离开过渡（和 @transition-group 配合） */
.float-enter-active[data-v-d77b33c0], .float-leave-active[data-v-d77b33c0] { transition: opacity .2s;
}
.float-enter[data-v-d77b33c0], .float-leave-to[data-v-d77b33c0] { opacity: 0;
}


.viewer[data-v-2a9d4515] {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #222222;
  color: #fff;
}

/* 视频背景 */
.video-container[data-v-2a9d4515] {
  position: absolute;
  inset: 0;
  /* padding-top: env(safe-area-inset-top);
  padding-right: env(safe-area-inset-right);
  padding-bottom: env(safe-area-inset-bottom);
  padding-left: env(safe-area-inset-left); */
  background: #000;
  height: 100svh;
  min-height: 100vh;
}
.video-container .vjs-player[data-v-2a9d4515],
.video-container .tencent-webrtc-player[data-v-2a9d4515],
.video-container .tencent-webrtc-player video[data-v-2a9d4515],
.video-container .vjs-tech[data-v-2a9d4515] {
  width: 100% !important;
  height: 100% !important;
}
.video-container .tencent-webrtc-player video[data-v-2a9d4515],
.video-container .vjs-tech[data-v-2a9d4515] {
  -o-object-fit: cover;
     object-fit: cover;
  /* ✅ 关键：铺满并裁剪 */
  -o-object-position: center center;
     object-position: center center;
  /* 裁剪居中 */
  background: #000;
  transform: translateZ(0);
  will-change: transform;
}

/* 顶部主播信息 */
.header-bar[data-v-2a9d4515] {
  position: absolute;
  top: 20px;
  left: 15px;
  display: flex;
  align-items: center;
}
.viewer-count[data-v-2a9d4515] {
  padding: 3px 5px;
  display: flex;
  align-items: center;
  line-height: 100%;
}
.anchor-info[data-v-2a9d4515] {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  padding: 6px 12px;
  border-radius: 30px;
}
.anchor-info .avatar[data-v-2a9d4515] {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-right: 8px;
}
.anchor-info .meta[data-v-2a9d4515] {
  margin-right: 10px;
}
.anchor-info .name[data-v-2a9d4515] {
  font-size: 14px;
  font-weight: bold;
}
.anchor-info .desc[data-v-2a9d4515] {
  font-size: 12px;
  color: #ccc;
}
.follow-btn[data-v-2a9d4515] {
  background: #ff4d4f;
  color: #fff;
  border: none;
  border-radius: 15px;
  padding: 4px 10px;
  font-size: 12px;
}

/* 右上角观众数 */
.share[data-v-2a9d4515] {
  position: absolute;
  top: 20px;
  right: 15px;
  background: rgba(255, 255, 255, 0.5);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
}
.audio[data-v-2a9d4515] {
  position: absolute;
  top: 130px;
  right: 0;
  text-align: right;
}
.facebook[data-v-2a9d4515] {
  position: absolute;
  top: 200px;
  right: 10px;
  text-align: right;
}
.usdtclaim[data-v-2a9d4515] {
  position: absolute;
  top: 300px;
  left: 10px;
  text-align: right;
  display: flex;
  align-items: center;
  flex-direction: column;
}
.usdtclaim .icon[data-v-2a9d4515] {
  z-index: 111;
  /* background-color: #faba1c; */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-size: 12px;
  position: relative;
}
.usdtclaim .icon img[data-v-2a9d4515] {
  z-index: 11;
  animation: fz-2a9d4515 2s linear 0s infinite;
}
.usdtclaim .countDown[data-v-2a9d4515] {
  z-index: 1;
  animation: fz2 1s linear 0s infinite;
}
@keyframes fz-2a9d4515 {
0% {
    transform: rotateY(0);
}
100% {
    transform: rotateY(180deg);
}
}

/* 聊天消息区 */
.chat-container[data-v-2a9d4515] {
  position: fixed;
  bottom: 50px;
  left: 0;
  width: 100%;
  max-height: 38%;
  overflow-y: auto;
  font-size: 14px;
  display: flex;
  flex-direction: column-reverse;
}

/* WA弹窗 */
.wa-container[data-v-2a9d4515] {
  width: 50vw;
  margin: 5px auto;
  background-color: rgba(0, 0, 0, 0.6);
  position: fixed;
  bottom: 70dvh;
  left: 25vw;
  border-radius: 10px;
  padding: 30px 10px 10px;
  transition: all 0.2s linear;
  transform: scale(0);
}
.wa-container.show[data-v-2a9d4515] {
  transform: scale(1);
}
.wa-container .wa-content[data-v-2a9d4515] {
  display: flex;
  justify-content: space-between;
}
.wa-container .wa-button[data-v-2a9d4515] {
  display: flex;
  justify-content: center;
  padding: 8px 0;
  line-height: 100%;
  color: #fff;
}
.icon img[data-v-2a9d4515] {
  width: 25px;
  height: 25px;
}

/* 离开按钮 */
.exit-btn[data-v-2a9d4515] {
  position: absolute;
  top: 0px;
  right: 5px;
  font-size: 20px;
  cursor: pointer;
  color: #ffffff;
  z-index: 999999;
}
.shopify-link[data-v-2a9d4515] {
  display: flex;
  align-items: center;
  color: #fff;
  background-color: rgba(11, 11, 12, 0.4);
  border-radius: 10px;
  width: 65%;
}
.shopify-link a[data-v-2a9d4515] {
  color: #ffffff;
}
.wa_text[data-v-2a9d4515] {
  position: absolute;
  top: -40px;
  right: 0;
  line-height: 30px;
  padding: 0 10px;
  font-size: 14px;
  border-radius: 10px;
  color: #fff;
  background-color: #40c351;
}
.wa_text[data-v-2a9d4515]::after {
  content: "";
  position: absolute;
  height: 0;
  width: 0;
  border-top: 10px solid #40c351;
  border-bottom: 10px solid transparent;
  border-right: 10px solid transparent;
  border-left: 10px solid transparent;
  top: 26px;
  right: 10px;
}
video[data-v-2a9d4515]:fullscreen {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 100vh;
}
.video-tips[data-v-2a9d4515] {
  width: 100%;
  height: 100dvh;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}
.video-tips img[data-v-2a9d4515] {
  width: 30vw;
  height: 30vw;
}
.video-tips p[data-v-2a9d4515] {
  width: 50vw;
}
.shoppingGuide[data-v-2a9d4515] {
  padding: 12px;
  width: 80%;
}
.shoppingGuide .guide-msg[data-v-2a9d4515] {
  display: inline-block;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 5px 10px;
}
.shoppingGuide .guide-msg .host[data-v-2a9d4515] {
  color: #ffffff;
  background-color: #9419ea;
  border-radius: 3px;
  padding: 0 5px;
  margin-right: 5px;
}

/* 全局样式 */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 20px;
  border-radius: 5px;
  color: white;
  font-weight: 600;
  z-index: 1000;
  animation: slideIn 0.3s ease;
}

.notification.success {
  background-color: #42b883;
}

.notification.error {
  background-color: #e74c3c;
}

.notification.info {
  background-color: #1877f2;
}

.notification.warning {
  background-color: #f39c12;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 自定义滚动条 */
.chat-messages::-webkit-scrollbar {
  width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* 响应式优化 */
@media (max-width: 480px) {
  .container {
    padding: 5px;
  }
  
  .card {
    padding: 15px;
  }
  
  .header {
    padding: 15px 0;
  }
  
  .header h1 {
    font-size: 1.8em;
  }
  
  .header p {
    font-size: 1em;
  }
}

#mobile-fullscreen{
  position: fixed;
  inset: 0;
  background:#000;
  height: 100dvh;                 /* 新浏览器：随地址栏收缩变化 */
  height: -webkit-fill-available; /* iOS 兜底 */
  padding: env(safe-area-inset-top) env(safe-area-inset-right)
           env(safe-area-inset-bottom) env(safe-area-inset-left);
}

/* 基础：页面可铺满 */
html, body, #app { height: 100dvh;; margin: 0;  }
#mobile-fullscreen{
  position:fixed; inset:0;
  height:100dvh;                 /* 新浏览器：随地址栏收缩 */
  height:-webkit-fill-available;  /* iOS 兜底 */
  padding:env(safe-area-inset-top) env(safe-area-inset-right)
          env(safe-area-inset-bottom) env(safe-area-inset-left);
  background:#000;
}
.tencent-webrtc-player video { aspect-ratio:auto !important; }
/* 关键：强制 TCPlayer 内部 video 充满并裁剪 —— 用 !important 提高优先级 */
#mobile-fullscreen .vjs-player,
#mobile-fullscreen .tencent-webrtc-player,
#mobile-fullscreen .vjs-tech,
#mobile-fullscreen video{
  width:100% !important;
  height:100% !important;
}

#mobile-fullscreen .vjs-tech,
#mobile-fullscreen video{
  -o-object-fit: cover !important;
     object-fit: cover !important;          /* ✅ 铺满并允许裁剪 */
  -o-object-position: center center !important;
     object-position: center center !important;
  background:#000;
}
