/* 视频房底部成员与更多图标对齐参考样式。 */
#datingVideoRoomStep .room-controls>button.room-members,#datingVideoRoomStep .room-controls>button.room-chat-more{font-size:0!important;color:transparent!important}
#datingVideoRoomStep .room-controls>button.room-members:before{content:'';display:block;width:19px;height:19px;background:radial-gradient(circle at 28% 28%,#d9dbe1 0 3.5px,transparent 4px),radial-gradient(circle at 72% 28%,#d9dbe1 0 3.5px,transparent 4px),radial-gradient(circle at 28% 72%,#d9dbe1 0 3.5px,transparent 4px),radial-gradient(circle at 72% 72%,#d9dbe1 0 3.5px,transparent 4px);filter:drop-shadow(0 1px 1px #04010b)}
#datingVideoRoomStep .room-controls>button.room-chat-more:before{content:'•••';display:grid;place-items:center;width:22px;height:17px;border-radius:11px;background:#d9dbe1;color:#35254d;font:900 10px/1 Arial;letter-spacing:1px;box-shadow:0 1px 2px #04010b}
#datingVideoRoomStep .room-controls>button.room-chat-more:after{content:'';position:absolute;right:8px;bottom:9px;width:6px;height:6px;background:#d9dbe1;clip-path:polygon(0 0,100% 0,100% 100%)}

/* 四宫格：当前主题色的更多操作弹框。 */
#datingVideoRoomStep .room-more-menu{position:absolute;z-index:80;inset:0;display:none;align-items:flex-end;background:#0802188c}
#datingVideoRoomStep .room-more-menu.open{display:flex}
#datingVideoRoomStep .room-more-menu-panel{width:100%;min-height:184px;padding:16px 24px 26px;border:1px solid #9875d8a8;border-bottom:0;border-radius:22px 22px 0 0;background:linear-gradient(155deg,#332358 0%,#1b1040 62%,#130a31 100%);box-shadow:0 -12px 34px #06001099;color:#f9f6ff}
#datingVideoRoomStep .room-more-menu-panel header{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}
#datingVideoRoomStep .room-more-menu-panel h2{margin:0;font-size:20px;line-height:1;font-weight:800;letter-spacing:.4px}
#datingVideoRoomStep .room-more-menu-close{display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:50%;background:#ffffff16;color:#e8dffd;font-size:25px;line-height:1}
#datingVideoRoomStep .room-more-menu-options{display:flex;gap:31px;padding:0 2px}
#datingVideoRoomStep .room-more-menu-options button{display:flex;flex-direction:column;align-items:center;gap:9px;min-width:72px;padding:0;border:0;background:transparent;color:#ede9fb;font-size:14px}
#datingVideoRoomStep .room-more-menu-options i{display:grid;place-items:center;width:64px;height:64px;border:1px solid #d9c9ff35;border-radius:50%;background:radial-gradient(circle at 33% 27%,#bd9cff,#744cc2 60%,#402471);box-shadow:inset 0 1px 3px #fff5,0 5px 12px #07001999;color:#fff;font-style:normal;font-size:31px;font-weight:900}
#datingVideoRoomStep .room-more-menu-options button:nth-child(2) i{font-size:35px;transform:none}

/* 底部消息：双 Tab 消息中心。 */
#datingVideoRoomStep .room-message-panel{position:absolute;z-index:82;inset:0;display:none;align-items:flex-end;background:#08021894}
#datingVideoRoomStep .room-message-panel.open{display:flex}
#datingVideoRoomStep .room-message-panel-card{width:100%;min-height:62%;max-height:76%;overflow:hidden;border:1px solid #9775d6a8;border-bottom:0;border-radius:24px 24px 0 0;background:linear-gradient(160deg,#35245d,#17103a 44%,#10082a);box-shadow:0 -12px 36px #050010aa;color:#f9f6ff}
#datingVideoRoomStep .room-message-panel-card>header{display:flex;align-items:center;justify-content:space-between;padding:17px 19px 12px;border-bottom:1px solid #d9ceff1a}
#datingVideoRoomStep .room-message-panel-card nav{display:flex;gap:30px}
#datingVideoRoomStep .room-message-panel-card nav button{position:relative;padding:0 3px 9px;border:0;background:transparent;color:#bdb3d7;font-size:22px;font-weight:800}
#datingVideoRoomStep .room-message-panel-card nav button.active{color:#fff}
#datingVideoRoomStep .room-message-panel-card nav button.active:after{content:'';position:absolute;bottom:0;left:50%;width:30px;height:4px;border-radius:8px;background:#c693ff;box-shadow:0 0 8px #bd75ff;transform:translateX(-50%)}
#datingVideoRoomStep .room-message-close{width:30px;height:30px;padding:0;border:0;border-radius:50%;background:#ffffff14;color:#e8ddff;font-size:25px;line-height:1}
#datingVideoRoomStep .room-message-tab{display:none;overflow:auto;max-height:calc(76vh - 68px)}
#datingVideoRoomStep .room-message-tab.active{display:block}
#datingVideoRoomStep .message-quick-list{display:flex;gap:14px;overflow:hidden;padding:18px 18px 15px;border-bottom:1px solid #d9ceff18}
#datingVideoRoomStep .message-quick-list button{position:relative;display:flex;flex:none;flex-direction:column;align-items:center;gap:6px;width:77px;padding:0;border:0;background:transparent;color:#eeeaff;font-size:11px;white-space:nowrap}
#datingVideoRoomStep .quick-avatar,#datingVideoRoomStep .message-avatar,#datingVideoRoomStep .footprint-avatar{display:block;border:2px solid #ce83ff;border-radius:50%;background:linear-gradient(140deg,#e6c4dc,#5b3a78 58%,#171028);box-shadow:0 0 0 2px #704097,0 2px 8px #060013}
#datingVideoRoomStep .quick-avatar{width:49px;height:49px}.q2{background:linear-gradient(140deg,#b4ddff,#48305c 61%,#eaa0ca)!important}.q3{background:linear-gradient(140deg,#ffbd8f,#376187 61%,#20102e)!important}
#datingVideoRoomStep .message-quick-list em{position:absolute;top:43px;padding:2px 6px;border-radius:9px;background:#a854cf;color:#fff;font-size:9px;font-style:normal}
#datingVideoRoomStep .message-list button,#datingVideoRoomStep .footprint-list button{display:flex;align-items:center;gap:13px;width:100%;min-height:72px;padding:12px 19px;border:0;border-bottom:1px solid #d9ceff18;background:transparent;color:#fff;text-align:left}
#datingVideoRoomStep .message-list button>span,#datingVideoRoomStep .footprint-list button>span{display:grid;gap:4px;flex:1;min-width:0}
#datingVideoRoomStep .message-list b,#datingVideoRoomStep .footprint-list b{font-size:17px;line-height:1.1;font-weight:700}
#datingVideoRoomStep .message-list small,#datingVideoRoomStep .footprint-list small{overflow:hidden;color:#bfb5d8;font-size:13px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}
#datingVideoRoomStep .message-list button>em{align-self:flex-start;color:#aaa0c5;font-size:11px;font-style:normal}
#datingVideoRoomStep .message-symbol{display:grid;place-items:center;width:45px;height:45px;border-radius:50%;color:#fff;font-size:27px;font-style:normal}.nearby{background:#8565c8}.visitor{background:#4fbfb1}.notice{background:#c785bc}
#datingVideoRoomStep .message-avatar{width:44px;height:44px;border-color:#7b5ba6;background:linear-gradient(145deg,#191322,#867476 58%,#4b2f65)}
#datingVideoRoomStep .footprint-list{padding-top:6px}
#datingVideoRoomStep .footprint-list button{min-height:93px;padding:14px 20px}
#datingVideoRoomStep .footprint-avatar{width:65px;height:65px;border-width:3px;border-color:#e38de2;background:linear-gradient(145deg,#e8bdca,#7a4179 58%,#231136)}.f2{border-color:#ffd375!important;background:linear-gradient(145deg,#f5db7e,#b05c94 58%,#271032)!important}
#datingVideoRoomStep .footprint-list button>em{color:#ea78bd;font-size:16px;font-weight:800;font-style:normal}

/* 头像使用项目内现有的真人头像精灵图，覆盖通用 i 元素样式。 */
#datingVideoRoomStep .room-message-panel .quick-avatar,#datingVideoRoomStep .room-message-panel .message-avatar,#datingVideoRoomStep .room-message-panel .footprint-avatar{box-sizing:border-box;background-image:url('assets/matchmaker-avatars-v1.png')!important;background-repeat:no-repeat!important;background-size:200% 300%!important;background-color:#3c235c!important}
#datingVideoRoomStep .room-message-panel .quick-avatar.q1{background-position:0 0!important}
#datingVideoRoomStep .room-message-panel .quick-avatar.q2{background-position:100% 50%!important}
#datingVideoRoomStep .room-message-panel .quick-avatar.q3{background-position:0 100%!important}
#datingVideoRoomStep .room-message-panel .message-avatar{background-position:100% 0!important}
#datingVideoRoomStep .room-message-panel .footprint-avatar.f1{background-position:0 50%!important}
#datingVideoRoomStep .room-message-panel .footprint-avatar.f2{background-position:100% 100%!important}

/* 底部礼物面板与换人选择。 */
#datingVideoRoomStep .room-gift-panel{position:absolute;z-index:84;inset:0;display:none;align-items:flex-end;background:#08021894}
#datingVideoRoomStep .room-gift-panel.open{display:flex}
#datingVideoRoomStep .room-gift-panel-card{position:relative;width:100%;min-height:67%;overflow:hidden;border:1px solid #8362bf9c;border-bottom:0;border-radius:21px 21px 0 0;background:linear-gradient(155deg,#292046,#16142c 47%,#100d23);box-shadow:0 -12px 36px #050010ba;color:#f6f3ff}
#datingVideoRoomStep .room-gift-panel-card>header{display:flex;align-items:center;gap:9px;height:45px;padding:0 13px;border-bottom:1px solid #ffffff12;color:#d4cee8;font-size:13px}
#datingVideoRoomStep .gift-recipient{display:flex;align-items:center;gap:6px;min-width:0;padding:0;border:0;background:transparent;color:#fff}.gift-recipient i{display:block;width:26px;height:26px;border-radius:50%;background:url('assets/matchmaker-avatars-v1.png') 0 0/200% 300%;border:1px solid #e5bfff}.gift-recipient b{font-size:13px}.gift-recipient em{color:#f1cd76;font-size:12px;font-style:normal}
#datingVideoRoomStep .room-gift-close{margin-left:auto;width:28px;height:28px;padding:0;border:0;border-radius:50%;background:#ffffff14;color:#e5ddf8;font-size:23px;line-height:1}
#datingVideoRoomStep .gift-tabs{display:flex;gap:19px;padding:13px 16px 7px;overflow:hidden;border-bottom:1px solid #ffffff0d}.gift-tabs button{position:relative;flex:none;padding:0 0 8px;border:0;background:transparent;color:#a69dbd;font-size:14px;font-weight:750}.gift-tabs button.active{color:#f6d878}.gift-tabs button.active:after{content:'';position:absolute;bottom:0;left:50%;width:14px;height:3px;border-radius:4px;background:#f5cf55;transform:translateX(-50%)}
#datingVideoRoomStep .gift-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px 6px;padding:16px 12px 72px;max-height:calc(67vh - 104px);overflow:auto}.gift-grid button{display:grid;justify-items:center;gap:3px;min-width:0;padding:0;border:0;background:transparent;color:#eeeaf7}.gift-grid i{display:grid;place-items:center;width:46px;height:46px;border-radius:13px;background:radial-gradient(circle at 35% 28%,#ffffff22,#8d60bd28);font-size:34px;font-style:normal;filter:drop-shadow(0 3px 4px #02000a)}.gift-grid b{overflow:hidden;width:100%;font-size:11px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.gift-grid small{color:#9188a5;font-size:10px}
#datingVideoRoomStep .room-gift-panel-card>footer{position:absolute;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:space-between;height:57px;padding:0 14px;border-top:1px solid #ffffff14;background:#17112fef;color:#bcb2d3;font-size:12px}.gift-recharge{height:34px;padding:0 16px;border:0;border-radius:10px;background:linear-gradient(120deg,#e7bc62,#f1d67b);color:#352042;font-size:15px;font-weight:850}
#datingVideoRoomStep .gift-recipient-sheet{position:absolute;right:0;bottom:0;left:0;z-index:2;display:none;padding:14px 14px 23px;border:1px solid #a481db;border-bottom:0;border-radius:18px 18px 0 0;background:linear-gradient(155deg,#3b2b64,#1e1743);box-shadow:0 -8px 24px #060011d0}#datingVideoRoomStep .room-gift-panel.choosing-recipient .gift-recipient-sheet{display:block}.gift-recipient-sheet header{display:flex;justify-content:space-between;margin-bottom:14px;color:#fff;font-size:16px;font-weight:800}.gift-recipient-done{border:0;background:transparent;color:#e7c875;font-size:14px}.gift-recipient-sheet>div{display:flex;gap:10px}.gift-recipient-sheet [data-recipient]{display:grid;justify-items:center;gap:5px;flex:1;min-width:0;padding:10px 4px;border:1.5px solid transparent;border-radius:12px;background:#ffffff0e;color:#fff}.gift-recipient-sheet [data-recipient].selected{border-color:#e6c65f;background:#f6d66a14}.gift-person{display:block;width:43px;height:43px;border:2px solid #e5c4ff;border-radius:50%;background:url('assets/matchmaker-avatars-v1.png') 0 0/200% 300%}.gift-person.p2{background-position:100% 50%}.gift-person.p3{background-position:0 100%}.gift-recipient-sheet b{overflow:hidden;width:100%;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.gift-recipient-sheet small{padding:2px 5px;border-radius:7px;background:#3c9bd5;color:#fff;font-size:9px}.gift-recipient-sheet [data-recipient]:first-child small{background:#e45c85}.gift-recipient-sheet [data-recipient]:last-child small{background:#8879a9}
#datingVideoRoomStep .gift-select-all{display:flex;align-items:center;gap:5px;color:#d9d0ed;font-size:13px;font-weight:600}#datingVideoRoomStep .gift-select-all input{appearance:none;width:16px;height:16px;margin:0;border:1px solid #b9acd4;border-radius:50%;background:#ffffff10}#datingVideoRoomStep .gift-select-all input:checked{border-color:#efd16f;background:radial-gradient(circle,#efd16f 0 4px,transparent 4.5px)}
