#freshVoiceBar{
  flex:0 0 42px !important;
  height:42px !important;
  width:100% !important;
  background-color:var(--chat-template, var(--site-body-bg, #345c73)) !important;
  background-image:none !important;
  border-bottom:1px solid var(--chat-template, var(--site-body-bg, #345c73)) !important;
  display:flex !important;
  align-items:center !important;
  gap:2px !important;
  padding:1px 3px !important;
  box-sizing:border-box !important;
  direction:ltr !important;
  z-index:2 !important;
}
#freshVoiceBar .fresh-speaker,#freshVoiceBar .fresh-mic-seat{
  width:39px !important;
  height:39px !important;
  min-width:39px !important;
  margin:0 !important;
  padding:0 !important;
  border:1px solid #082a37 !important;
  border-radius:3px !important;
  background:#2f6076 !important;
  color:#000 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  position:relative !important;
  overflow:hidden !important;
  cursor:pointer !important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.12) !important;
}
#freshVoiceBar .fresh-speaker{
  background:#2ec265 !important;
}
#freshVoiceBar .fresh-speaker.muted{
  background:#d94a4a !important;
}
#freshVoiceBar .fresh-speaker i,#freshVoiceBar .fresh-mic-seat i{
  font-size:27px !important;
  color:#000 !important;
  line-height:1 !important;
  z-index:1 !important;
}
#freshVoiceBar .fresh-mic-seat.active,#freshVoiceBar .fresh-mic-seat.recording{
  background:#23bd61 !important;
}
#freshVoiceBar .fresh-mic-seat.busy:not(.active){
  background:#47798c !important;
}
#freshVoiceBar .fresh-mic-seat.disabled{
  opacity:.5 !important;
}
#freshVoiceBar .fresh-seat-avatar{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  opacity:.9 !important;
  z-index:0 !important;
}
#freshVoiceBar .fresh-seat-label{
  position:absolute !important;
  left:0 !important;
  right:0 !important;
  bottom:0 !important;
  background:rgba(0,0,0,.62) !important;
  color:#fff !important;
  font-size:8px !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  direction:ltr !important;
  z-index:2 !important;
}
.fresh-voice-toast{
  position:absolute !important;
  top:48px !important;
  left:8px !important;
  background:#111 !important;
  color:#fff !important;
  border:1px solid #555 !important;
  border-radius:4px !important;
  padding:6px 10px !important;
  z-index:9999 !important;
  font-weight:bold !important;
}
#tlogins #freshVoiceBar,#freshVoiceBar:empty{
  display:none !important;
}
#freshVoiceBar .fresh-mic-seat{
  background-color:var(--fresh-mic-bg-color,#2f6076) !important;
  background-image:var(--fresh-mic-bg-image,none) !important;
  background-size:cover !important;
  background-repeat:no-repeat !important;
  background-position:center !important;
}
#freshVoiceBar .fresh-mic-seat.active,#freshVoiceBar .fresh-mic-seat.recording,#freshVoiceBar .fresh-mic-seat.busy:not(.active),#freshVoiceBar .fresh-mic-seat.disabled{
  background-color:var(--fresh-mic-bg-color,#2f6076) !important;
  background-image:var(--fresh-mic-bg-image,none) !important;
}
#freshVoiceBar .fresh-mic-seat.active,#freshVoiceBar .fresh-mic-seat.recording{
  box-shadow:0 0 0 2px #23bd61 inset, 0 0 6px rgba(35,189,97,.7) !important;
}
#freshVoiceBar .fresh-mic-seat.busy:not(.active){
  box-shadow:0 0 0 2px #d9534f inset !important;
}
.filter-panel{width:330px;max-width:96vw;margin:0 0 0 auto;background:#fff;color:#111;font:bold 12px "Times New Roman",Times,serif}
.filter-tools{padding:4px 6px;border-left:1px solid #ddd}
.filter-input{width:160px;height:23px;border:1px solid #555;margin-bottom:6px;padding:0 5px;display:block}
.filter-btn{width:165px;height:32px;display:block;margin:6px 0;border:0;color:#fff;font:bold 12px "Times New Roman",Times,serif;cursor:pointer}
.filter-btn.green{background:#62bd55}
.filter-btn.red{background:#df4b4b}
.filter-btn.cyan{background:#39bfc0}
.filter-btn.blue{background:#2f79b7}
.filter-btn.dark{background:#245d79}
.filter-section-title{height:25px;line-height:25px;font:bold 12px "Times New Roman",Times,serif;color:#111;margin-top:5px}
.filter-hit{width:220px;min-height:48px;border:1px solid #111;margin:0 0 4px auto;background:#f8f8f8;padding:4px;position:relative;direction:ltr;text-align:left}
.filter-hit-title{background:#285b78;color:#fff;padding:4px 12px;display:inline-block;margin-bottom:2px}
.filter-x{background:#e44d55!important;color:#fff!important;border:0!important;width:28px!important;height:28px!important;line-height:24px!important;font:bold 20px "Times New Roman",Times,serif!important;cursor:pointer!important;text-align:center!important}
.filter-hit .filter-x{position:absolute;right:-32px;top:-1px}
.filter-mini-table{width:300px;margin:4px 0 8px auto}
.filter-mini-title{background:#2b5f80;color:#fff;height:26px;line-height:26px;text-align:center;width:110px;margin-right:auto;font:bold 12px "Times New Roman",Times,serif}
.filter-mini-table table,.filter-log-table table{border-collapse:collapse;width:100%;background:#fff}
.filter-mini-table th,.filter-mini-table td,.filter-log-table th,.filter-log-table td{border:1px solid #111;height:28px;padding:3px;font:bold 12px "Times New Roman",Times,serif;vertical-align:middle}
.filter-mini-table th,.filter-log-table th{background:#4d86dc;color:#fff;text-align:center}
.filter-kind{width:105px;text-align:center}
.filter-word{text-align:center}
.filter-del{width:30px;text-align:center}
.filter-log-table{width:100%;margin-top:10px;overflow:auto}
#filters .filter-panel{width:100%!important;max-width:1280px!important;margin:0 auto!important;background:transparent!important;font:13px "Times New Roman",Times,serif!important;color:#111!important}
#filters .filter-header{background:linear-gradient(90deg,#235a78,#2c83c7)!important;color:#fff!important;border-radius:10px!important;padding:12px 16px!important;margin-bottom:12px!important;box-shadow:0 2px 8px rgba(0,0,0,.08)!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}
#filters .filter-header h3{margin:0!important;font:bold 18px "Times New Roman",Times,serif!important;color:#fff!important}
#filters .filter-header small{opacity:.92!important;font-size:12px!important}
#filters .filter-tools{background:#fff!important;border:1px solid #d8e1ea!important;border-radius:10px!important;padding:12px!important;margin-bottom:12px!important;display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;box-shadow:0 1px 4px rgba(0,0,0,.05)!important}
#filters .filter-input{width:260px!important;max-width:100%!important;height:38px!important;border:1px solid #c6d4e1!important;border-radius:8px!important;margin:0!important;padding:0 12px!important;display:block!important;font:13px "Times New Roman",Times,serif!important;background:#fff!important;color:#111!important;outline:none!important}
#filters .filter-input:focus{border-color:#2c83c7!important;box-shadow:0 0 0 3px rgba(44,131,199,.14)!important}
#filters .filter-btn{width:auto!important;min-width:135px!important;height:38px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;margin:0!important;border:0!important;border-radius:8px!important;color:#fff!important;font:bold 12px "Times New Roman",Times,serif!important;cursor:pointer!important;padding:0 12px!important;box-shadow:0 2px 5px rgba(0,0,0,.12)!important;transition:.15s ease!important;white-space:nowrap!important}
#filters .filter-btn:hover{transform:translateY(-1px)!important;filter:brightness(1.05)!important}
#filters .filter-btn.green{background:#39b36b!important}
#filters .filter-btn.red{background:#d9534f!important}
#filters .filter-btn.cyan{background:#27a8b8!important}
#filters .filter-btn.blue{background:#2c83c7!important}
#filters .filter-btn.dark{background:#235a78!important}
#filters .filter-grid{display:grid!important;grid-template-columns:repeat(3,minmax(240px,1fr))!important;gap:12px!important;margin-bottom:12px!important}
#filters .filter-card,#filters .filter-latest,#filters .filter-log-table{background:#fff!important;border:1px solid #d8e1ea!important;border-radius:10px!important;box-shadow:0 1px 4px rgba(0,0,0,.05)!important;overflow:hidden!important;margin:0!important}
#filters .filter-section-title,#filters .filter-mini-title{height:auto!important;line-height:1.3!important;background:#235a78!important;color:#fff!important;margin:0!important;padding:10px 12px!important;text-align:right!important;width:auto!important;font:bold 13px "Times New Roman",Times,serif!important;border:0!important}
#filters .filter-mini-table{width:100%!important;margin:0!important;background:#fff!important}
#filters .filter-mini-table table,#filters .filter-log-table table{border-collapse:collapse!important;width:100%!important;background:#fff!important;table-layout:auto!important}
#filters .filter-mini-table th,#filters .filter-mini-table td,#filters .filter-log-table th,#filters .filter-log-table td{border:1px solid #e3e9ef!important;height:34px!important;padding:7px!important;font:13px "Times New Roman",Times,serif!important;vertical-align:middle!important;text-align:center!important;color:#111!important;background:#fff!important}
#filters .filter-mini-table th,#filters .filter-log-table th{background:#2c83c7!important;color:#fff!important;font:bold 13px "Times New Roman",Times,serif!important;position:static!important}
#filters .filter-kind{width:120px!important;text-align:center!important;color:#235a78!important;font-weight:bold!important}
.filter-word{text-align:center!important}
.filter-del{width:46px!important;text-align:center!important}
#filters .filter-x{background:#d9534f!important;color:#fff!important;border:0!important;width:28px!important;height:28px!important;line-height:28px!important;border-radius:7px!important;font:bold 18px "Times New Roman",Times,serif!important;cursor:pointer!important;text-align:center!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
#filters .filter-x:hover{filter:brightness(.95)!important;transform:scale(1.04)!important}
#filters .filter-latest{padding-bottom:10px!important;margin-bottom:12px!important}
#filters .filter-hit{width:auto!important;min-height:auto!important;border:1px solid #e3e9ef!important;border-radius:8px!important;margin:8px 10px!important;background:#fbfcfe!important;padding:8px 38px 8px 10px!important;position:relative!important;direction:rtl!important;text-align:right!important;color:#111!important}
#filters .filter-hit-title{background:#e9f3ff!important;color:#235a78!important;border:1px solid #c5d9ef!important;border-radius:6px!important;padding:3px 8px!important;display:inline-block!important;margin-bottom:4px!important;font-weight:bold!important}
#filters .filter-hit .filter-x{position:absolute!important;right:8px!important;top:8px!important}
#filters .filter-log-table{width:100%!important;margin-top:12px!important;overflow:auto!important}
#filters .filter-log-table table{min-width:780px!important}
#wallStories{
  flex:0 0 auto !important;
  width:100% !important;
  padding:6px 6px 4px !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  white-space:nowrap !important;
  background:#f8f8fb !important;
  border-bottom:1px solid #d8dce4 !important;
  box-sizing:border-box !important;
}
#wallStories .story-bubble{display:inline-flex !important; flex-direction:column !important; align-items:center !important; width:62px !important; margin:0 4px !important; vertical-align:top !important;}
#wallStories .story-thumb{width:52px !important; height:52px !important; border-radius:50% !important; background:#ddd center/cover no-repeat !important; border:2px solid #2a7fd1 !important; box-shadow:0 0 0 2px #fff inset !important;}
#wallStories .story-owner-ring{position:relative !important;width:58px !important;height:58px !important;display:flex !important;align-items:center !important;justify-content:center !important;border-radius:50% !important;isolation:isolate !important;}
#wallStories .story-owner-ring:before{content:"" !important;position:absolute !important;inset:0 !important;border-radius:50% !important;background:conic-gradient(from 0deg,#00eaff,#7857ff,#ff3fb4,#ffd84a,#46ff9a,#00eaff) !important;animation:storyMagicSpin 2.1s linear infinite !important;box-shadow:0 0 7px rgba(67,184,255,.85),0 0 12px rgba(255,63,180,.4) !important;z-index:0 !important;}
#wallStories .story-owner-ring:after{content:"" !important;position:absolute !important;inset:3px !important;border-radius:50% !important;background:#fff !important;z-index:1 !important;}
#wallStories .story-owner-bubble .story-thumb{position:relative !important;width:50px !important;height:50px !important;border:0 !important;box-shadow:none !important;z-index:2 !important;overflow:hidden !important;background-color:#ddd !important;background-image:var(--story-owner-pic) !important;background-position:center !important;background-size:cover !important;background-repeat:no-repeat !important;}
#wallStories .story-owner-bubble .story-name{display:none !important;}
#wallStories .story-owner-bubble .story-thumb > img.story-owner-photo{
 position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
 min-width:0!important;max-width:none!important;max-height:none!important;
 margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;
 display:block!important;object-fit:cover!important;object-position:center!important;z-index:1!important;
}
#wallStories .story-owner-label{position:absolute !important;left:2px !important;right:2px !important;bottom:2px !important;z-index:4 !important;display:block !important;height:15px !important;padding:0 2px !important;border-radius:8px !important;background:rgba(0,0,0,.68) !important;color:#fff !important;font:700 9px/15px "Times New Roman",Times,serif !important;text-align:center !important;direction:rtl !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;box-sizing:border-box !important;}
#wallStories .story-name{font-size:11px !important; line-height:14px !important; color:#333 !important; margin-top:4px !important; max-width:60px !important; overflow:hidden !important; text-overflow:ellipsis !important; white-space:nowrap !important; text-align:center !important;}
#wallStories .add-story .story-thumb{display:flex !important; align-items:center !important; justify-content:center !important; background:#11345d !important; color:#fff !important; border-color:#11345d !important;}
#wallStories .add-story .story-thumb span{font-size:20px !important;}
#wall .wall-input-box .story-upload-btn{
  width:32px !important;
  min-width:32px !important;
  height:32px !important;
  flex:0 0 32px !important;
  border-radius:8px !important;
}
#freshVoiceBar .fresh-mic-seat{
  background-repeat:no-repeat !important;
  background-position:center !important;
}
.dpnl #wallStories{
  grid-row:1 !important;
  grid-column:1 !important;
  position:relative !important;
  float:none !important;
  width:100% !important;
  max-width:100% !important;
  min-height:78px !important;
  max-height:96px !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  white-space:nowrap !important;
  box-sizing:border-box !important;
  z-index:2 !important;
}
.dpnl #wall .story-viewer{
  position:absolute !important;
  inset:0 !important;
  z-index:50 !important;
  background:rgba(7,18,36,.92) !important;
  padding:10px !important;
  box-sizing:border-box !important;
}
.dpnl #wall .story-viewer[style*="display:none"],.dpnl #wall .story-viewer[style*="display: none"]{
  display:none !important;
}
.dpnl #wall .story-viewer-inner{
  width:100% !important;
  height:100% !important;
  display:grid !important;
  grid-template-rows:auto 1fr auto !important;
  grid-template-columns:1fr !important;
  gap:8px !important;
  overflow:hidden !important;
}
.dpnl #wall .story-viewer-side,.dpnl #wall .story-viewer-tools{
  position:relative !important;
  z-index:2 !important;
}
.dpnl #wall .story-media-wrap{
  position:relative !important;
  min-height:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:hidden !important;
}
.dpnl #wall .story-main-media{
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
  border-radius:10px !important;
}
.dpnl #wall .story-caption{
  position:absolute !important;
  left:8px !important;
  right:8px !important;
  bottom:8px !important;
  color:#fff !important;
  text-align:center !important;
  text-shadow:0 1px 4px rgba(0,0,0,.75) !important;
}
#wall .wall-comments-panel{
  position:fixed !important;
  top:54px !important;
  left:auto !important;
  width:320px !important;
  max-width:calc(100vw - 36px) !important;
  height:430px !important;
  max-height:calc(100vh - 80px) !important;
  z-index:100050 !important;
  display:none;
  flex-direction:column !important;
  background:#f2f2f2 !important;
  border:1px solid #1b2846 !important;
  box-sizing:border-box !important;
  box-shadow:0 10px 35px rgba(0,0,0,.25) !important;
  overflow:hidden !important;
}
#wall .wall-comments-head{
  width:100% !important;
  min-height:32px !important;
  padding:4px 6px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  background:#04152f !important;
  color:#fff !important;
  border-radius:0 !important;
}
#wall .wall-comments-title{margin:0 !important;color:#fff !important;font-size:14px !important;font-weight:700 !important;}
#wall .wall-comments-close{float:none !important;margin:0 !important;padding:2px 9px !important;border-radius:10px !important;line-height:1 !important;font-size:24px !important;font-weight:700 !important;color:#fff !important;background:#8f5f69 !important;border:1px solid #ddd !important;cursor:pointer !important;}
#wall .wall-comments-post{
  padding:6px !important;
  border-bottom:1px solid #98a6bc !important;
  background:#fff !important;
  overflow:hidden !important;
}
#wall .wall-comments-origin{display:flex !important;align-items:flex-start !important;gap:8px !important;}
#wall .wall-comments-origin-pic{width:46px !important;height:46px !important;border-radius:2px !important;flex:0 0 46px !important;object-fit:cover !important;background:#ddd !important;display:block !important;border:1px solid #d0d0d0 !important;}
#wall .wall-comments-origin-topic{font-weight:700 !important;color:#111 !important;line-height:1.4 !important;}
#wall .wall-comments-origin-msg{color:#1d4ed8 !important;line-height:1.55 !important;word-break:break-word !important;margin-top:2px !important;}
#wall .wall-comments-list{
  flex:1 1 auto !important;
  overflow:auto !important;
  background:#efefef !important;
  padding:0 !important;
}
#wall .wall-comments-empty{padding:18px 10px !important;text-align:center !important;color:#666 !important;}
#wall .wall-comments-sendbox{
  display:flex !important;
  align-items:center !important;
  gap:4px !important;
  padding:4px !important;
  border-top:1px solid #c8cede !important;
  background:#fff !important;
}
#wall .wall-comments-input{flex:1 1 auto !important;resize:none !important;height:32px !important;min-height:32px !important;max-height:72px !important;background:#fff !important;border-radius:0 !important;}
#wall .wall-comments-send{flex:0 0 auto !important;min-width:34px !important;height:32px !important;padding:4px 9px !important;}
#wallStories .story-thumb{background-size:cover !important; background-position:center !important; background-repeat:no-repeat !important;}
#storyViewer .story-main-image{object-fit:contain !important; background:#000 !important;}
#wall .story-viewer:not(.can-video) .story-main-image{display:block !important;}
#wall .story-viewer.can-video .story-main-video{display:block !important;}
#wall .story-viewer.can-video .story-main-image{display:none !important;}
#wall .wall-comments-head{
  background-color:var(--site-button-bg,#438ac7) !important;
  background-image:none !important;
}
#wallStories .story-video-bubble .story-thumb{
  color:#fff !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}
#wallStories .story-video-mark{
  width:26px !important;
  height:26px !important;
  border-radius:50% !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:rgba(255,255,255,.18) !important;
  color:#fff !important;
  font-size:12px !important;
  position:absolute !important;
  left:50% !important;
  top:45% !important;
  transform:translate(-50%,-50%) !important;
  z-index:3 !important;
  box-shadow:0 1px 5px rgba(0,0,0,.75) !important;
}
#wall .story-download-btn{display:inline-flex !important;}
#wall .story-viewer.can-video .story-main-video{
  display:block !important;
  width:auto !important;
  max-width:min(100%, 980px) !important;
  max-height:100% !important;
  object-fit:contain !important;
  border-radius:18px !important;
  background:#000 !important;
}
#wall .story-viewer:not(.can-video) .story-main-image{display:block !important;}
#wall .story-viewer.can-video .story-main-image{display:none !important;}
.story-upload-progress{background:#eef5ff !important;}
#wall .story-viewer .story-viewer-tools,.dpnl #wall .story-viewer .story-viewer-tools{
  top:16px !important;
  right:16px !important;
  left:auto !important;
  z-index:30 !important;
  display:flex !important;
  flex-direction:row !important;
  gap:7px !important;
  align-items:center !important;
}
#wall .story-viewer .story-icon-btn,.dpnl #wall .story-viewer .story-icon-btn{
  width:36px !important;
  min-width:36px !important;
  height:36px !important;
  min-height:36px !important;
  border-radius:10px !important;
  font-size:16px !important;
  padding:0 !important;
  margin:0 !important;
  line-height:36px !important;
}
#wall .story-viewer .story-viewer-head,.dpnl #wall .story-viewer .story-viewer-head{
  top:16px !important;
  left:16px !important;
  right:150px !important;
  z-index:25 !important;
  min-height:52px !important;
  padding:0 !important;
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  overflow:hidden !important;
}
#wall .story-viewer .story-author-pic,.dpnl #wall .story-viewer .story-author-pic{
  width:48px !important;
  height:48px !important;
  flex:0 0 48px !important;
  margin:0 !important;
}
#wall .story-viewer .story-author-meta,.dpnl #wall .story-viewer .story-author-meta{
  flex:1 1 auto !important;
  min-width:0 !important;
  overflow:hidden !important;
}
#wall .story-viewer .story-author-name,#wall .story-viewer .story-author-time{
  max-width:100% !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}
#wall .story-viewer .story-media-wrap,.dpnl #wall .story-viewer .story-media-wrap{
  padding-top:86px !important;
}
.profile-image-viewer{
  position:fixed !important;
  inset:0 !important;
  z-index:1000000 !important;
  background:rgba(0,0,0,.82) !important;
  display:none;
  align-items:center !important;
  justify-content:center !important;
  padding:34px 0 !important;
  box-sizing:border-box !important;
}
.profile-image-viewer-img{
  max-width:100vw !important;
  max-height:calc(100vh - 70px) !important;
  width:auto !important;
  height:auto !important;
  object-fit:contain !important;
  display:block !important;
  box-shadow:0 0 0 1px rgba(255,255,255,.15) !important;
}
.profile-image-viewer-tools{
  position:fixed !important;
  top:10px !important;
  right:12px !important;
  z-index:1000002 !important;
  display:flex !important;
  gap:8px !important;
}
.profile-image-viewer-close,.profile-image-viewer-download{
  width:34px !important;
  height:34px !important;
  border:0 !important;
  border-radius:50% !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:rgba(255,255,255,.18) !important;
  color:#fff !important;
  text-decoration:none !important;
  cursor:pointer !important;
  font-size:16px !important;
}
.profile-image-viewer-close:hover,.profile-image-viewer-download:hover{background:rgba(255,255,255,.32) !important;}
#wall .wall-comments-panel{
  display:none !important;
  visibility:hidden !important;
  opacity:0 !important;
  width:0 !important;
  height:0 !important;
  max-height:0 !important;
  overflow:hidden !important;
}
#wallCommentsPanel .wall-comments-head{
  background: var(--final-chat-color) !important;
  background-image:none !important;
  color:#fff !important;
  border-color: var(--final-chat-color) !important;
}
#wallStories{
  background:#fff !important;
}
#wall .wall-comments-panel{
  display:none;
  visibility:visible !important;
  opacity:1 !important;
  width:320px !important;
  max-width:calc(100vw - 16px) !important;
  min-height:220px !important;
  max-height:calc(100vh - 90px) !important;
  height:auto !important;
  overflow:hidden !important;
}
#wallCommentsPanel .wall-comments-close{
  background:var(--final-chat-color) !important;
  border:1px solid rgba(255,255,255,.7) !important;
  color:#fff !important;
}
#wallCommentsPanel .wall-comments-send{
  background:var(--final-chat-color) !important;
  border-color:var(--final-chat-color) !important;
  color:#fff !important;
}
#wall .wall-comments-input{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  background:#fff !important;
  color:#111 !important;
}
#storyViewer.story-viewer,#wall #storyViewer.story-viewer,.dpnl #wall #storyViewer.story-viewer{
  position:fixed !important;
  inset:0 !important;
  width:100vw !important;
  height:100vh !important;
  z-index:999999 !important;
  background:#000 !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
  box-sizing:border-box !important;
  overflow:hidden !important;
  direction:rtl !important;
}
#storyViewer[style*="display:none"],#storyViewer[style*="display: none"]{display:none !important;}
#storyViewer .story-viewer-inner{
  position:relative !important;
  width:100% !important;
  height:100% !important;
  display:block !important;
  overflow:hidden !important;
  background:#000 !important;
}
#storyViewer .story-progress-bars{
  position:absolute !important;
  top:8px !important;
  left:8px !important;
  right:8px !important;
  height:4px !important;
  display:flex !important;
  gap:3px !important;
  z-index:50 !important;
}
#storyViewer .story-progress-seg{height:4px !important; flex:1 1 0 !important; background:rgba(255,255,255,.35) !important; border-radius:99px !important; overflow:hidden !important;}
#storyViewer .story-progress-fill{display:block !important; height:100% !important; background:#fff !important; width:0;}
#storyViewer .story-viewer-head{
  position:absolute !important;
  top:24px !important;
  left:14px !important;
  right:auto !important;
  z-index:60 !important;
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  color:#fff !important;
  min-width:160px !important;
  max-width:45vw !important;
  direction:rtl !important;
}
#storyViewer .story-author-pic{width:44px !important;height:44px !important;border-radius:50% !important;background-size:cover !important;background-position:center !important;border:1px solid rgba(255,255,255,.75) !important;flex:0 0 44px !important;}
#storyViewer .story-author-name{font-weight:700 !important;color:#fff !important;font-size:13px !important;line-height:18px !important;text-shadow:0 1px 4px #000 !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;text-align:right !important;}
#storyViewer .story-author-time{color:rgba(255,255,255,.85) !important;font-size:11px !important;line-height:14px !important;text-shadow:0 1px 4px #000 !important;text-align:right !important;}
#storyViewer .story-viewer-tools{
  position:absolute !important;
  top:24px !important;
  right:16px !important;
  left:auto !important;
  z-index:70 !important;
  display:flex !important;
  flex-direction:row !important;
  gap:14px !important;
  align-items:center !important;
}
#storyViewer .story-icon-btn{
  width:28px !important;
  min-width:28px !important;
  height:28px !important;
  min-height:28px !important;
  border:0 !important;
  background:transparent !important;
  color:#fff !important;
  padding:0 !important;
  margin:0 !important;
  line-height:28px !important;
  text-align:center !important;
  font-size:16px !important;
  text-shadow:0 2px 6px #000 !important;
  box-shadow:none !important;
}
#storyViewer:not(.can-delete) .story-delete-btn{display:none !important;}
#storyViewer .story-media-wrap{
  position:absolute !important;
  inset:0 !important;
  padding:0 !important;
  margin:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:hidden !important;
  background:#000 !important;
}
#storyViewer .story-media-stage{
  position:relative !important;
  width:100% !important;
  height:100% !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:#000 !important;
  overflow:hidden !important;
}
#storyViewer .story-main-media{
  display:none !important;
  max-width:100vw !important;
  max-height:100vh !important;
  width:auto !important;
  height:auto !important;
  object-fit:contain !important;
  background:#000 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
#storyViewer:not(.can-video):not(.can-audio) .story-main-image{display:block !important;}
#storyViewer.can-video .story-main-video{display:block !important; width:auto !important; height:100vh !important; max-width:100vw !important; max-height:100vh !important; object-fit:contain !important;}
#storyViewer.can-audio .story-main-audio{display:block !important; position:absolute !important; left:50% !important; top:58% !important; transform:translate(-50%,-50%) !important; width:min(520px,88vw) !important; height:54px !important; z-index:42 !important; background:#111 !important; border-radius:14px !important;}
#storyViewer .story-audio-cover{display:none !important;}
#storyViewer.can-audio .story-audio-cover{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:12px !important;
  position:absolute !important;
  left:50% !important;
  top:42% !important;
  transform:translate(-50%,-50%) !important;
  width:220px !important;
  height:220px !important;
  border-radius:26px !important;
  color:#fff !important;
  background:linear-gradient(135deg,#22103a,#081a32) !important;
  box-shadow:0 0 30px rgba(157,48,178,.45) !important;
  z-index:41 !important;
  font-weight:700 !important;
}
#storyViewer.can-audio .story-audio-cover .fa{font-size:64px !important;color:#fff !important;}
#storyViewer .story-caption{
  position:absolute !important;
  left:50% !important;
  right:auto !important;
  bottom:70px !important;
  transform:translateX(-50%) !important;
  width:min(560px,90vw) !important;
  color:#fff !important;
  text-align:center !important;
  font-size:16px !important;
  line-height:1.5 !important;
  z-index:55 !important;
  text-shadow:0 2px 8px #000 !important;
  background:rgba(0,0,0,.18) !important;
  border-radius:12px !important;
  padding:6px 10px !important;
}
#storyViewer .story-nav{
  position:absolute !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  z-index:65 !important;
  width:42px !important;
  height:62px !important;
  border:0 !important;
  background:transparent !important;
  color:rgba(255,255,255,.9) !important;
  font-size:38px !important;
  line-height:62px !important;
  text-align:center !important;
  box-shadow:none !important;
}
#storyViewer .story-prev{left:22px !important; right:auto !important;}
#storyViewer .story-next{right:22px !important; left:auto !important;}
#storyViewer.single-story .story-nav{display:none !important;}
#storyViewer .story-viewer-bottom{position:absolute !important;left:16px !important;bottom:26px !important;z-index:62 !important;display:block !important;color:#fff !important;}
#storyViewer .story-side-actions{display:flex !important;flex-direction:column !important;gap:8px !important;align-items:center !important;color:#fff !important;}
#storyViewer .story-side-actions button{width:34px !important;height:34px !important;border:0 !important;background:transparent !important;color:#fff !important;font-size:22px !important;line-height:34px !important;text-shadow:0 2px 6px #000 !important;box-shadow:none !important;}
#storyViewer .story-like-count,#storyViewer .story-view-count{font-weight:700 !important;color:#fff !important;font-size:13px !important;text-shadow:0 2px 6px #000 !important;}
#storyViewer .story-extra-actions{display:none !important;}
#storyViewer .story-like-btn.active{color:#ff5fae !important;}
#freshVoiceBar .fresh-music-btn{
  width:39px !important;
  height:39px !important;
  min-width:39px !important;
  margin:0 !important;
  padding:0 !important;
  border:1px solid #082a37 !important;
  border-radius:3px !important;
  background:#10294d !important;
  color:#ffd95a !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  position:relative !important;
  overflow:hidden !important;
  cursor:pointer !important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.14) !important;
}
#freshVoiceBar .fresh-music-btn i{font-size:25px !important;color:#ffd95a !important;z-index:1 !important;}
#freshVoiceBar .fresh-music-btn.playing{background:#1fb35b !important;box-shadow:0 0 0 2px #ffdd55 inset,0 0 8px rgba(255,221,85,.7) !important;}
#freshVoiceBar .fresh-music-btn.playing:after{content:"";position:absolute;inset:4px;border:1px solid rgba(255,255,255,.45);border-radius:2px;animation:freshMusicPulse 1s infinite;}
.fresh-room-music-panel{
  position:absolute !important;
  top:48px !important;
  left:48px !important;
  width:330px !important;
  max-width:calc(100vw - 20px) !important;
  background:rgba(20,25,55,.96) !important;
  color:#fff !important;
  border:1px solid rgba(190,210,255,.45) !important;
  border-radius:10px !important;
  box-shadow:0 8px 24px rgba(0,0,0,.45) !important;
  z-index:99999 !important;
  direction:rtl !important;
  overflow:hidden !important;
}
.fresh-room-music-head{
  height:34px !important;
  display:flex !important;
  align-items:center !important;
  gap:7px !important;
  padding:0 10px !important;
  background:linear-gradient(135deg,#8b1b5a,#5b1f8f) !important;
  border-bottom:1px solid rgba(255,255,255,.2) !important;
}
.fresh-room-music-head button{
  margin-right:auto !important;
  width:26px !important;height:26px !important;border:0 !important;border-radius:50% !important;background:#fff !important;color:#8b1b5a !important;font:bold 18px "Times New Roman",Times,serif !important;line-height:24px !important;
}
.fresh-room-music-body{padding:10px !important;}
.fresh-room-music-title{height:24px !important;line-height:24px !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;color:#fff !important;margin-bottom:7px !important;}
.fresh-room-music-progress{height:7px !important;background:rgba(255,255,255,.18) !important;border-radius:999px !important;overflow:hidden !important;margin-bottom:9px !important;}
.fresh-room-music-progress span{display:block !important;height:100% !important;width:0;background:linear-gradient(90deg,#25d366,#ffdd55) !important;transition:width .18s linear !important;}
.fresh-room-music-controls{display:grid !important;grid-template-columns:1fr 1fr !important;gap:6px !important;}
.fresh-room-music-controls button{
  height:34px !important;border:0 !important;border-radius:8px !important;color:#fff !important;font:bold 12px "Times New Roman",Times,serif !important;cursor:pointer !important;
}
.fresh-room-music-controls .music-choose{background:#20a95a !important;}
.fresh-room-music-controls .music-pause{background:#f0ad4e !important;}
.fresh-room-music-controls .music-resume{background:#337ab7 !important;}
.fresh-room-music-controls .music-stop{background:#d9534f !important;}
.fresh-room-music-controls .music-end-all{background:#a71919 !important;}
.fresh-room-music-vol{margin-top:8px !important;display:flex !important;align-items:center !important;gap:8px !important;color:#fff !important;}
.fresh-room-music-vol input{flex:1 !important;}
.fresh-room-music-note2{margin-top:6px !important;color:#cfe8ff !important;font-size:11px !important;text-align:center !important;}
.fresh-room-music-sources{display:grid !important;grid-template-columns:1fr 1fr !important;gap:6px !important;margin-bottom:6px !important;}
.fresh-room-music-sources button{height:35px !important;border:0 !important;border-radius:8px !important;color:#fff !important;font-weight:700 !important;}
.fresh-room-music-sources .music-device{background:#20a95a !important;}
.fresh-room-music-sources .music-youtube{background:#d9534f !important;}
.fresh-room-music-youtube-row{display:flex !important;gap:5px !important;margin-bottom:7px !important;direction:rtl !important;}
.fresh-room-music-youtube-row input{flex:1 !important;min-width:0 !important;height:33px !important;border:1px solid rgba(255,255,255,.3) !important;border-radius:7px !important;padding:4px 7px !important;background:#fff !important;color:#222 !important;direction:ltr !important;text-align:left !important;}
.fresh-room-music-youtube-row button{width:70px !important;height:33px !important;border:0 !important;border-radius:7px !important;background:#d9534f !important;color:#fff !important;font-weight:700 !important;}
.fresh-room-music-youtube-results{display:flex !important;flex-direction:column !important;gap:4px !important;max-height:174px !important;overflow-y:auto !important;margin-bottom:7px !important;}
.fresh-room-music-youtube-results:empty{display:none !important;}
#d2 .ksa-entry-country{display:none!important}
#d2 .ksa-message-quote{display:block;max-height:68px;overflow:hidden;border-right:3px solid #6789a8;border-radius:4px;background:rgba(120,145,175,.12);padding:4px 7px;margin:3px 0 5px;cursor:pointer;direction:rtl;text-align:right;white-space:normal}
#d2 .ksa-message-quote>b,#d2 .ksa-message-quote>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#d2 .ksa-message-quote>b{color:#345c73;font-size:12px}
#d2 .ksa-message-quote>span{font-size:12px;color:#555}
#d2 .blike{min-width:28px;width:auto!important;max-width:65px}
#d2 .blike[hidden],#d2 .breply[hidden]{display:none!important}
#d2 .blike.ksa-message-liked{background:#c52242!important;color:white!important}
#d2 .ksa-reply-target{box-shadow:inset 0 0 0 2px #6789a8}
#room .tablebox.footer{position:relative}
#ksa-reply-compose{position:absolute;bottom:100%;left:4px;right:4px;z-index:4;background:#f2f5f9;color:#222;border-right:3px solid #6789a8;border-radius:5px;padding:5px 8px;text-align:right;box-shadow:0 -2px 8px #0002;line-height:18px}
#ksa-reply-compose>b,#ksa-reply-compose>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-left:26px}
#ksa-reply-compose>b{font-size:12px;color:#345c73}
#ksa-reply-compose>span{font-size:12px}
#ksa-reply-compose>button{position:absolute;left:4px;top:4px;width:24px;height:24px;border:0;background:transparent;color:#555;font-size:20px;cursor:pointer}
/* Keep search thumbnails and titles inside one stable row while images load. */
#freshRoomMusicPanel .fresh-room-music-youtube-results{min-width:0 !important;overscroll-behavior:contain;}
#freshRoomMusicPanel .music-youtube-result{
  box-sizing:border-box !important;display:flex !important;flex:0 0 48px !important;
  align-items:center !important;gap:7px !important;width:100% !important;min-width:0 !important;
  height:48px !important;min-height:48px !important;max-height:48px !important;
  margin:0 !important;padding:4px !important;overflow:hidden !important;float:none !important;
  border:1px solid rgba(255,255,255,.3) !important;border-radius:5px !important;
  background:#555763 !important;color:#fff !important;text-align:right !important;
  font:700 12px/17px "Times New Roman",Times,serif !important;cursor:pointer !important;
}
#freshRoomMusicPanel .music-youtube-result>img{
  box-sizing:border-box !important;display:block !important;flex:0 0 58px !important;
  width:58px !important;min-width:58px !important;max-width:58px !important;
  height:38px !important;min-height:38px !important;max-height:38px !important;
  object-fit:cover !important;margin:0 !important;padding:0 !important;float:none !important;
  border:0 !important;border-radius:3px !important;background:#252833 !important;
}
#freshRoomMusicPanel .music-youtube-result>span{
  display:block !important;flex:1 1 0 !important;min-width:0 !important;max-height:34px !important;
  overflow:hidden !important;white-space:normal !important;overflow-wrap:anywhere !important;
  color:inherit !important;font:inherit !important;line-height:17px !important;unicode-bidi:plaintext;
}
#freshRoomMusicPanel .music-youtube-result:focus-visible{outline:2px solid #84caff !important;outline-offset:-2px;}
#freshRoomMusicPanel .music-youtube-empty{padding:8px !important;color:#fff !important;text-align:center !important;}
.fresh-room-youtube-host{position:fixed !important;left:0 !important;top:0 !important;width:200px !important;height:200px !important;opacity:.001 !important;pointer-events:none !important;overflow:hidden !important;z-index:-1 !important;}
#freshVoiceBar .fresh-music-btn.disabled{
  opacity:.45 !important;
  filter:grayscale(1) !important;
  cursor:not-allowed !important;
  box-shadow:none !important;
}
.royal-welcome-msg{background:#fff7e6!important;border-right:4px solid #d6a423!important;overflow:visible!important;min-height:42px!important}
.royal-member-welcome{display:flex;align-items:center;gap:8px;direction:rtl;line-height:24px;color:#111;font-weight:bold!important;white-space:normal}
.royal-member-pic{width:54px!important;height:54px!important;border-radius:50%!important;object-fit:cover!important;border:2px solid #d6a423!important;box-shadow:0 0 6px rgba(0,0,0,.25);background:#fff;margin:2px 4px}
.royal-member-title{display:inline-block;background:linear-gradient(135deg,#f7d76b,#a67b16);color:#000;border-radius:14px;padding:2px 10px;border:1px solid #926b11}
#freshVoiceBar .fresh-live-btn{height:39px;min-width:58px;margin:0 2px;border:1px solid #0b2c46;border-radius:3px;background:#fff;color:#e51b2b;display:inline-flex;align-items:center;justify-content:center;gap:3px;font-weight:bold;cursor:pointer;}
#freshVoiceBar .fresh-live-btn span{background:#ff1b2d;color:#fff;border-radius:2px;padding:2px 4px;font-size:11px!important;line-height:1;}
#freshVoiceBar .fresh-live-btn i{color:#e51b2b;}
.fresh-live-chooser{position:fixed;left:0;right:0;top:0;bottom:0;background:rgba(0,0,0,.55);z-index:999999;display:flex;align-items:center;justify-content:center;direction:rtl;}
.fresh-live-chooser-card{width:310px;max-width:92vw;background:#fff;border-radius:10px;padding:24px 18px;text-align:center;box-shadow:0 8px 30px rgba(0,0,0,.25);}
.fresh-live-chooser-title{margin-bottom:18px;color:#333;font-weight:bold;}
.fresh-live-chooser-card button{border:0;border-radius:7px;padding:10px 14px;margin:5px;color:#fff;font-weight:bold;cursor:pointer;}
.fresh-live-front{background:#4f58bd!important;}
.fresh-live-back{background:#009b8e!important;}
.fresh-live-cancel{background:#ef4444!important;display:block;margin:14px auto 0!important;}
.fresh-live-viewer{position:fixed;left:28px;top:118px;width:360px;max-width:calc(100vw - 56px);background:#111;border:2px solid #19a45b;z-index:99990;box-shadow:0 4px 18px rgba(0,0,0,.35);direction:rtl;}
.fresh-live-head{height:30px;background:#8a1c5b;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 8px;box-sizing:border-box;font-weight:bold;}
.fresh-live-close{background:#d9534f;color:#fff;border:0;border-radius:3px;font-size:18px;line-height:22px;width:28px;height:24px;cursor:pointer;}
.fresh-live-body{background:#000;min-height:220px;display:flex;align-items:center;justify-content:center;}
.fresh-live-video,.fresh-live-frame{width:100%;height:auto;max-height:360px;object-fit:contain;background:#000;}
.fresh-live-tools{background:#222;padding:5px;text-align:center;}
.fresh-live-tools button{background:#d9534f;color:#fff;border:0;border-radius:4px;padding:5px 12px;font-weight:bold;}
.royal-welcome-layer{
  position:fixed;
  left:18px;
  top:86px;
  z-index:999990;
  pointer-events:none;
  direction:rtl;
}
.royal-entry-toast{
  position:relative;
  width:330px;
  min-height:118px;
  margin:0 0 12px 0;
  transform:translateX(-38px) scale(.86);
  opacity:0;
  transition:opacity .35s ease, transform .45s cubic-bezier(.2,1.25,.25,1);
  filter:drop-shadow(0 10px 14px rgba(0,0,0,.38));
}
.royal-entry-toast.show{opacity:1;transform:translateX(0) scale(1);}
.royal-entry-toast.hide{opacity:0;transform:translateX(-28px) scale(.92);}
.royal-entry-aura{
  position:absolute;
  inset:10px 42px 18px 24px;
  border-radius:60px;
  background:radial-gradient(circle at 40% 45%, rgba(255,255,255,.95), rgba(255,244,196,.84) 42%, rgba(160,98,24,.34) 70%, transparent 100%);
  box-shadow:0 0 22px rgba(255,217,109,.95), inset 0 0 12px rgba(255,255,255,.7);
}
.royal-entry-pic-wrap{
  position:absolute;
  right:0;
  top:0;
  width:118px;
  height:118px;
  border-radius:50%;
  overflow:visible;
}
.royal-entry-pic{
  position:absolute;
  right:16px;
  top:15px;
  width:82px;
  height:82px;
  object-fit:cover;
  border-radius:50%;
  border:2px solid #fff2b7;
  background:#fff;
  box-shadow:0 0 10px rgba(0,0,0,.32);
}
.royal-entry-frame{
  position:absolute;
  inset:0;
  border-radius:50%;
  background:
    radial-gradient(circle at 50% 50%, transparent 44%, rgba(255,245,181,.85) 45%, rgba(165,99,23,.95) 51%, transparent 52%),
    conic-gradient(from 0deg, #ffe89c, #9c5b10, #fff4bd, #c58a22, #ffe89c, #8d4a08, #ffe89c);
  -webkit-mask:radial-gradient(circle, transparent 51%, #000 52%);
  mask:radial-gradient(circle, transparent 51%, #000 52%);
  animation:royalFrameSpin 6s linear infinite;
  filter:drop-shadow(0 0 6px rgba(255,211,67,.9));
}
.royal-entry-ribbon{
  position:absolute;
  right:88px;
  top:43px;
  min-width:208px;
  height:39px;
  padding:0 30px 0 12px;
  border-radius:0 8px 8px 0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  background:linear-gradient(90deg,#f4f4f4,#d4b06b,#f7f1df,#b07a24);
  border:1px solid rgba(120,69,11,.55);
  color:#1b160c;
  font-weight:bold;
  text-shadow:0 1px 0 rgba(255,255,255,.8);
  box-shadow:0 4px 10px rgba(0,0,0,.28);
}
.royal-entry-ribbon:after{
  content:'';
  position:absolute;
  left:-24px;
  top:0;
  border-top:19px solid transparent;
  border-bottom:20px solid transparent;
  border-right:24px solid #b07a24;
}
.royal-entry-title{font-size:12px;color:#704400;white-space:nowrap;}
.royal-entry-name{font-size:15px;color:#111;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.royal-entry-sub{
  position:absolute;
  right:122px;
  top:84px;
  color:#fff;
  font-weight:bold;
  font-size:12px;
  padding:3px 12px;
  border-radius:18px;
  background:rgba(58,35,8,.82);
  box-shadow:0 0 8px rgba(255,217,111,.55);
}
.royal-entry-female .royal-entry-ribbon{
  background:linear-gradient(90deg,#fff5fb,#ffcae0,#fff2bd,#d5a326);
}
.royal-entry-female .royal-entry-ribbon:after{border-right-color:#d5a326;}
.royal-entry-female .royal-entry-title{color:#b61b67;}
.profile-image-viewer{
  z-index: 2147483000 !important;
  pointer-events: auto !important;
  touch-action: manipulation !important;
  -webkit-overflow-scrolling: touch !important;
}
.profile-image-viewer-tools,.profile-image-viewer-close,.profile-image-viewer-download{
  pointer-events: auto !important;
  touch-action: manipulation !important;
}
.profile-image-viewer-close{
  cursor: pointer !important;
}
.fresh-live-viewer.beauty-on .fresh-live-head:after{
  content:'HD Beauty';
  margin-right:8px;
  padding:2px 6px;
  border-radius:10px;
  background:linear-gradient(90deg,#ffd36a,#fff3b0);
  color:#5a3300;
  font:bold 10px "Times New Roman",Times,serif;
}
.fresh-live-viewer .fresh-live-video{
  image-rendering:auto;
  transform:translateZ(0);
  backface-visibility:hidden;
}
#freshVoiceBar .fresh-mic-seat.active,#freshVoiceBar .fresh-mic-seat.recording{
  box-shadow:0 0 0 2px rgba(40,167,69,.45),0 0 14px rgba(40,167,69,.45)!important;
}
#freshVoiceBar .fresh-mic-seat.busy:not(.active){
  filter:saturate(1.15) brightness(1.05);
}
.fresh-live-viewer.fresh-live-multi{width:min(820px,calc(100vw - 14px))!important;left:50%!important;right:auto!important;top:64px!important;transform:translateX(-50%)!important;max-width:calc(100vw - 14px)!important;}
.fresh-live-multi .fresh-live-body{height:min(68vh,560px)!important;min-height:190px!important;display:block!important;background:#000!important;overflow:hidden!important;}
.fresh-live-multi .fresh-live-grid{height:100%!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:minmax(0,1fr)!important;gap:5px!important;overflow:hidden!important;padding:5px!important;box-sizing:border-box!important;}
.fresh-live-multi.live-count-0 .fresh-live-grid,.fresh-live-multi.live-count-1 .fresh-live-grid{grid-template-columns:1fr!important;}
.fresh-live-multi.live-count-2 .fresh-live-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
.fresh-live-multi.live-count-3 .fresh-live-grid,.fresh-live-multi.live-count-4 .fresh-live-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
.fresh-live-multi.live-count-5 .fresh-live-grid,.fresh-live-multi.live-count-6 .fresh-live-grid,.fresh-live-multi.live-count-7 .fresh-live-grid,.fresh-live-multi.live-count-8 .fresh-live-grid,.fresh-live-multi.live-count-9 .fresh-live-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
.fresh-live-tile{min-height:0!important;height:100%!important;}
.fresh-live-tile video,.fresh-live-video{width:100%!important;height:100%!important;min-height:0!important;object-fit:cover!important;background:#000!important;display:block!important;}
#freshLiveViewer.fresh-live-viewer{
  z-index:250000 !important;
}
.fresh-live-btn.disabled{
  opacity:.55 !important;
  filter:grayscale(.25) !important;
}
.member-frame-gold{--member-frame-glow:#f6d365;border-color:#f6d365!important;}
.member-frame-pink{--member-frame-glow:#ff4fb3;border-color:#ff4fb3!important;}
.member-frame-blue{--member-frame-glow:#45aaf2;border-color:#45aaf2!important;}
.member-frame-green{--member-frame-glow:#20bf6b;border-color:#20bf6b!important;}
.member-frame-purple{--member-frame-glow:#8854d0;border-color:#8854d0!important;}
.member-frame-fire{--member-frame-glow:#ff6b00;border-color:#ff6b00!important;}
.member-frame-ice{--member-frame-glow:#74dfff;border-color:#74dfff!important;}
.member-frame-shadow{--member-frame-glow:#555;border-color:#333!important;}
.member-frame-gold,.member-frame-pink,.member-frame-blue,.member-frame-green,.member-frame-purple,.member-frame-fire,.member-frame-ice,.member-frame-shadow{
  box-shadow:inset 0 0 0 2px var(--member-frame-glow),0 0 5px var(--member-frame-glow)!important;
  animation:memberFrameMagicGlow 1.45s ease-in-out infinite alternate!important;
}
.uzr.member-frame-custom{position:relative!important;overflow:hidden!important;}
.uzr.member-frame-custom:after{
  content:none!important;display:none!important;background:none!important;
}
.uzr.member-frame-custom>.u-pic{
  position:relative!important;z-index:6!important;
}
.member-banner-frame-panel{position:fixed;right:8px;top:42px;width:330px;max-width:calc(100vw - 16px);height:calc(100vh - 54px);z-index:2600;background:#eee;border:1px solid #111;box-shadow:0 4px 18px rgba(0,0,0,.35);direction:rtl;font-family:"Times New Roman",Times,serif;}
.member-banner-frame-panel .mbf-head{height:32px;line-height:32px;background:#071b3d;color:#fff;text-align:center;font-weight:bold;position:relative;}
.member-banner-frame-panel .mbf-close{position:absolute;left:4px;top:3px;width:28px;height:26px;border:0;border-radius:4px;background:#d94a59;color:#fff;font-size:20px;line-height:20px;}
.member-banner-frame-panel .mbf-body{height:calc(100% - 32px);overflow:auto;padding:8px;box-sizing:border-box;}
.member-banner-frame-panel .mbf-note{background:#ddd;border-radius:2px;text-align:center;font:bold 12px "Times New Roman",Times,serif;margin:2px 0 8px;padding:5px;color:#222;}
.member-banner-frame-panel .mbf-preview{height:78px!important;border:1px solid #111!important;border-radius:4px!important;margin-bottom:8px!important;display:flex!important;align-items:center!important;padding:5px!important;box-sizing:border-box!important;width:100%!important;}
.member-banner-frame-panel .mbf-preview .u-pic{width:48px!important;height:48px!important;border-radius:4px!important;margin:0 0 0 7px!important;object-fit:cover!important;float:none!important;}
.member-banner-frame-panel .mbf-preview-info{position:relative;z-index:2;min-width:0;flex:1;}
.member-banner-frame-panel .mbf-preview-info .u-topic{display:inline-block;max-width:100%;padding:2px 8px;border-radius:3px;font-weight:bold;}
.member-banner-frame-panel .mbf-preview-info small{display:block;margin-top:4px;color:#333;background:transparent;width:max-content;max-width:100%;padding:1px 5px;border-radius:3px;text-shadow:0 1px 1px rgba(255,255,255,.9),0 0 2px rgba(0,0,0,.35);}
.member-banner-frame-panel .mbf-actions{display:flex;gap:6px;margin-bottom:8px;}
.member-banner-frame-panel .mbf-actions button,.member-banner-frame-panel .mbf-frame-choice{border:1px solid #111;background:#fff;padding:8px 6px;border-radius:4px;font:bold 12px "Times New Roman",Times,serif;cursor:pointer;}
.member-banner-frame-panel .mbf-upload{flex:1;background:linear-gradient(90deg,#e91e63,#9c27b0)!important;color:#fff!important;border:0!important;}
.member-banner-frame-panel .mbf-remove{width:95px;background:#d94a59!important;color:#fff!important;border:0!important;}
.member-banner-frame-panel .mbf-title{background:#071b3d;color:#fff;text-align:center;font:bold 12px "Times New Roman",Times,serif;padding:6px;margin:8px 0 6px;border-radius:3px;}
.member-banner-frame-panel .mbf-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:6px;}
.member-banner-frame-panel .mbf-banner-choice{height:72px;border:2px solid #111;background-size:100% 100%!important;background-position:center center!important;background-repeat:no-repeat!important;background-color:#f7f7f7;border-radius:2px;image-rendering:auto!important;cursor:pointer;}
.member-banner-frame-panel .mbf-frame-choice{min-height:36px;background:#fff;}
.member-banner-frame-panel .mbf-custom-frame-choice{height:72px!important;background-size:100% 100%!important;background-position:center!important;background-repeat:no-repeat!important;position:relative!important;overflow:hidden!important;}
.member-banner-frame-panel .mbf-custom-frame-choice span{position:absolute;right:3px;bottom:3px;background:rgba(0,0,0,.6);color:#fff;padding:2px 5px;border-radius:3px;font-size:10px;}
.member-banner-frame-panel .mbf-uploaded-frames{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important;}
.member-banner-frame-panel .mbf-uploaded-frames .mbf-custom-frame-choice{height:92px!important;min-height:92px!important;padding:0!important;border:1px solid #ead5df!important;border-radius:10px!important;background-color:#fff8fb!important;background-size:contain!important;}
.member-banner-frame-panel .mbf-frame-help{margin:-2px 0 6px;padding:5px 7px;background:#fff;color:#555;border:1px solid #ddd;font:700 11px/18px "Times New Roman",Times,serif;text-align:right;}
.member-banner-frame-panel .mbf-frame-empty{grid-column:1/-1!important;}
.member-banner-frame-panel .mbf-banner-choice-image,.member-banner-frame-panel .mbf-frame-choice-image{
  display:block!important;width:100%!important;height:100%!important;margin:0!important;padding:0!important;
  border:0!important;visibility:visible!important;opacity:1!important;pointer-events:none!important;
}
.member-banner-frame-panel .mbf-banner-choice-image{object-fit:fill!important;}
.member-banner-frame-panel .mbf-frame-choice-image{object-fit:contain!important;}
.member-banner-frame-panel .mbf-preview > .member-avatar-frame-layer{
  top:14px!important;right:5px!important;left:auto!important;width:48px!important;height:48px!important;
}
.member-banner-frame-panel .mbf-preview.member-frame-custom > .u-pic{
  position:absolute!important;
  z-index:7!important;
  top:20px!important;
  right:11px!important;
  left:auto!important;
  width:36px!important;
  height:36px!important;
  min-width:36px!important;
  min-height:36px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  outline:0!important;
  border-radius:50%!important;
  object-fit:cover!important;
  box-shadow:none!important;
  animation:none!important;
}
#users .uzr.member-frame-custom,#tlogins .lonline .uzr.member-frame-custom{
  min-height:70px!important;height:70px!important;padding-left:78px!important;
}
#users .uzr.member-frame-custom > .u-pic,#tlogins .lonline .uzr.member-frame-custom > .u-pic{
  display:block!important;visibility:visible!important;opacity:1!important;
  top:8px!important;left:10px!important;right:auto!important;
  width:54px!important;height:54px!important;min-width:54px!important;min-height:54px!important;
  max-width:54px!important;max-height:54px!important;border-radius:50%!important;object-fit:cover!important;
}
#users .uzr.member-frame-custom > .member-avatar-frame-layer,#tlogins .lonline .uzr.member-frame-custom > .member-avatar-frame-layer{
  display:block!important;visibility:visible!important;opacity:1!important;
  top:1px!important;left:3px!important;right:auto!important;width:68px!important;height:68px!important;
}
#users .uzr.member-frame-custom > .u-pic,#tlogins .lonline .uzr.member-frame-custom > .u-pic{
  top:5px!important;left:7px!important;right:auto!important;
  width:60px!important;height:60px!important;min-width:60px!important;min-height:60px!important;
  max-width:60px!important;max-height:60px!important;object-position:center center!important;
}
#users .uzr.member-frame-custom > .u-pic,#tlogins .lonline .uzr.member-frame-custom > .u-pic{
  background-size:118% 118%!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
  background-color:transparent!important;
  clip-path:circle(50% at 50% 50%)!important;
  -webkit-clip-path:circle(50% at 50% 50%)!important;
}
#users .uzr.member-frame-custom > .u-pic,#tlogins .lonline .uzr.member-frame-custom > .u-pic,#users .uzr.member-frame-custom > img.u-pic,#tlogins .lonline .uzr.member-frame-custom > img.u-pic{
  top:1px!important;left:3px!important;right:auto!important;
  width:68px!important;height:68px!important;min-width:68px!important;min-height:68px!important;
  max-width:68px!important;max-height:68px!important;
  background-size:cover!important;background-position:center center!important;background-repeat:no-repeat!important;
  object-fit:cover!important;object-position:center center!important;
  border-radius:50%!important;transform:none!important;
}
#users .uzr.member-frame-custom > .u-pic,#tlogins .lonline .uzr.member-frame-custom > .u-pic,#users .uzr.member-frame-custom > img.u-pic,#tlogins .lonline .uzr.member-frame-custom > img.u-pic{
  top:var(--member-frame-avatar-top,8px)!important;
  left:var(--member-frame-avatar-left,11px)!important;
  width:var(--member-frame-avatar-size,54px)!important;
  height:var(--member-frame-avatar-size,54px)!important;
  min-width:var(--member-frame-avatar-size,54px)!important;
  min-height:var(--member-frame-avatar-size,54px)!important;
  max-width:var(--member-frame-avatar-size,54px)!important;
  max-height:var(--member-frame-avatar-size,54px)!important;
}
#users .uzr.member-frame-custom,#tlogins .lonline .uzr.member-frame-custom{min-height:82px!important;height:82px!important;padding-left:90px!important;}
#users .uzr.member-frame-custom > .u-pic,#tlogins .lonline .uzr.member-frame-custom > .u-pic,#users .uzr.member-frame-custom > img.u-pic,#tlogins .lonline .uzr.member-frame-custom > img.u-pic,#users .uzr.member-frame-custom > .member-avatar-frame-layer,#tlogins .lonline .uzr.member-frame-custom > .member-avatar-frame-layer{
  top:1px!important;left:3px!important;right:auto!important;width:80px!important;height:80px!important;
  min-width:80px!important;min-height:80px!important;max-width:80px!important;max-height:80px!important;
}
#users .uzr.member-frame-custom,#tlogins .lonline .uzr.member-frame-custom{
  min-height:82px!important;height:82px!important;padding-left:90px!important;
}
#users .uzr.member-frame-custom > .member-avatar-composite,#tlogins .lonline .uzr.member-frame-custom > .member-avatar-composite{
  position:absolute!important;left:3px!important;right:auto!important;top:1px!important;
  width:80px!important;height:80px!important;display:block!important;overflow:visible!important;
  margin:0!important;padding:0!important;border:0!important;z-index:6!important;
}
.member-banner-frame-panel .mbf-save-row{position:sticky;bottom:0;background:#eee;padding:8px 0 2px;margin-top:8px;z-index:5;}
.member-banner-frame-panel .mbf-save{width:100%;border:0;border-radius:5px;background:#0b7d2b;color:#fff;font:bold 14px "Times New Roman",Times,serif;padding:10px 6px;cursor:pointer;box-shadow:0 2px 6px rgba(0,0,0,.25);}
.member-banner-frame-panel .mbf-banner-choice.selected,.member-banner-frame-panel .mbf-frame-choice.selected{outline:3px solid #0b7d2b!important;box-shadow:0 0 0 2px #fff inset,0 0 8px rgba(11,125,43,.55)!important;}
.member-banner-frame-panel .mbf-preview.member-has-cover{background-size:100% 100%!important;background-position:center center!important;background-repeat:no-repeat!important;background-color:#f7f7f7!important;image-rendering:auto!important;}
#memberBannerFramePanel.member-banner-frame-panel{
  z-index:2147483200 !important;
  position:fixed !important;
}
#memberBannerFramePanel.member-banner-frame-panel *{
  box-sizing:border-box !important;
}
.member-banner-frame-backdrop{
  position:fixed !important;
  inset:0 !important;
  background:rgba(0,0,0,.18) !important;
  z-index:2147483199 !important;
  pointer-events:none !important;
}
.mbf-empty{grid-column:1/-1;background:#fff;border:1px dashed #999;padding:18px 8px;text-align:center;font:bold 14px "Times New Roman",Times,serif;color:#333}
#storyViewer.story-viewer,#wall #storyViewer.story-viewer,.dpnl #wall #storyViewer.story-viewer{
  position:fixed!important;
  z-index:2147483647!important;
  inset:0!important;
  top:0!important;left:0!important;right:0!important;bottom:0!important;
  width:100vw!important;
  height:100vh!important;
  height:100dvh!important;
  min-width:100vw!important;
  min-height:100vh!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
  background:#000!important;
  overflow:hidden!important;
  transform:none!important;
  direction:rtl!important;
}
#storyViewer .story-viewer-inner{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
  background:#000!important;overflow:hidden!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
}
#storyViewer .story-media-wrap,#storyViewer .story-media-stage{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;background:#000!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;}
#storyViewer .story-main-media{display:none!important;background:#000!important;border:0!important;border-radius:0!important;box-shadow:none!important;object-fit:contain!important;max-width:100vw!important;max-height:100vh!important;max-height:100dvh!important;}
#storyViewer:not(.can-video):not(.can-audio) .story-main-image{display:block!important;width:100vw!important;height:auto!important;max-height:100vh!important;max-height:100dvh!important;object-fit:contain!important;}
#storyViewer.can-video .story-main-video{display:block!important;width:100vw!important;height:auto!important;max-height:100vh!important;max-height:100dvh!important;object-fit:contain!important;background:#000!important;}
#storyViewer.can-audio .story-main-image,#storyViewer.can-video .story-main-image{display:none!important;}
#storyViewer .story-progress-bars{position:absolute!important;top:12px!important;left:12px!important;right:12px!important;height:3px!important;z-index:100!important;display:flex!important;gap:3px!important;}
#storyViewer .story-progress-seg{height:3px!important;background:rgba(255,255,255,.35)!important;border-radius:99px!important;overflow:hidden!important;}
#storyViewer .story-progress-fill{height:100%!important;background:#fff!important;display:block!important;}
#storyViewer .story-viewer-head{position:absolute!important;top:34px!important;left:18px!important;right:auto!important;z-index:110!important;display:flex!important;align-items:center!important;gap:8px!important;color:#fff!important;max-width:58vw!important;}
#storyViewer .story-author-pic{width:46px!important;height:46px!important;border-radius:50%!important;background-size:cover!important;background-position:center!important;border:1px solid #fff!important;}
#storyViewer .story-author-name{display:none!important;}
#storyViewer .story-author-time{font-size:17px!important;color:#fff!important;text-shadow:0 1px 5px #000!important;font-weight:700!important;}
#storyViewer .story-viewer-tools{position:absolute!important;top:34px!important;right:12px!important;z-index:120!important;display:flex!important;gap:8px!important;}
#storyViewer .story-close-btn{position:fixed!important;top:58px!important;left:10px!important;right:auto!important;width:38px!important;height:38px!important;font-size:30px!important;line-height:38px!important;color:#fff!important;background:transparent!important;text-shadow:0 2px 6px #000!important;z-index:140!important;}
#storyViewer .story-download-btn{display:none!important;}
#storyViewer .story-delete-btn{background:#d9534f!important;color:#fff!important;border-radius:0!important;width:54px!important;height:32px!important;line-height:32px!important;font-size:0!important;position:fixed!important;right:0!important;top:122px!important;z-index:140!important;text-shadow:none!important;}
#storyViewer .story-delete-btn:after{content:'حذف';font-size:18px!important;font-family:"Times New Roman",Times,serif!important;font-weight:700!important;}
#storyViewer:not(.can-delete) .story-delete-btn{display:none!important;}
#storyViewer .story-caption{position:absolute!important;left:50%!important;bottom:84px!important;transform:translateX(-50%)!important;width:88vw!important;color:#fff!important;text-align:center!important;background:transparent!important;text-shadow:0 2px 7px #000!important;font-size:16px!important;z-index:115!important;}
#storyViewer .story-viewer-bottom{position:absolute!important;left:16px!important;top:45%!important;bottom:auto!important;z-index:130!important;color:#fff!important;}
#storyViewer .story-side-actions{display:flex!important;flex-direction:column!important;align-items:center!important;gap:5px!important;}
#storyViewer .story-side-actions button{width:54px!important;height:54px!important;background:transparent!important;border:0!important;box-shadow:none!important;color:#fff!important;font-size:46px!important;line-height:54px!important;text-shadow:0 2px 6px #000!important;}
#storyViewer .story-like-count,#storyViewer .story-view-count{font-size:18px!important;font-weight:700!important;color:#fff!important;text-shadow:0 2px 6px #000!important;margin-bottom:10px!important;}
#storyViewer .story-extra-actions,#storyViewer .story-nav{display:none!important;}
#storyViewer.can-audio .story-audio-cover{display:flex!important;background:#000!important;color:#fff!important;box-shadow:none!important;}
.fresh-live-viewer.fresh-live-multi{
  width:min(820px, calc(100% - 14px));
  max-width:calc(100% - 14px);
  left:50% !important;
  right:auto !important;
  top:64px !important;
  transform:translateX(-50%);
}
.fresh-live-multi .fresh-live-body{
  height:min(68%, 560px);
  min-height:190px;
  display:block;
  background:#000;
}
.fresh-live-multi .fresh-live-grid{
  height:100%;
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  grid-auto-rows:minmax(0, 1fr);
  gap:5px;
  overflow:hidden;
  padding:5px;
  box-sizing:border-box;
}
.fresh-live-multi.live-count-0 .fresh-live-grid,.fresh-live-multi.live-count-1 .fresh-live-grid{grid-template-columns:1fr;}
.fresh-live-multi.live-count-2 .fresh-live-grid,.fresh-live-multi.live-count-3 .fresh-live-grid,.fresh-live-multi.live-count-4 .fresh-live-grid{grid-template-columns:repeat(2, minmax(0, 1fr));}
.fresh-live-multi.live-count-5 .fresh-live-grid,.fresh-live-multi.live-count-6 .fresh-live-grid,.fresh-live-multi.live-count-7 .fresh-live-grid,.fresh-live-multi.live-count-8 .fresh-live-grid,.fresh-live-multi.live-count-9 .fresh-live-grid{grid-template-columns:repeat(3, minmax(0, 1fr));}
.fresh-live-tile{
  position:relative;
  height:100%;
  min-height:0;
  overflow:hidden;
  background:#000;
  border:1px solid rgba(255,215,0,.55);
  border-radius:8px;
}
.fresh-live-tile video{
  display:block;
  width:100%;
  height:100% !important;
  min-height:0 !important;
  object-fit:cover;
  background:#000;
}
.fresh-live-tile-title{
  position:absolute;
  top:4px;
  right:4px;
  left:4px;
  z-index:2;
  padding:3px 6px;
  overflow:hidden;
  color:#fff;
  background:rgba(0,0,0,.45);
  border-radius:6px;
  font:bold 12px "Times New Roman",Times,serif;
  text-align:right;
  white-space:nowrap;
  text-overflow:ellipsis;
}
.fresh-live-tile.mine{
  border-color:#ffd700;
  box-shadow:0 0 8px rgba(255,215,0,.45);
}
.fresh-live-tile video,.fresh-live-video{
  object-fit:contain !important;
  object-position:center center !important;
  filter:brightness(1.04) contrast(1.03) saturate(1.06) !important;
  background:#000 !important;
}
.fresh-live-clear-mode{
  margin:7px auto 14px;
  padding:8px 10px;
  max-width:230px;
  border:1px solid #e0c15a;
  border-radius:7px;
  background:#fff8dc;
  color:#684d00;
  font-weight:bold;
}
.mbf-frame-actions{display:flex;justify-content:center;padding:8px 0 10px}
.mbf-remove-frame{width:100%;min-height:38px;border:1px solid #9f2028;border-radius:7px;background:#d94b53!important;color:#fff!important;font-weight:bold}
.mbf-remove-frame.selected{outline:3px solid #ffd34d;outline-offset:2px}
.karaoke-points{grid-template-columns:1fr 1fr !important}
.karaoke-points small{padding:4px;border-radius:8px;background:rgba(0,0,0,.35);color:#fff;font-weight:bold}
.karaoke-points strong{grid-column:auto !important}
.karaoke-actions{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap}
.karaoke-open-gifts{border:0;border-radius:7px;padding:8px 12px;background:#8b28bd!important;color:#fff!important;font-weight:bold}
.karaoke-wallet{display:inline-flex;align-items:center;min-height:32px;padding:0 10px;border-radius:8px;background:#241332;color:#fff;font-weight:bold}
.fresh-voice-seat-menu{
  position:fixed !important;
  z-index:2147483000 !important;
  display:flex !important;
  flex-direction:column !important;
  width:112px !important;
  padding:5px !important;
  overflow:hidden !important;
  direction:rtl !important;
  background:#d8d8d8 !important;
  border:0 !important;
  border-radius:7px !important;
  box-shadow:0 4px 12px rgba(0,0,0,.28) !important;
  box-sizing:border-box !important;
}
.fresh-voice-seat-menu button{
  display:block !important;
  width:100% !important;
  min-height:31px !important;
  margin:0 0 2px !important;
  padding:5px 4px !important;
  border:0 !important;
  border-radius:2px !important;
  color:#fff !important;
  font:bold 12px "Times New Roman",Times,serif !important;
  text-align:center !important;
  cursor:pointer !important;
  touch-action:manipulation !important;
}
.fresh-voice-seat-menu button:last-child{margin-bottom:0 !important;}
.fresh-seat-menu-pull{background:#e4544d !important;}
.fresh-seat-menu-mute{background:#45b7ac !important;}
.fresh-seat-menu-profile{background:#4b928b !important;}
#freshVoiceBar .fresh-mic-seat.speaker-muted:after{
  content:"\\f026";
  position:absolute !important;
  right:2px !important;
  bottom:2px !important;
  z-index:4 !important;
  width:16px !important;
  height:16px !important;
  border-radius:50% !important;
  color:#fff !important;
  background:#d9534f !important;
  font:12px/16px FontAwesome !important;
  text-align:center !important;
}
.fresh-live-multi .fresh-live-body{height:auto!important;min-height:0!important;max-height:calc(100vh - 145px)!important;overflow:auto!important;}
.fresh-live-multi .fresh-live-grid{height:auto!important;grid-auto-rows:auto!important;align-items:start!important;}
.fresh-live-tile{height:auto!important;min-height:0!important;aspect-ratio:16/9;}
.fresh-live-tile video,.fresh-live-video{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:contain!important;}
#freshLiveViewer .live-battle-hud{background:#171717;color:#fff;padding:5px 8px 7px;direction:ltr;}
#freshLiveViewer .live-battle-names,#freshLiveViewer .live-battle-scores{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;font-weight:bold;}
#freshLiveViewer .battle-a-name,#freshLiveViewer .battle-a-score{text-align:left;color:#ff4a9e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
#freshLiveViewer .battle-b-name,#freshLiveViewer .battle-b-score{text-align:right;color:#27cef0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
#freshLiveViewer .live-battle-clock,#freshLiveViewer .battle-multiplier{background:#090909;border-radius:10px;padding:2px 9px;color:#fff;text-align:center;}
#freshLiveViewer .live-battle-scorebar{display:flex;height:15px;margin:4px 0 3px;border-radius:12px;overflow:hidden;background:#333;}
#freshLiveViewer .live-battle-scorebar i{display:block;min-width:2px;transition:width .18s ease;}
#freshLiveViewer .battle-a-bar{background:linear-gradient(90deg,#ff2584,#ff62b0);}
#freshLiveViewer .battle-b-bar{background:linear-gradient(90deg,#20d2d4,#25aeea);}
#freshLiveViewer .live-battle-actions{display:flex;align-items:center;gap:5px;padding:6px;background:#171717;color:#fff;overflow-x:auto;white-space:nowrap;direction:rtl;}
#freshLiveViewer .live-battle-actions button{border:0;border-radius:16px;padding:6px 10px;color:#fff;background:#333;font-weight:bold;white-space:nowrap;}
#freshLiveViewer .live-battle-start{background:linear-gradient(90deg,#ff2d86,#15cbd3)!important;}
#freshLiveViewer .live-battle-gifts{background:#8854d0!important;}
#freshLiveViewer .live-battle-end{background:#d9534f!important;}
#freshLiveViewer .live-battle-wallet{background:#fff;color:#e92152;border-radius:14px;padding:5px 9px;font-weight:bold;}
#freshLiveViewer .live-battle-judge{display:inline-flex;gap:2px}
.live-battle-judge button{background:#bd8714!important;padding:5px 8px!important;}
#freshLiveViewer .live-battle-tap{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);z-index:5;border:2px solid rgba(255,255,255,.85);border-radius:25px;background:rgba(239,39,100,.86);color:#fff;padding:7px 15px;font-weight:bold;box-shadow:0 3px 13px rgba(0,0,0,.35);touch-action:manipulation;}
#freshLiveViewer .live-battle-heart{position:absolute;z-index:8;left:50%;bottom:38px;color:#ff347f;font-size:26px;font-style:normal;pointer-events:none;animation:liveBattleHeart .85s ease-out forwards;}
.live-battle-modal{position:fixed;inset:0;z-index:999999;background:rgba(0,0,0,.7);display:flex;align-items:center;justify-content:center;direction:rtl;padding:12px;box-sizing:border-box;}
.live-battle-card{width:360px;max-width:96vw;max-height:88vh;overflow:auto;background:#fff;border-radius:12px;padding:16px;color:#222;box-shadow:0 12px 40px rgba(0,0,0,.45);text-align:right;}
.live-battle-card h3{text-align:center;margin:0 0 14px;color:#10264d}
.live-battle-card label{display:block;font-weight:bold;margin:8px 0 4px}
.live-battle-card select{width:100%;height:38px;border:1px solid #aaa;border-radius:6px;background:#fff;}
.live-battle-card>.battle-confirm,.live-battle-card>.battle-cancel{width:100%;border:0;border-radius:7px;color:#fff;padding:10px;margin-top:10px;font-weight:bold}
.live-battle-card>.battle-confirm{background:#159565}
.live-battle-card>.battle-cancel{background:#666}
.live-gift-store{width:520px}
.live-gift-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:10px}
.live-gift-item{display:flex;flex-direction:column;align-items:center;gap:3px;min-height:105px;border:1px solid #ead8df;border-radius:9px;background:#fff8fb;color:#222;padding:7px}
.live-gift-item img,.live-gift-item>span{width:46px;height:46px;object-fit:contain;font-size:35px;line-height:46px}
.live-gift-item small{color:#d8174e;font-weight:bold}
.live-gift-effect{position:absolute;z-index:7;left:8px;right:8px;bottom:54px;background:linear-gradient(90deg,rgba(129,52,175,.9),rgba(255,45,133,.9));color:#fff;border-radius:22px;padding:5px 10px;display:flex;align-items:center;gap:7px;animation:liveGiftIn .3s ease}
.live-gift-effect img,.live-gift-effect>span{width:36px;height:36px;object-fit:contain;font-size:28px}
.live-gift-effect b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.live-gift-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
#freshLiveViewer .live-battle-tap span{display:none}
#freshLiveViewer .live-battle-tap{padding:6px 12px}
.fresh-live-viewer.battle-active .fresh-live-body{max-height:calc(100vh - 245px)!important}
#storyViewer .story-main-image{
  max-width:100% !important;
  height:auto !important;
  object-fit:contain !important;
  object-position:center center !important;
  image-rendering:auto !important;
  opacity:1 !important;
  filter:none !important;
  -webkit-filter:none !important;
}
.super-icon-picker-layer{
  position:fixed!important;inset:0!important;z-index:2147483200!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  padding:14px!important;background:rgba(8,18,31,.58)!important;direction:rtl!important;
}
.super-icon-picker-card{
  width:min(430px,calc(100vw - 28px))!important;max-height:min(620px,calc(100vh - 28px))!important;
  overflow:hidden!important;background:#fff!important;border:2px solid var(--site-button-bg,#345c73)!important;
  border-radius:14px!important;box-shadow:0 18px 45px rgba(0,0,0,.32)!important;
}
.super-icon-picker-head{
  height:48px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;
  padding:0 12px!important;background:var(--site-button-bg,#345c73)!important;color:#fff!important;
  font:bold 16px "Times New Roman",Times,serif!important;
}
.super-icon-picker-head button{
  width:34px!important;height:34px!important;border:0!important;border-radius:8px!important;
  background:#d9534f!important;color:#fff!important;font:bold 23px/30px "Times New Roman",Times,serif!important;cursor:pointer!important;
}
.super-icon-picker-note{padding:10px 12px!important;background:#f4f7fa!important;color:#30465b!important;text-align:center!important;font:bold 13px "Times New Roman",Times,serif!important;}
.super-icon-picker-grid{
  max-height:500px!important;overflow-y:auto!important;padding:12px!important;
  display:grid!important;grid-template-columns:repeat(4,minmax(62px,1fr))!important;gap:9px!important;
}
.super-icon-choice,.super-icon-remove{
  height:72px!important;border:1px solid #cbd8e5!important;border-radius:10px!important;background:#fff!important;
  display:flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important;padding:6px!important;
}
.super-icon-choice img{max-width:58px!important;max-height:58px!important;object-fit:contain!important;display:block!important;}
.super-icon-choice.selected,.super-icon-remove.selected{outline:3px solid #29a8ff!important;border-color:#1578ba!important;background:#eaf7ff!important;}
.super-icon-remove{flex-direction:column!important;gap:3px!important;color:#c93434!important;font:bold 11px "Times New Roman",Times,serif!important;}
.super-icon-remove i{font-size:24px!important;}
.super-icon-empty{grid-column:1/-1!important;padding:24px 10px!important;text-align:center!important;color:#777!important;font:bold 13px "Times New Roman",Times,serif!important;}
.super-icon-picker-grid{grid-template-columns:repeat(3,minmax(60px,1fr))!important;}
#freshVoiceBar .fresh-karaoke-btn{position:relative;flex:0 0 76px;height:39px;margin:0 2px;border:1px solid #0b2c46;border-radius:3px;background:linear-gradient(145deg,#7224ad,#d62f90);color:#fff;display:inline-flex;align-items:center;justify-content:center;gap:3px;font:bold 10px "Times New Roman",Times,serif;overflow:hidden;box-shadow:inset 0 0 0 1px rgba(255,255,255,.25)}
#freshVoiceBar .fresh-karaoke-btn span{font-size:20px;line-height:1}
#freshVoiceBar .fresh-karaoke-btn b{font-size:10px;white-space:nowrap}
#freshVoiceBar .fresh-karaoke-btn.active{background:linear-gradient(135deg,#ff1f72,#ff9d00);animation:karaokeButtonPulse 1s infinite}
#freshVoiceBar .fresh-mic-seat.speaking{z-index:4;animation:micSpeakingPulse .48s ease-in-out infinite alternate!important;filter:saturate(1.35) brightness(1.13)!important}
#freshVoiceBar .fresh-mic-seat.speaking:after{content:' ';position:absolute;inset:-3px;border:3px solid #39ff88;border-radius:5px;box-shadow:0 0 5px #39ff88,0 0 13px #18e96c,0 0 22px rgba(38,255,129,.8);pointer-events:none}
.karaoke-competition-panel{position:fixed;top:52px;right:8px;width:440px;max-width:calc(100vw - 16px);max-height:calc(100vh - 65px);overflow:auto;z-index:360000;background:radial-gradient(circle at top,#32145b,#12091f 68%);border:2px solid #e8b5ff;border-radius:12px;color:#fff;direction:rtl;box-shadow:0 10px 35px rgba(0,0,0,.55);font-family:"Times New Roman",Times,serif}
.karaoke-head{position:sticky;top:0;z-index:4;display:grid;grid-template-columns:minmax(0,1fr) auto 32px;align-items:center;gap:7px;height:40px;padding:0 8px;background:linear-gradient(90deg,#7b24b2,#d82b8d);box-sizing:border-box}
.karaoke-head b{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.karaoke-clock{padding:4px 8px;border-radius:12px;background:#090611;font:bold 12px monospace}
.karaoke-close{width:28px;height:28px;border:0;border-radius:50%;background:#e44b52;color:#fff;font-size:21px;line-height:25px}
.karaoke-title{text-align:center;padding:7px;color:#ffe176;font:bold 16px "Times New Roman",Times,serif;text-shadow:0 0 8px #ff4fce}
.karaoke-contestants{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:7px}
.karaoke-contestant{position:relative;min-width:0;padding:8px;border:1px solid rgba(255,255,255,.25);border-radius:11px;background:linear-gradient(155deg,rgba(255,255,255,.13),rgba(0,0,0,.24));text-align:center;overflow:hidden;transition:.2s}
.karaoke-contestant.speaking{border-color:#4cff91;box-shadow:0 0 18px rgba(76,255,145,.72),inset 0 0 14px rgba(76,255,145,.18);transform:translateY(-2px)}
.karaoke-contestant.winner{border-color:#ffe269;box-shadow:0 0 18px #e2b100}
.karaoke-contestant.winner:before{content:'🏆';position:absolute;top:4px;left:5px;font-size:23px}
.karaoke-stage-number{position:absolute;top:5px;right:6px;width:22px;height:22px;border-radius:50%;background:#ff328a;line-height:22px;font-weight:bold}
.karaoke-contestant>img{width:64px;height:64px;border-radius:50%;object-fit:cover;border:3px solid #fff;box-shadow:0 0 11px rgba(255,255,255,.55)}
.karaoke-name{display:block;height:25px;line-height:25px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:15px}
.karaoke-points{display:grid;grid-template-columns:1fr 1fr auto;gap:3px;align-items:center;margin:4px 0;font-size:11px}
.karaoke-points span{padding:4px;border-radius:8px;background:rgba(0,0,0,.35)}
.karaoke-points strong{padding:4px 6px;border-radius:8px;background:#f7c928;color:#271800}
.karaoke-like{width:100%;height:32px;border:0;border-radius:16px;background:linear-gradient(90deg,#ff1f68,#ff5a91);color:#fff;font-weight:bold}
.karaoke-judge-vote{display:flex;gap:4px;margin-top:5px}
.karaoke-score-select{width:62px;height:29px;background:#fff;color:#111;border:0;border-radius:5px}
.karaoke-vote{flex:1;border:0;border-radius:5px;background:#ffc928;color:#211400;font-weight:bold}
.karaoke-judges{display:flex;align-items:center;gap:5px;flex-wrap:wrap;padding:7px;border-top:1px solid rgba(255,255,255,.15);font-size:11px}
.karaoke-judge{display:inline-flex;align-items:center;gap:3px;padding:3px 6px;border-radius:13px;background:#34204a}
.karaoke-judge.voted{background:#087f4b}
.karaoke-judge img{width:21px;height:21px;border-radius:50%;object-fit:cover}
.karaoke-actions{padding:7px;text-align:center}
.karaoke-end-round{border:0;border-radius:7px;padding:8px 15px;background:#d8454d;color:#fff;font-weight:bold}
.karaoke-float-heart{position:absolute;bottom:30px;left:50%;z-index:6;color:#ff347c;font-size:25px;font-style:normal;pointer-events:none;animation:karaokeHeartFly .85s forwards}
.karaoke-start-modal{position:fixed;inset:0;z-index:470000;background:rgba(4,0,12,.72);display:flex;align-items:center;justify-content:center;padding:10px;direction:rtl}
.karaoke-start-card{width:460px;max-width:96vw;max-height:94vh;overflow:auto;padding:14px;border:2px solid #e8b5ff;border-radius:13px;background:linear-gradient(160deg,#39125e,#13091f);color:#fff;box-shadow:0 12px 40px #000}
.karaoke-start-card h3{text-align:center;color:#ffe56e;margin:3px 0 12px}
.karaoke-start-card h4{margin:10px 0 5px}
.karaoke-start-card label{display:block;margin:5px 0;font-weight:bold}
.karaoke-start-card input,.karaoke-start-card select{width:100%;height:35px;border:1px solid #b895cf;border-radius:6px;background:#fff;color:#111;padding:3px 6px;box-sizing:border-box}
.karaoke-start-grid,.karaoke-judge-picks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.karaoke-start-actions{display:flex;gap:7px;margin-top:12px}
.karaoke-start-actions button{flex:1;height:38px;border:0;border-radius:7px;color:#fff;font-weight:bold}
.karaoke-start-confirm{background:#1ba964}
.karaoke-start-cancel{background:#d64a52}
.live-round-intro{background:radial-gradient(circle,rgba(12,108,141,.94),rgba(2,10,19,.97))}
.live-gift-3d-layer{position:fixed;inset:0;z-index:920000;display:flex;align-items:center;justify-content:center;pointer-events:none;background:radial-gradient(circle,rgba(125,41,181,.26),transparent 65%);opacity:0;perspective:1000px;transition:.45s}
.live-gift-3d-layer.show{opacity:1}
.live-gift-3d-layer.leave{opacity:0;transform:scale(1.18)}
#freshVoiceBar .fresh-karaoke-btn{flex-basis:48px;width:48px;min-width:48px}
#freshVoiceBar .fresh-karaoke-btn b{display:none}
.karaoke-competition-panel{top:43px;right:3px;max-width:calc(100vw - 6px);max-height:calc(100vh - 48px)}
.karaoke-contestants{gap:4px;padding:4px}
.karaoke-contestant{padding:5px}
.karaoke-contestant>img{width:52px;height:52px}
.karaoke-points{grid-template-columns:1fr 1fr}
.karaoke-points strong{grid-column:1/3}
.karaoke-start-grid,.karaoke-judge-picks{grid-template-columns:1fr}
#freshVoiceBar .fresh-mic-seat.speaking,.live-gift-3d-layer *{animation-duration:.01ms!important;animation-iteration-count:1!important}
.dpnl #wallStories{grid-row:1!important;}
.royal-welcome-layer{left:12px;max-width:calc(100vw - 24px);}
.royal-entry-toast{max-width:calc(100vw - 24px);}
.royal-entry-crowned{
  --royal-accent:#174b75;--royal-jewel:#57c6ff;--royal-glow:#a5dcff;
  width:350px;min-height:178px;filter:drop-shadow(0 7px 10px #0007);
}
.royal-entry-crowned.royal-entry-female{--royal-accent:#75214c;--royal-jewel:#ec66ad;--royal-glow:#ffd1e9;}
.royal-entry-crowned .royal-entry-aura{
  inset:30px 15px 20px 0;background:radial-gradient(ellipse at 25% 50%,var(--royal-glow),transparent 68%);
  box-shadow:none;opacity:.65;
}
.royal-entry-crowned .royal-entry-pic-wrap{left:10px;right:auto;top:48px;width:112px;height:112px;z-index:3;}
.royal-entry-crowned .royal-entry-pic{left:12px;right:auto;top:12px;width:88px;height:88px;object-fit:cover;border:2px solid #fff1c0;}
.royal-entry-crowned .royal-entry-frame{
  inset:0;animation:none;border:3px double #ffe9a5;
  background:repeating-conic-gradient(#fff4c7 0deg 6deg,#b78229 7deg 16deg,#ffdf82 17deg 23deg);
  mask:radial-gradient(circle,transparent 57%,#000 59%);
  -webkit-mask:radial-gradient(circle,transparent 57%,#000 59%);
  filter:drop-shadow(0 0 4px #f6d278);
}
.royal-entry-crown{position:absolute;left:-14px;top:-46px;width:140px;height:88px;overflow:visible;z-index:4;filter:drop-shadow(0 3px 3px #412708aa);}
.royal-crown-jewel{fill:var(--royal-jewel);}
.royal-entry-crowned .royal-entry-ribbon{
  left:101px;right:0;top:78px;min-width:0;height:64px;padding:6px 17px 7px 20px;
  border:2px solid #e2be65;border-radius:2px 10px 10px 2px;gap:2px;flex-direction:column;
  background:linear-gradient(115deg,#080f18,var(--royal-accent) 58%,#17202a);
  box-shadow:inset 0 1px 0 #fff9,inset 0 -3px 0 #9a682b,0 3px 8px #0005;
  text-shadow:0 1px 2px #000;
}
.royal-entry-crowned .royal-entry-ribbon:after{display:none;}
.royal-entry-crowned .royal-entry-title{color:#fce3a0;font-size:12px;max-width:100%;}
.royal-entry-crowned .royal-entry-name{color:#fff8e1;font-size:19px;line-height:26px;max-width:100%;}
.royal-entry-crowned .royal-entry-sub{left:130px;right:8px;top:149px;text-align:center;font-size:11px;color:#ffe8ab;background:#151a24e6;box-shadow:none;padding:2px 5px;}
.royal-entry-spark{position:absolute;left:8px;top:21px;width:20px;height:20px;z-index:5;background:#fff9de;clip-path:polygon(50% 0,60% 40%,100% 50%,60% 60%,50% 100%,40% 60%,0 50%,40% 40%);animation:royalCrestShine 1.8s ease-in-out infinite;}
.royal-entry-toast:not(.royal-entry-crowned) .royal-entry-ribbon{min-width:0;width:calc(100% - 98px);gap:3px;padding:0 12px;}
.royal-entry-toast:not(.royal-entry-crowned) .royal-entry-ribbon:after{display:none;}
.royal-entry-title{overflow:hidden;text-overflow:ellipsis;}
.royal-entry-toast{transition:none;transform:none;}
.royal-entry-frame,.royal-entry-spark{animation:none;}
.karaoke-contestants.karaoke-solo{grid-template-columns:minmax(0,1fr)!important;}
.story-sheet-head{position:relative;text-align:center;padding:14px;border-bottom:1px solid #eee;flex:none;}
.story-sheet-head button{position:absolute;right:10px;top:8px;border:0;border-radius:50%;font-size:26px;background:#f4f4f4;color:#222;}
.story-sheet-list{flex:1;min-height:0;overflow:auto;padding:12px;}
.story-comment{padding:10px;border-bottom:1px solid #eee;text-align:right;overflow-wrap:anywhere;}
.story-comment p{margin:5px 0;white-space:pre-wrap;}
.story-sheet-form{display:flex;flex:none;gap:6px;padding:8px;direction:ltr;border-top:1px solid #eee;}
.story-sheet-form input{flex:1;min-width:0;border:1px solid #ddd;border-radius:22px;padding:9px;direction:rtl;font-size:16px;}
.story-sheet-form button{border:0;border-radius:22px;background:#345c73;color:white;padding:8px 14px;}
.wc-entry-note{color:#616b77;font-size:11px;}
.wc-leader{display:flex;align-items:center;gap:8px;padding:9px;background:linear-gradient(115deg,#153442,#386c71);border:1px solid #d2b270;border-radius:9px;color:#fff1c9;}
.wc-leader img{height:40px;width:40px;object-fit:cover;border-radius:50%;}
.wc-leader .wc-badge{object-fit:contain;width:32px;height:32px;border-radius:0;}
#wcContent .wc-question-image{display:block;max-height:300px;max-width:100%;width:100%;object-fit:contain;border-radius:8px;background:#15232d;}
.wc-answer,.wc-results{padding:10px;border:1px solid #cbb264;background:#fff9de;border-radius:8px;margin:8px 0;}
.wc-messages{max-height:200px;overflow-y:auto;background:white;padding:6px;border:1px solid #d9dfe4;margin-top:8px;}
.wc-messages:empty{display:none;}
.wc-session-status{padding:8px;background:#fff3cf;border:1px solid #d8bc76;font-weight:bold;border-radius:6px;}
#filterMonitorButton{position:absolute;right:3px;top:65%;z-index:1050;border-radius:50%;border:2px solid #e19733;background:#192b37;color:#fff;width:34px;height:42px;padding:2px;display:flex;align-items:center;justify-content:center;flex-direction:column;font-size:14px;}
#filterMonitorButton b{font-size:11px;line-height:12px;}
#filterMonitorPanel{position:fixed;z-index:2200;border:2px solid var(--theme-header-bg,#4c7d7b);background:#f4f5fa;display:flex;flex-direction:column;box-sizing:border-box;font:13px/1.5 Tahoma,Arial;}
#filterMonitorPanel header{display:flex;align-items:center;justify-content:space-between;padding:5px 8px;background:var(--theme-header-bg,#4c7d7b);color:white;}
#filterMonitorPanel button{cursor:pointer;}
#filterMonitorPanel .monitor-close{background:#d9534f;color:#fff;border:0;font-size:22px;}
#filterMonitorPanel .monitor-clear{background:#c52239;color:#fff;border:0;padding:4px;}
#filterMonitorPanel .monitor-scope{width:100%;height:30px;}
#filterMonitorPanel .monitor-rows{overflow:auto;min-height:0;flex:1;padding:5px;}
#filterMonitorPanel .monitor-card{border:1px solid #ddd;background:#fff;border-radius:4px;padding:7px;margin-bottom:7px;text-align:center;overflow-wrap:anywhere;}
#filterMonitorPanel .monitor-type{display:inline-block;background:#c52239;color:white;border-radius:4px;padding:1px 24px;}
#filterMonitorPanel .monitor-author{display:flex;gap:5px;align-items:center;text-align:right;}
#filterMonitorPanel img{width:28px;height:28px;object-fit:cover;}
#filterMonitorPanel p{margin:4px 0;background:#f7f7fa;white-space:pre-wrap;}
#filterMonitorPanel > header,#filterMonitorPanel > button,#filterMonitorPanel > select{flex:0 0 auto;min-width:0;max-width:100%;box-sizing:border-box;}
#filterMonitorPanel .monitor-rows{min-width:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;}
#filterMonitorPanel .monitor-card,#filterMonitorPanel .monitor-author{min-width:0;overflow-wrap:anywhere;}
#freshRoomMusicPanel .music-owner{font-weight:bold;color:#ffd67c;padding:3px 0;overflow-wrap:anywhere;}
#roomSceneLayer{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden;contain:paint;background-position:center bottom;background-size:cover;background-repeat:no-repeat;}
#roomSceneLayer i{position:absolute;display:block;pointer-events:none;}
#roomSceneLayer .scene-stars{inset:0 0 25%;background:radial-gradient(circle at 13% 17%,#fff9 0 1px,transparent 2px),radial-gradient(circle at 38% 8%,#ffdc8799 0 1px,transparent 2px),radial-gradient(circle at 68% 29%,#fff9 0 1px,transparent 2px),radial-gradient(circle at 83% 38%,#fff9 0 1px,transparent 2px),radial-gradient(circle at 29% 46%,#c5eaff99 0 1px,transparent 2px);animation:roomSceneStars 8s ease-in-out infinite alternate;}
#roomSceneLayer .scene-moon{inset:0;background:radial-gradient(ellipse at 86% 12%,#fff6cd22,transparent 24%);animation:roomSceneMoon 6s ease-in-out infinite alternate;}
#roomSceneLayer .scene-glow{inset:65% 10% 3%;background:radial-gradient(ellipse at 50% 65%,#ffa12c66,transparent 65%);animation:roomSceneFire 2.6s ease-in-out infinite alternate;}
#roomSceneLayer i{animation:none!important;}
#roomSceneLayer .scene-fire{position:absolute;left:5%;bottom:100px;width:clamp(95px,13vw,190px);height:clamp(75px,10vw,135px);pointer-events:none;opacity:.94;}
#roomSceneLayer .scene-log{position:absolute;bottom:0;left:10%;width:85%;height:15%;border-radius:50%;background:repeating-linear-gradient(8deg,#281509 0 5px,#80451a 7px,#3b2413 10px);box-shadow:0 -5px 17px #fb7e3266;transform:rotate(-5deg);}
#roomSceneLayer .scene-flame{bottom:10%;left:calc(8% + var(--flame)*10%);width:25%;height:calc(50% + var(--flame)*4%);border-radius:80% 15% 70% 35%;background:radial-gradient(ellipse at 45% 85%,#fff4b2 0 12%,#ffcf47 24%,#ff851fee 50%,#df340a88 68%,transparent 73%);transform-origin:50% 100%;animation:sceneFlameDance calc(.8s + var(--flame)*.14s) ease-in-out infinite alternate;animation-delay:calc(var(--flame)*-.3s);}
#roomSceneLayer .scene-waves{position:absolute;inset:48% -10% 90px;overflow:hidden;opacity:.48;}
#roomSceneLayer .scene-waves i{inset:0;background:repeating-radial-gradient(ellipse at 50% 90%,transparent 0 28px,#7ff4ff55 30px,transparent 34px 58px);animation:sceneSurf 8s ease-in-out infinite alternate;transform-origin:center bottom;}
#roomSceneLayer .scene-waves i+ i{animation-delay:-4s;opacity:.45;}
#roomSceneLayer .scene-stars{animation-duration:4s!important;opacity:.9;}
#roomSceneLayer *{animation:none!important;}
#roomSceneLayer .room-scene-video{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;pointer-events:none;z-index:0;}
#roomSceneLayer .room-scene-video{object-fit:contain;}
#karaokeCompetitionPanel{display:flex;flex-direction:column;overflow:hidden;min-width:0;min-height:0}
#karaokeCompetitionPanel .karaoke-head{position:relative;flex:0 0 42px;grid-template-columns:minmax(0,1fr) auto repeat(3,28px);gap:4px;cursor:move;touch-action:none;user-select:none}
#karaokeCompetitionPanel .karaoke-head button{width:28px;height:28px;padding:0;border:1px solid #ffffff55;border-radius:7px;background:#230e43;color:white;font-size:20px;cursor:pointer;touch-action:manipulation}
#karaokeCompetitionPanel .karaoke-scroll{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
#karaokeCompetitionPanel .karaoke-actions{flex:0 0 auto;max-height:90px;overflow:auto;padding:7px 22px 9px;background:#160d28}
#karaokeCompetitionPanel .fresh-live-resize{background:linear-gradient(135deg,transparent 50%,#e8b5ff 51%,transparent 58%,transparent 68%,#e8b5ff 69%,transparent 76%);position:absolute;bottom:0;right:0;width:22px;height:22px;cursor:nwse-resize;touch-action:none;z-index:10}
#karaokeCompetitionPanel.live-compact .karaoke-contestants{grid-template-columns:minmax(0,1fr)}
#karaokeCompetitionPanel.live-compact .karaoke-contestant>img{width:38px;height:38px}
#karaokeCompetitionPanel.live-compact .karaoke-head b{font-size:12px}
#karaokeCompetitionPanel .karaoke-clock{font-size:10px;padding:4px}
.live-gift-store{background:linear-gradient(155deg,#262239,#12101c)!important;color:#fff!important;border:1px solid #927bb866!important;border-radius:20px!important;max-height:85vh;overflow:auto;}
.live-gift-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px;max-height:48vh;overflow-y:auto;overscroll-behavior:contain;}
.live-gift-item{min-width:0;min-height:110px;background:linear-gradient(160deg,#ffffff0d,#ffffff03)!important;border:1px solid #ffffff18!important;color:#fff!important;border-radius:12px;transition:background .15s,transform .15s;}
.live-gift-item:hover,.live-gift-item:focus-visible{background:#7954a644!important;border-color:#e992f0!important;}
.live-gift-item img,.live-gift-item>span{width:clamp(40px,12vw,70px);height:65px;object-fit:contain;}
.live-gift-item b{font-size:12px;white-space:normal;line-height:1.4;text-align:center;}
.live-gift-item small{font-size:11px;color:#ffd568!important;text-align:center;}
.live-gift-store .gift-wallet{background:#ffffff0c;color:#ffd568;}
#roomSceneLayer.film-scene-layer{background-size:cover;background-position:center;}
#roomSceneLayer .film-scene-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none;filter:saturate(1.08);}
.room-ambience-button.needs-play:after{content:'▶';position:absolute;right:0;top:0;color:#ffdf9c;}
.room-ambience-panel{position:fixed;top:clamp(75px,15vh,140px);right:12px;width:min(330px,calc(100vw - 24px));max-height:65dvh;overflow:auto;z-index:2000050;padding:18px;border:1px solid var(--room-edge);border-radius:20px;background:var(--room-panel);color:var(--room-ink);box-shadow:0 15px 45px #0006;direction:rtl;}
.room-ambience-panel[hidden]{display:none!important;}
.room-ambience-panel strong{display:block;padding-left:35px;color:var(--room-accent);}
.room-ambience-panel p{font-size:13px;line-height:1.7;}
.room-ambience-panel button{background:var(--room-button);border:1px solid var(--room-edge);border-radius:10px;padding:8px;color:var(--room-ink);cursor:pointer;}
.room-ambience-panel .ambience-close{position:absolute;left:10px;top:10px;padding:3px 11px;font-size:21px;}
.room-ambience-panel label{display:flex;gap:12px;align-items:center;margin-bottom:10px;}
.room-ambience-panel input{min-width:0;flex:1;accent-color:var(--room-accent);}
#roomSceneLayer .scene-incense{position:absolute;bottom:90px;left:5%;width:150px;height:250px;z-index:2;pointer-events:none;opacity:0;transition:opacity .6s;}
#roomSceneLayer.incense-on .scene-incense{opacity:.85;}
#roomSceneLayer .scene-incense i{position:absolute;bottom:25px;left:35%;width:65px;height:120px;border-radius:50%;background:radial-gradient(ellipse,#ffffff5c,transparent 68%);filter:blur(7px);animation:incenseRise39 7s linear infinite;animation-delay:calc(var(--puff)*-1s);animation-play-state:paused;}
#roomSceneLayer.incense-on .scene-incense i{animation-play-state:running;}
#roomSceneLayer .scene-incense i{animation:none!important;opacity:.3;transform:translateY(-40px);}
#roomSceneLayer.sacred-scene .film-scene-video{object-fit:contain;}
#roomSceneLayer.living-scene .film-scene-video{filter:brightness(1.09) saturate(1.1) contrast(1.025);}
.scene-rain42,.scene-glints42{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:2;}
.scene-rain42 i{position:absolute;left:var(--x);top:-12%;width:1px;height:26px;background:linear-gradient(transparent,#e5f6ff85);opacity:.36;animation:sceneRain42 var(--speed) var(--delay) linear infinite;}
.scene-glints42 i{position:absolute;left:var(--x);top:var(--y);width:3px;height:3px;border-radius:50%;background:#fff4cb;box-shadow:0 0 7px #f7e5aa;animation:sceneGlint42 var(--speed) var(--delay) ease-in-out infinite alternate;}
.scene-hearth42{position:absolute;left:0;bottom:12%;width:19%;height:25%;pointer-events:none;background:radial-gradient(ellipse,#ff9d2930,transparent 68%);animation:sceneGlint42 1.7s ease-in-out infinite alternate;}
.scene-tide42{position:absolute;bottom:8%;left:0;width:100%;height:15%;pointer-events:none;background:radial-gradient(ellipse,#7cf8ff18,transparent 70%);animation:sceneGlint42 5s ease-in-out infinite alternate;}
.scene-sleep :is(.scene-rain42 i,.scene-glints42 i,.scene-hearth42,.scene-tide42){animation-play-state:paused!important;}
.scene-rain42,.scene-glints42,.scene-hearth42,.scene-tide42{display:none!important;}
#filterMonitorPanel .monitor-rows{scrollbar-width:auto}
#filterMonitorPanel .monitor-card{font-size:inherit;text-align:right;padding:6px}
#filterMonitorPanel .monitor-type{padding:1px 12px}
#filterMonitorPanel > header,#filterMonitorPanel > button,#filterMonitorPanel > select{flex-shrink:0!important}
#quizPanel51{position:fixed;z-index:2000080;display:flex;flex-direction:column;background:#fff;color:#172f3c;border:2px solid var(--theme-header-bg,#4c7d7b);border-radius:12px;box-shadow:0 12px 35px #0005;overflow:hidden;box-sizing:border-box;font:14px/1.5 Tahoma,Arial}
#quizPanel51 header{display:flex;align-items:center;justify-content:space-between;background:var(--theme-header-bg,#4c7d7b);color:#fff;padding:8px;flex-shrink:0}
#quizPanel51 .quiz-body51{overflow:auto;min-height:0;padding:12px;overscroll-behavior:contain}
#quizPanel51 label{display:block;margin:7px 0;font:inherit}
#quizPanel51 label[hidden]{display:none}
#quizPanel51 input[type=number],#quizPanel51 select{max-width:100%;width:100%;color:#172f3c;background:#fff;border:1px solid #bbcbd1;padding:7px;border-radius:5px}
#quizPanel51 button{cursor:pointer;border:0;border-radius:5px;padding:7px;background:var(--theme-header-bg,#4c7d7b);color:white;font:inherit}
#quizPanel51 .quiz-close51{font-size:24px;padding:0 9px}
#quizPanel51 .quiz-actions51{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
#quizPanel51 fieldset{border:1px solid #cad8de;padding:8px;min-width:0}
#quizPanel51 legend{font:inherit;width:auto;border:0;padding:0 4px;margin:0}
.quiz-bot-message51 .u-msg{white-space:pre-line!important}
.profile-visitor74 {padding:5px;border-bottom:1px solid #e8edf2;overflow-wrap:anywhere;}
.profile-visit-alerts-on {box-shadow:inset 4px 0 #28a745;}
.scene-snow78{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:2}
.scene-snow78 i{position:absolute;left:var(--x);top:-12px;width:5px;height:5px;border-radius:50%;background:#fff;opacity:.6;animation:sceneSnow78 calc(var(--speed)*2) var(--delay) linear infinite}
.scene-season78{position:absolute;inset:0;pointer-events:none;z-index:1}
.season-winter78 .scene-season78{background:linear-gradient(#b9defc12,#26457024)}
.season-summer78 .scene-season78{background:radial-gradient(ellipse at 15% 10%,#ffcf592b,transparent 70%)}
.scene-sleep :is(.scene-snow78 i,.scene-incense i){animation-play-state:paused!important}
.scene-snow78{display:none!important}
@keyframes storyMagicSpin{to{transform:rotate(360deg)}}
@keyframes freshMusicPulse{0%{opacity:.25;transform:scale(.92)}50%{opacity:1;transform:scale(1)}100%{opacity:.25;transform:scale(.92)}}
@keyframes royalFrameSpin{to{transform:rotate(360deg);}}
@keyframes memberFrameMagicGlow{
  from{box-shadow:inset 0 0 0 2px var(--member-frame-glow),0 0 3px var(--member-frame-glow)!important;}
  to{box-shadow:inset 0 0 0 3px var(--member-frame-glow),0 0 11px var(--member-frame-glow)!important;}
}
@keyframes liveBattleHeart{0%{opacity:0;transform:translate(-50%,0) scale(.5)}25%{opacity:1}100%{opacity:0;transform:translate(calc(-50% + 20px),-105px) scale(1.35)}}
@keyframes liveGiftIn{from{opacity:0;transform:translateX(-30px)}to{opacity:1;transform:none}}
@keyframes karaokeButtonPulse{50%{box-shadow:0 0 14px #ff3a8c,inset 0 0 0 2px #fff;transform:translateY(-1px)}}
@keyframes micSpeakingPulse{from{transform:scale(.97);box-shadow:0 0 4px #39ff88!important}to{transform:scale(1.045);box-shadow:0 0 18px #39ff88!important}}
@keyframes karaokeHeartFly{to{transform:translate(-35px,-90px) rotate(-20deg) scale(1.8);opacity:0}}
@keyframes royalCrestShine{0%,100%{opacity:.25;transform:scale(.6) rotate(0deg);}50%{opacity:1;transform:scale(1.15) rotate(25deg);}}
@keyframes roomSceneStars{from{opacity:.25;transform:translateY(0)}to{opacity:.8;transform:translateY(-6px)}}
@keyframes roomSceneMoon{from{opacity:.35}to{opacity:.85}}
@keyframes roomSceneFire{0%{opacity:.25;transform:scale(.95)}45%{opacity:.5}100%{opacity:.8;transform:scale(1.03)}}
@keyframes sceneFlameDance{0%{transform:scaleX(.75) scaleY(.8) rotate(-8deg);opacity:.7}50%{transform:scaleX(1.1) scaleY(1.08) rotate(4deg);opacity:1}100%{transform:scaleX(.85) scaleY(.95) rotate(10deg);opacity:.85}}
@keyframes sceneSurf{from{transform:translateY(9px) scaleX(1);opacity:.3}to{transform:translateY(-12px) scaleX(1.08);opacity:.85}}
@keyframes incenseRise39{0%{transform:translate(0,15px) scale(.4);opacity:0}18%{opacity:.8}65%{transform:translate(30px,-95px) scale(1.4);opacity:.35}100%{transform:translate(-20px,-180px) scale(1.9);opacity:0}}
@keyframes sceneRain42{from{transform:translate3d(0,-20px,0) rotate(9deg)}to{transform:translate3d(-35px,105vh,0) rotate(9deg)}}
@keyframes sceneGlint42{from{opacity:.12;transform:translateY(0)}to{opacity:.65;transform:translateY(-9px)}}
@keyframes sceneSnow78{to{transform:translate3d(30px,105vh,0)}}
#wall .wall-comments-panel{
  display:none !important;
  visibility:hidden !important;
  opacity:0 !important;
  width:0 !important;
  height:0 !important;
  max-height:0 !important;
  overflow:hidden !important;
}
#wall .wall-comments-panel{
  display:none !important;
  visibility:hidden !important;
  opacity:0 !important;
  width:0 !important;
  height:0 !important;
  overflow:hidden !important;
}
#wallCommentsPanel .wall-comments-head{
  background: var(--final-chat-color) !important;
  background-image:none !important;
  color:#fff !important;
  border-color: var(--final-chat-color) !important;
}
#wallStories{
  background:#fff !important;
}
#wall .wall-comments-panel{
  display:none;
  visibility:visible !important;
  opacity:1 !important;
  width:320px !important;
  max-width:calc(100vw - 16px) !important;
  min-height:220px !important;
  max-height:calc(100vh - 90px) !important;
  height:auto !important;
  overflow:hidden !important;
}
#wallCommentsPanel .wall-comments-close{
  background:var(--final-chat-color) !important;
  border:1px solid rgba(255,255,255,.7) !important;
  color:#fff !important;
}
#wallCommentsPanel .wall-comments-send{
  background:var(--final-chat-color) !important;
  border-color:var(--final-chat-color) !important;
  color:#fff !important;
}
#wall .wall-comments-input{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  background:#fff !important;
  color:#111 !important;
}
#wall .wall-comments-panel{
    left:6px !important;
    right:6px !important;
    top:44px !important;
    width:auto !important;
    max-width:none !important;
    max-height:calc(100vh - 120px) !important;
  }
#storyViewer video{
    max-width:100%;
    height:auto;
  }
.wall-comments-panel[style*="display: none"],.wall-comments-panel[style*="display:none"] {
    pointer-events: none !important;
  }
.member-banner-frame-panel .mbf-preview.member-frame-custom > .u-pic{
  position:absolute !important;
  z-index:7 !important;
  top:20px !important;
  right:11px !important;
  left:auto !important;
  width:36px !important;
  height:36px !important;
  min-width:36px !important;
  min-height:36px !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  outline:0 !important;
  border-radius:50% !important;
  object-fit:cover !important;
  box-shadow:none !important;
  animation:none !important;
}

.ksa-error{position:fixed;bottom:50px;left:10px;background:#fff5d8;color:#512f00;padding:8px;z-index:999999;max-width:85%;font:14px Tahoma}
#ksa-native-dialog{position:fixed;top:12%;left:5%;width:90%;max-height:75%;overflow:auto;z-index:350000;background:white;color:#222;border:1px solid #888;padding:8px;direction:rtl}
#ksa-native-dialog>button:first-child{float:left}.ksa-flash-list{display:grid;grid-template-columns:repeat(4,1fr);gap:4px}.ksa-flash-list img{width:100%;height:75px;object-fit:contain}.ksa-preview{max-width:100%;max-height:300px;object-fit:contain}
#settingsAddonsPanel,#notificationsPanel,#gamesPanel{display:none;position:fixed;top:10%;right:3%;width:94%;max-width:460px;max-height:78%;overflow:auto;background:white;color:#222;border:1px solid #777;z-index:320000;direction:rtl;padding:8px}
.ksa-extra-close{float:left;cursor:pointer}.ksa-added-action{display:block;width:100%;text-align:right;margin:4px 0}

.ksa-member-frame{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;pointer-events:none}#wall.contest-tab-open #d2bc,#wall.contest-tab-open .tablebox{display:none!important}

.film-room #room{isolation:isolate}.film-room #roomSceneLayer{z-index:-1!important}.film-room #d2{background:transparent!important}.film-room #d2 .mm{background:var(--scene-glass,transparent)!important;color:var(--room-ink)!important}.film-room #d2 .u-topic{color:var(--room-accent)!important}.film-room #d2 .u-msg{color:var(--room-ink)!important;text-shadow:0 1px 2px #000}.room-ambience-button{display:block;margin:4px;width:95%}

/* Scoped feature controls; original dimensions and type remain in native CSS. */
#premiumFeaturesOverlay{display:none!important;position:fixed;inset:0;background:rgba(0,0,0,.5);align-items:center;justify-content:center;padding:12px;box-sizing:border-box}
#premiumFeaturesOverlay.is-open{display:flex!important}
#premiumFeaturesOverlay .chat-feature-dialog{background:#fff;color:#222;border:1px solid #888;border-radius:8px;padding:12px;width:340px;max-width:100%;box-sizing:border-box}
#premiumFeaturesOverlay button{display:block;width:100%;margin:6px 0;font:inherit;color:inherit;padding:6px;border:1px solid #999;border-radius:4px;background:#f3f3f3}
#appearancePasswordOverlay,.chat-feature-overlay:not(#premiumFeaturesOverlay){position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.5);padding:12px}
.chat-feature-overlay .chat-feature-dialog{background:#fff;color:#222;padding:12px;border-radius:6px;max-width:94%;box-sizing:border-box}
#settings .ksa-added-action{font:inherit;border-radius:0;width:100%;margin:2px 0;text-align:center}
#settings #ksa-premium{color:#fff5bd!important;border-color:#d8b451!important;background:linear-gradient(110deg,#282212,#806922,#dbbd58,#282212)!important;background-size:250% 100%!important;animation:ksaPremiumGlow 3s linear infinite}
@keyframes ksaPremiumGlow{0%{background-position:0% 50%}100%{background-position:250% 50%}}
#settings #ksa-rowbanner{background:linear-gradient(110deg,#254c72,#5c376b)!important;color:white!important}
#settingsAddonsPanel .settings-addon-entry,#settingsAddonsPanel .ksa-added-action{display:block;box-sizing:border-box;width:100%;margin:3px 0;padding:5px;text-align:right;border:1px solid #aaa;border-radius:3px;font-size:inherit;line-height:inherit;color:inherit;background:#f5f5f5}
#settingsAddonsPanel .settings-inner-head{display:flex;align-items:center;gap:6px;margin-bottom:6px}
.ksa-avatar{position:relative;isolation:isolate}.ksa-avatar-host{display:inline-block;position:relative;flex-shrink:0}.ksa-avatar-host>.u-pic{display:block;margin:0!important}
.ksa-frame-builtin{box-shadow:inset 0 0 0 3px var(--ksa-frame-color)}
.ksa-member-frame{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;pointer-events:none;z-index:2}
.ksa-has-artwork{background-image:var(--ksa-row-art)!important;background-size:100% 100%!important;background-position:center!important;background-repeat:no-repeat!important}
.ksa-profile-icon{max-width:60px;max-height:22px;object-fit:contain;vertical-align:middle;margin-inline:3px}
#profileGiftPicker45{position:fixed;background:white;color:#222;border:1px solid #888;max-width:94%;max-height:75%;overflow:auto}
#profileGiftPicker45 header{display:flex;justify-content:space-between;padding:5px}
.profile-gifts-scroll45{display:flex;flex-wrap:wrap;overflow:auto;max-height:260px}.profile-gifts-scroll45 img{width:42px;height:42px;object-fit:contain}
.film-room #room .btn-primary,.film-room #room .label-primary,.film-room #mic .mic,.film-room #mic #muteall{background:var(--room-button)!important;color:var(--room-ink)!important;border-color:var(--room-edge)!important}
.film-room #room #d0>*,.film-room #room #d2 .mm{border-color:var(--room-line)!important}
.film-room #room #d2 .u-msg,.film-room #room #d2 .u-topic{background-color:transparent!important}
@media(prefers-reduced-motion:reduce){#settings #ksa-premium{animation:none}}

/* Contextual member artwork. A member banner is never a message or avatar image. */
.ksa-has-artwork{background-size:cover!important;background-position:center!important}
#d2 .ksa-has-artwork,#d2bc .ksa-has-artwork,.private-window .ksa-has-artwork{background-image:none!important}
.ksa-avatar{position:relative;isolation:isolate}
.ksa-framed-avatar{background-image:none!important}
.ksa-avatar-host{display:inline-block;position:relative;flex-shrink:0}
.ksa-avatar-host.ksa-framed-avatar>.u-pic{visibility:hidden}
.ksa-frame-plane{display:block;position:absolute;pointer-events:none;isolation:isolate;overflow:visible}
.ksa-framed-photo{position:absolute;object-fit:cover;pointer-events:none;z-index:1;display:block}
.ksa-frame-plane>.ksa-member-frame{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;pointer-events:none;z-index:2}
.ksa-frame-plane>.ksa-member-frame[hidden]{display:none!important}
.ksa-built-frame:before{content:'';position:absolute;inset:0;border-radius:50%;padding:3px;background:conic-gradient(var(--ksa-ring-color),#fff,var(--ksa-ring-color),transparent,var(--ksa-ring-color));mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;animation:ksaFrameOrbit112 5s linear infinite;z-index:2}
@keyframes ksaFrameOrbit112{to{transform:rotate(360deg)}}
.ksa-profile-background{background-image:var(--ksa-profile-bg)!important;background-size:cover!important}
#settings .ksa-added-action.ksa-native-setting,#settingsAddonsPanel .ksa-native-setting{display:inline-block;width:98%;margin:2px 4px;padding:8px;border-radius:4px;text-align:center}
@keyframes ksaPremiumTwinkle112{0%,100%{opacity:1;text-shadow:none}50%{opacity:.72;text-shadow:0 0 4px #dfbb37}}
#mic>.ksa-mic-custom{background-image:var(--ksa-mic-icon)!important;background-position:center!important;background-size:contain!important;background-repeat:no-repeat!important}
@media(prefers-reduced-motion:reduce){.ksa-built-frame:before,#settings #ksa-premium.ksa-native-setting{animation:none}}

/* Member frame scope is the roster/entry list. Banner presence is a corner square; ordinary avatars retain the full side stripe. */
#users>.ksa-has-artwork,#lonline>.ksa-has-artwork{position:relative;box-sizing:border-box;min-height:62px;aspect-ratio:650/186;background-size:100% 100%!important}
#users>.ksa-has-artwork>.d-flex,#lonline>.ksa-has-artwork>.d-flex{min-height:62px;align-items:center}
#users>.ksa-has-artwork .ustat{position:absolute!important;top:3px;left:3px;width:11px!important;height:11px!important;min-height:11px!important;max-height:11px!important;border-radius:3px;background-color:var(--ksa-presence-color);object-fit:fill;z-index:4}
.ksa-has-artwork:not(.ksa-native-name-bg) .u-topic{background-color:transparent!important}
.ksa-feature-panel{background:#fff!important;color:#222!important;border:1px solid var(--ksa-ui-header,#545e6b)!important;box-shadow:0 5px 20px #0004;border-radius:5px;overscroll-behavior:contain;isolation:isolate}
.ksa-feature-panel>.settings-inner-head,.ksa-feature-panel>.chat-notifications-head,.ksa-feature-panel>.chat-games-head,.ksa-feature-panel>header,.ksa-feature-panel>.fresh-room-music-head{display:flex!important;align-items:center;gap:6px;justify-content:space-between;min-height:30px;padding:5px 7px;background:var(--ksa-ui-header,#545e6b)!important;color:#fff!important;border-radius:3px 3px 0 0}
.ksa-feature-panel .settings-inner-back{float:none!important;background:transparent!important;color:inherit!important;border:1px solid #fff5}
#settingsAddonsPanel .settings-addon-entry,#settingsAddonsPanel .ksa-added-action{background:#f8f8ff;color:#222;border-color:#bcc3ca;border-radius:4px}
#settings #ksa-premium.ksa-native-setting{color:#fff4c6!important;background:linear-gradient(110deg,#3c3213,#9b7b2b,#4d3a14)!important;animation:ksaPremiumTwinkle112 2s ease-in-out infinite}
#settings #ksa-rowbanner.ksa-native-setting{color:#fff!important;background:linear-gradient(110deg,#34516b,#426d79)!important}
#settings #ksa-addons.ksa-native-setting{color:#fff!important;background:var(--ksa-ui-header,#545e6b)!important}
#mic.ksa-media-ready{box-sizing:border-box;flex:0 0 54px;height:54px!important;min-height:54px;max-height:54px;display:flex!important;align-items:center;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}
#mic.ksa-media-ready>.mic,#mic.ksa-media-ready>#muteall,#mic>.ksa-room-media{flex-shrink:0}
#mic>.ksa-room-media{width:48px;height:50px;margin-right:2px;padding:0;display:flex;align-items:center;justify-content:center;cursor:pointer}
#mic>.ksa-room-music{background:#174968;color:#f4d762;font-size:32px!important}
#mic>.ksa-room-live{width:66px;background:#e7e7e7;color:#d22;gap:3px;font-size:13px!important}
.film-room #mic>.ksa-room-media{background:var(--room-button)!important;border-color:var(--room-edge)!important;color:var(--room-ink)!important}

/* Native docked settings views share the existing panel and scroll area. */
#dpnl>.ksa-docked-view{position:relative!important;inset:auto!important;transform:none!important;margin:0!important;box-sizing:border-box;width:100%!important;max-width:100%!important;height:auto!important;min-height:0;max-height:none!important;flex:1;overflow:auto;box-shadow:none;border:0!important;border-radius:0;padding:3px}
#settings #ksa-addons.ksa-native-setting{background:linear-gradient(110deg,#4a0780,#8641bd,#9d64de)!important;color:white!important}
#settings #ksa-rowbanner.ksa-native-setting{background:#42b7d8!important;color:white!important}
#mic.ksa-voice-disabled{display:none!important}
.ksa-room-options{display:block;clear:both;padding:0 0 8px}
.chat-notification-item{border-bottom:1px solid #d3d9e1;padding:7px;min-height:45px;text-align:right}
.chat-notification-top{display:flex;gap:5px;align-items:center}.chat-notification-pic{width:28px;height:28px;object-fit:cover}.chat-notification-time{margin-inline-start:auto;color:#777}.chat-notification-body{padding:3px 0}.chat-notification-item.is-unread{background:#f2f6fd}
#ksa-nickname-history .modal-body{max-height:65vh;overflow:auto}#ksa-nickname-history td{overflow-wrap:anywhere}

#users>.uzr:not(.ksa-has-artwork) .ustat{height:62px!important;width:4px!important;min-height:62px!important;max-height:62px!important;flex:0 0 4px;align-self:flex-start;border-radius:0}

#mic>.room-ambience-button{flex-shrink:0;width:55px;height:50px;padding:2px;margin:0 2px 0 0;position:relative}

#ksa-nickname-history .modal-content{width:500px;max-width:calc(100vw - 12px)}
#ksa-nickname-history .modal-body{padding:0;max-height:70vh;overflow:auto}
.ksa-nickname-count{text-align:center;font-weight:bold;padding:5px;background:#edf3ff}
.ksa-nickname-scroll{overflow:auto;max-width:100%}
.ksa-nickname-table{border-collapse:collapse;width:100%;font:inherit;table-layout:fixed;color:#111;background:white}
.ksa-nickname-table th,.ksa-nickname-table td{padding:5px 3px;border:1px solid #777;text-align:center;vertical-align:middle;overflow-wrap:anywhere}
.ksa-nickname-table th{background:#5c8ff5;color:white;position:sticky;top:0;z-index:1}
.ksa-nickname-table th:first-child{width:26px}.ksa-nickname-table th:nth-child(2){width:100px}
.ksa-nickname-device td{text-align:left;background:#f7f7fb;font-size:.9em}

/* Circle artwork, not only a circular portrait inside a rectangular frame. */
.ksa-frame-plane{border-radius:50%;overflow:hidden}
.ksa-frame-plane>.ksa-member-frame{border-radius:50%;object-fit:cover;-webkit-mask-image:radial-gradient(circle closest-side,transparent 77%,#000 80%);mask-image:radial-gradient(circle closest-side,transparent 77%,#000 80%)}
#users>.ksa-has-artwork,#lonline>.ksa-has-artwork{aspect-ratio:650/186;min-height:74px;padding-block:5px;width:100%!important;max-width:100%;margin-inline:0!important;background-origin:border-box;background-clip:border-box}
#users>.ksa-has-artwork>.d-flex,#lonline>.ksa-has-artwork>.d-flex{align-items:flex-start;min-height:62px}
#users>.ksa-has-artwork .u-pic,#lonline>.ksa-has-artwork .u-pic{height:56px!important;width:56px!important;flex:0 0 56px;border-radius:50%;background-size:cover!important}
#dpnl>.ksa-docked-view{z-index:auto!important}
#settingsAddonsPanel .ksa-native-setting{height:auto;text-align:right!important;border-radius:4px!important;color:#fff!important}
#settingsAddonsPanel .ksa-setting-icon{float:left;margin-left:8px}
#settingsAddonsPanel #notificationsButton{background:#cf608e!important;border-color:#cf608e!important;color:#fff!important}
#settingsAddonsPanel #profileVisitAlertsButton,#settingsAddonsPanel #quizBotButton51,#settingsAddonsPanel #ksa-filter{background:var(--ksa-ui-header,#a3a3a3)!important;color:#fff!important}
#settingsAddonsPanel #profileVisitAlertsButton.profile-visit-alerts-on{border-left:4px solid #42c866!important}
#settingsAddonsPanel #gamesButton{background:#288268!important;color:#fff!important;border-color:#288268!important}
#settingsAddonsPanel #voiceChangerMode,#settingsAddonsPanel #vocalEffectsMode,#settingsAddonsPanel #ksa-karaoke{background:#90004e!important;color:#fff!important;border-color:#90004e!important;border-radius:4px;direction:rtl}
#settingsAddonsPanel .settings-inner-head{border-bottom:1px solid #ddd;padding-block:4px}
#mic>.mic.ksa-default-blue:not(.is-speaking){background-image:url('/imgs/mmz-blue-mic.svg')!important;background-size:contain!important}
#mic>.ksa-room-music{background:#164969!important;font-size:32px!important}
#mic>#muteall{background:#30c669!important;color:#080808!important}
#mic>.ksa-room-karaoke{width:66px;height:50px;flex-shrink:0;margin-right:2px;padding:2px;background:linear-gradient(110deg,#733098,#bc3ab8);color:white;display:inline-flex;align-items:center;justify-content:center;gap:2px}

/* Native modal shells do not cover controls outside their visible card. */
.modal,.modal>.modal-dialog{pointer-events:none}
.modal .modal-content{pointer-events:auto}
/* Games share the existing settings panel, its font, scale and scroll area. */
#gamesPanel .chat-games-content{padding:6px;min-width:0;overflow:hidden}
#gamesPanel button,#gamesPanel select{box-sizing:border-box;touch-action:manipulation}
#gamesPanel button:not(.fa),#gamesPanel select{font:inherit}
#gamesPanel button{border:1px solid #adb7c0;border-radius:4px;padding:6px;background:#f5f6fa;color:#222;cursor:pointer}
#gamesPanel button:active{filter:brightness(.88)}
#gamesPanel button:disabled{cursor:default;opacity:.65}
#gamesPanel .chat-games-title,#gamesPanel .chat-game-divider,#gamesPanel .chat-game-message,#gamesPanel .chat-game-last-action{padding:6px 0;text-align:center;overflow-wrap:anywhere}
#gamesPanel .chat-games-types{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:6px 0}
#gamesPanel .chat-game-type{min-width:0;white-space:normal;overflow-wrap:anywhere}
#gamesPanel .chat-game-type.selected,#gamesPanel .chat-game-start{background:#288268;color:white;border-color:#236f5b}
#gamesPanel .chat-game-start,#gamesPanel .chat-game-opponent{display:block;width:100%;margin:6px 0;min-height:30px}
#gamesPanel .chat-game-opponent{color:#222;background:white;border:1px solid #adb7c0}
#gamesPanel .chat-game-current-title{text-align:center;font-weight:bold;padding:4px}
#gamesPanel .chat-game-players{display:flex;gap:5px;min-width:0}
#gamesPanel .chat-game-player{display:flex;flex:1;align-items:center;gap:4px;min-width:0;padding:4px;border:1px solid #ccc;border-radius:4px;overflow-wrap:anywhere}
#gamesPanel .chat-game-player.active{border-color:#288268;background:#e7f5ee}
#gamesPanel .chat-game-player-pic{width:24px;height:24px;object-fit:cover;flex:none}
#gamesPanel .chat-game-status{text-align:center;padding:7px;color:#245641}
#gamesPanel .chat-game-board{display:grid;direction:ltr;width:100%;max-width:300px;margin:6px auto;gap:4px;aspect-ratio:1}
#gamesPanel .chat-game-board.xo{grid-template-columns:repeat(3,minmax(0,1fr))}
#gamesPanel .chat-game-cell{aspect-ratio:1;font-size:28px;line-height:1;min-width:0}
#gamesPanel .chat-game-cell.mark-x{color:#286ca8}#gamesPanel .chat-game-cell.mark-o{color:#c74151}
#gamesPanel .chat-game-board.four{grid-template-columns:repeat(7,minmax(0,1fr));aspect-ratio:7/6;background:#3464a5;border-radius:6px;padding:5px}
#gamesPanel .chat-game-four-cell{aspect-ratio:1;min-width:0;border-radius:50%;padding:0;background:white}
#gamesPanel .chat-game-four-cell.mark-x{background:#e85a61}#gamesPanel .chat-game-four-cell.mark-o{background:#ffd54b}
#gamesPanel .chat-game-rps{display:flex;gap:5px;margin:8px 0}
#gamesPanel .chat-game-rps-choice{flex:1;min-width:0}
#gamesPanel .chat-game-rps-choice span{display:block;font-size:28px}
#gamesPanel .chat-game-rps-choice small{display:block}#gamesPanel .chat-game-rps-choice.selected{background:#def0e8}
#gamesPanel .chat-ludo-board{display:grid;grid-template-columns:repeat(15,minmax(0,1fr));aspect-ratio:1;direction:ltr;border:2px solid #555;max-width:340px;margin:8px auto;background:#fafafa}
#gamesPanel .chat-ludo-cell{position:relative;min-width:0;min-height:0;display:flex;align-items:center;justify-content:center}
#gamesPanel .chat-ludo-cell.track{border:1px solid #bbb;background:white}
#gamesPanel .yard-red{background:#f5b4ba}#gamesPanel .yard-blue{background:#b2d4f8}
#gamesPanel .home-red,#gamesPanel .start-red{background:#ed6777}#gamesPanel .home-blue,#gamesPanel .start-blue{background:#65a7ee}
#gamesPanel .ludo-center{background:#e7bd5c}#gamesPanel .yard-spot{border-radius:50%;box-shadow:inset 0 0 0 1px #888}
#gamesPanel .chat-ludo-pawn{position:absolute;inset:0;width:100%;height:100%;border-radius:50%;padding:0;font-size:10px;line-height:1;color:white;border:1px solid #555}
#gamesPanel .chat-ludo-pawn.red{background:#d72f4e}#gamesPanel .chat-ludo-pawn.blue{background:#2372cb}#gamesPanel .chat-ludo-pawn.movable{box-shadow:0 0 0 2px #fedb45;z-index:1;opacity:1}
#gamesPanel .chat-ludo-controls,#gamesPanel .chat-pool-score{display:flex;align-items:center;justify-content:space-between;gap:4px}
#gamesPanel .chat-ludo-dice{font-size:28px;padding:0 9px}
#gamesPanel .chat-billiards-table{position:relative;width:100%;aspect-ratio:100/56;box-sizing:border-box;border:8px solid #755034;border-radius:10px;background:#217951;overflow:hidden;direction:ltr;margin:8px 0;touch-action:manipulation}
#gamesPanel .chat-pool-pocket{position:absolute;width:8%;aspect-ratio:1;border-radius:50%;background:#131818;transform:translate(-50%,-50%)}
#gamesPanel .chat-pool-ball{position:absolute;width:6%;aspect-ratio:1;border-radius:50%;background:#edc33f;transform:translate(-50%,-50%);font:9px Arial;text-align:center;color:#111;box-shadow:inset -2px -2px 3px #0005;z-index:2}
#gamesPanel .ball-cue{background:white}#gamesPanel .ball-8{background:#222;color:white}#gamesPanel .ball-2,#gamesPanel .ball-6{background:#4a8ac8}#gamesPanel .ball-3,#gamesPanel .ball-7{background:#e75c60}
#gamesPanel .chat-pool-guide{position:absolute;width:25%;height:1px;background:#ffffffb0;transform-origin:left center;z-index:1;pointer-events:none}
#gamesPanel .chat-pool-score span{flex:1;min-width:0;overflow-wrap:anywhere}
#gamesPanel .chat-pool-controls{display:grid;grid-template-columns:minmax(0,1fr);gap:5px;margin:6px 0}
#gamesPanel .chat-pool-controls label{display:block;font-weight:normal}#gamesPanel .chat-pool-controls input{display:block;width:100%;direction:ltr}

#upro .modal-body{display:flow-root}
.modal .modal-content{max-height:calc(100vh - 100px);max-height:calc(100dvh - 100px);overflow:auto}

/* Presence is shown after login, not on the public landing list. */
#lonline .ustat{display:none!important}
.ksa-entry-country{flex:none;align-self:center;object-fit:contain;margin-inline:3px}
.ksa-entry-country[hidden]{display:none}

/* The conversation scrolls; the native microphone/composer do not shrink. */
#room{min-height:0;overflow:hidden}
#room>#d2{min-height:0;flex:1 1 0;overflow-y:auto;overscroll-behavior:contain}
#room>.footer{flex-shrink:0}
.ksa-connection-notice{position:fixed;inset:0;background:#0009;pointer-events:none;display:flex;justify-content:center;align-items:flex-start;padding:9.5vh 8px 0;box-sizing:border-box;z-index:4000}
.ksa-connection-card{display:flex;direction:rtl;align-items:center;gap:8px;pointer-events:auto;max-width:calc(100vw - 16px);background:#e8b35c;color:#493b20;border:1px solid #d7a452;padding:3px}
.ksa-connection-card>button{flex:none;background:#d9534f;color:#fff;border-color:#c14542;padding:5px 8px;font:inherit}
.ksa-connection-text{padding:4px 6px;overflow-wrap:anywhere}
#ksa-nickname-history .modal-header{display:flex;align-items:center;justify-content:space-between;gap:8px}
#ksa-nickname-history .ksa-kashf-close{opacity:1;color:white;background:#d9534f;min-height:36px;min-width:76px;flex:none}
.ksa-nickname-details{white-space:pre-wrap;text-align:right;direction:rtl}
.ksa-nickname-device code{direction:ltr;display:inline-block;overflow-wrap:anywhere;white-space:normal;user-select:text}

.ksa-member-notice{box-shadow:0 0 0 100vmax #0007}
#upro .ulike.profile-liked{background:#d9534f!important;color:white!important;border-color:#b73532!important}

/* Server-rendered domain description is readable without JavaScript. */
#tlogins>.site-about46{flex:none;direction:rtl;background:#fff;color:#333;padding:3px 7px;font-size:12px;text-align:right;max-height:110px;overflow:auto}
#tlogins>.site-about46 summary{cursor:pointer}
#tlogins>.site-about46 h1{font-size:16px;margin:5px 0}
#tlogins>.site-about46 p{margin:4px 0;line-height:1.5}

/* R9: the row stays beside its avatar at the left; the room is inline. */
#d2 .mmz-room-event-inline{display:inline;direction:rtl;unicode-bidi:isolate}
#d2 .mmz-room-event-inline .roomh{float:none!important;display:inline-block!important;vertical-align:baseline;margin:0 2px!important}
#upro .modal-body{max-height:calc(100vh - 72px);overflow-y:auto}
.mmz-profile-dialog{position:fixed;top:18px;left:50%;transform:translateX(-50%);width:520px;max-width:calc(100vw - 12px);max-height:90vh;overflow:auto;background:#fff;color:#111;border:1px solid #777;box-shadow:0 4px 18px #3338;font:14px Tahoma}
.mmz-profile-dialog>header{display:flex;justify-content:space-between;align-items:center;padding:6px;background:#315b70;color:white;gap:8px}
.mmz-profile-dialog-body{padding:8px;overflow:auto}.mmz-profile-dialog textarea{display:block;width:100%;min-height:80px}
.mmz-profile-history-table{width:100%;border-collapse:collapse}.mmz-profile-history-table th,.mmz-profile-history-table td{padding:5px;border:1px solid #ddd;overflow-wrap:anywhere;max-width:180px}
.mmz-profile-banner-grid{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.mmz-profile-banner-grid img{width:48px;height:48px;object-fit:contain}

#upro .mmz-remove-banner,#upro .mmz-remove-background,#upro .mmz-remove-frame{width:106px;text-align:center;margin:2px;margin-top:4px;color:maroon}

/* Native-sized notice composer, like the original profile popup. */
#mmz-profile-notice.mmz-notice-compact{width:308px;max-width:calc(100vw - 8px);top:78px;border-radius:4px;font-size:12px}
#mmz-profile-notice.mmz-notice-compact>header{padding:3px 5px;min-height:25px}
#mmz-profile-notice.mmz-notice-compact>header button{padding:0 4px;min-height:18px;line-height:18px;border-radius:50%}
#mmz-profile-notice.mmz-notice-compact .mmz-profile-dialog-body{padding:5px;display:flow-root}
#mmz-profile-notice.mmz-notice-compact textarea{height:48px;min-height:48px;resize:none;padding:3px;font:12px Tahoma;direction:rtl}
#mmz-profile-notice.mmz-notice-compact .mmz-notice-error{clear:both;color:#a00;font:11px Tahoma;white-space:normal}
#mmz-profile-notice.mmz-notice-compact .mmz-notice-error:empty{display:none}
#mmz-profile-history{width:820px}#mmz-profile-history .mmz-profile-history-table{font:12px Tahoma}#mmz-profile-history .mmz-profile-history-table td{max-width:180px;padding:4px}

/* R12: one compact session row followed by a full-width device line. */
#mmz-profile-history{width:620px;max-width:calc(100vw - 12px)}
#mmz-profile-history>header{font:12px Tahoma!important;padding:4px 6px}
#mmz-profile-history>header .btn{font:11px Tahoma!important;padding:3px 6px}
#mmz-profile-history .mmz-profile-dialog-body{padding:4px}
#mmz-profile-history .mmz-profile-history-table{table-layout:fixed;width:100%;font:11px Tahoma!important}
#mmz-profile-history .mmz-profile-history-table th,#mmz-profile-history .mmz-profile-history-table td{font:11px/1.45 Tahoma!important;word-break:normal;overflow-wrap:break-word;padding:4px 3px;vertical-align:middle;max-width:none}
#mmz-profile-history .mmz-profile-history-table th:nth-child(1){width:23%}
#mmz-profile-history .mmz-profile-history-table th:nth-child(2){width:21%}
#mmz-profile-history .mmz-profile-history-table th:nth-child(3){width:34%}
#mmz-profile-history .mmz-profile-history-table th:nth-child(4){width:22%}
#mmz-profile-history .mmz-profile-history-table .btn{font:10px/1.4 Tahoma!important;padding:2px 4px;white-space:nowrap}
#mmz-profile-history .mmz-history-device-row>td{padding:3px 4px;background:#f4f6f8;border-bottom:2px solid #9caeba}
#mmz-profile-history .mmz-history-device-line{display:block;max-width:100%;overflow-x:auto;white-space:nowrap;direction:ltr;text-align:left;font:10px/1.5 monospace!important;font-weight:normal!important}
#mmz-profile-history .mmz-history-device-line span,#mmz-profile-history .mmz-history-device-line code{font:10px/1.5 monospace!important;font-weight:normal!important;white-space:nowrap;word-break:normal;overflow-wrap:normal;background:transparent;color:#222;padding:0}

/* R14: native seat menus and explicit listening state. */
.mmz-mic-menu{position:fixed;z-index:2147483000;display:flex;flex-direction:column;min-width:135px;max-width:190px;padding:3px;border:1px solid #526a78;background:#fff;box-shadow:0 3px 8px #0004;font-size:12px}
.mmz-mic-menu button{display:block;width:100%;margin:1px 0;padding:4px 7px;text-align:right;font-size:12px;border-radius:2px}
#mic .mic.mmz-seat-locked{opacity:.65;box-shadow:inset 0 0 0 2px #c62828}
#mic .mic.mmz-seat-locked:after{content:'🔒';font-size:11px}
.fresh-live-tile{position:relative}.mmz-live-pull{position:absolute;right:5px;bottom:36px;z-index:8;padding:3px 6px;font-size:11px}

/* R15: native seat identity, compact listening state and content-sized media. */
#mic>.mic{position:relative;overflow:hidden}
#mic>.mic.mmz-mic-occupied{background-size:cover!important;background-position:center!important}
#mic>.mic.mmz-mic-occupied>.u{position:absolute!important;left:0;right:0;bottom:0;margin:0!important;display:flex!important;align-items:center;background:#ffffffdf!important;min-height:15px;color:#162735}
#mic>.mic.mmz-mic-occupied>.u>img{display:none!important}
#mic>.mic.mmz-mic-occupied>.u>span{display:block!important;width:100%;padding:0 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px!important;line-height:15px;text-align:center;color:inherit!important}
#mic>.mic:not(.mmz-mic-occupied)>.u{display:none!important}
#mic>.mic.speaking{box-shadow:inset 0 0 0 2px #25ca64}
#muteall{display:flex!important;align-items:center;justify-content:center}
#muteall>.fa{margin:0!important;font-size:32px!important;line-height:1}
#freshLiveViewer{display:flex;flex-direction:column;box-sizing:border-box;overflow:hidden}
#freshLiveViewer[style*="display: none"]{display:none}
#freshLiveViewer>.fresh-live-head,#freshLiveViewer>.fresh-live-tools,#freshLiveViewer>.live-battle-actions,#freshLiveViewer>.live-battle-hud{flex:none}
#freshLiveViewer .fresh-live-body{flex:0 1 auto!important;height:auto!important;min-height:0!important;overflow:auto!important;background:transparent!important}
#freshLiveViewer .fresh-live-grid{height:auto!important;min-height:0!important;gap:5px;padding:5px;align-content:start}
#freshLiveViewer .fresh-live-tile{min-width:0;min-height:0!important;max-height:none!important;box-sizing:border-box}
#freshLiveViewer .fresh-live-tile video{position:static!important;inset:auto!important;display:block!important;width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important}
#freshLiveViewer .fresh-live-tools,#freshLiveViewer .live-battle-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;white-space:normal;gap:4px;margin:0}
#freshLiveViewer .live-battle-tap:not([hidden]){display:inline-flex!important;align-items:center;justify-content:center;gap:4px}
#freshLiveViewer .live-battle-tap[hidden]{display:none!important}

/* Keep the domain's existing accent; changes below are scoped to media and wall controls. */
:root{--mmz-media-accent:var(--ksa-ui-header,#545e6b)}
#freshRoomMusicPanel{border-radius:12px!important;overflow:hidden;box-shadow:0 10px 32px #0003!important}
#freshRoomMusicPanel .fresh-room-music-body{padding:12px!important;background:#fff!important;color:#22313f!important}
#freshRoomMusicPanel .fresh-room-music-title,#freshRoomMusicPanel .music-owner{color:#22313f!important;font-size:13px!important;line-height:1.6}
#freshRoomMusicPanel .fresh-room-music-sources{display:grid!important;grid-template-columns:1fr 1fr;gap:6px}
#freshRoomMusicPanel button,#ksa-native-dialog.mmz-media-dialog button{border-radius:9px!important;min-height:32px;padding:6px 10px!important;font-size:12px!important;font-family:inherit;transition:filter .15s}
#freshRoomMusicPanel .fresh-room-music-head{background:var(--mmz-media-accent)!important;color:#fff!important}
#freshRoomMusicPanel .fresh-room-music-head button{min-height:24px}
#freshRoomMusicPanel .music-device{background:#159b60!important;color:#fff!important}
#freshRoomMusicPanel .music-youtube{background:#d94b4b!important;color:#fff!important}
#freshRoomMusicPanel button:not(.music-device):not(.music-youtube):not(:disabled){background:var(--mmz-media-accent);color:#fff}
#freshRoomMusicPanel button:disabled{background:#e8edf1!important;color:#586874!important;opacity:1!important;cursor:not-allowed}
#freshRoomMusicPanel input{border-radius:8px!important;border:1px solid #d4dde4!important;background:#f7f9fb!important;color:#253546!important;padding:7px!important}
#freshRoomMusicPanel .fresh-room-music-progress{border-radius:5px;background:#e8edf1!important;overflow:hidden}
#freshRoomMusicPanel .fresh-room-music-progress span{background:var(--mmz-media-accent)!important}
#freshRoomMusicPanel .fresh-room-music-note,#freshRoomMusicPanel .fresh-room-music-note2{color:#536875!important}
#ksa-native-dialog.mmz-media-dialog{padding:12px!important;border-radius:12px!important}
#ksa-native-dialog.mmz-media-dialog button:not(.btn-danger){background:var(--mmz-media-accent)!important;color:#fff!important;border:0!important}
#ksa-native-dialog.mmz-media-dialog .ksa-flash-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(58px,1fr));gap:6px;margin-top:10px}
#wall>.c-flex{min-height:0}
#wall .wall-contest-tabs{display:flex;flex:0 0 auto;direction:ltr;gap:4px;padding:4px;background:#fff;box-sizing:border-box;width:100%}
#wall .wall-contest-tabs>button{flex:1;min-width:0;border:0!important;border-radius:22px!important;min-height:34px;padding:6px!important;background:var(--mmz-media-accent)!important;color:#fff!important;direction:rtl;font-family:inherit;font-size:12px!important;white-space:nowrap}
#wall .wall-contest-tabs>button.active{box-shadow:inset 0 0 0 2px #ffffff6b}
#wallContestPanel[hidden]{display:none!important}
#wallContestPanel:not([hidden]){display:block;flex:1;min-height:0;overflow:auto;padding:8px;background:#fff;color:#263645;box-sizing:border-box}
#wall.contest-tab-open>.c-flex>#d2bc,#wall.contest-tab-open>.c-flex>.tablebox{display:none!important}
#wallContestPanel button,#wallContestPanel summary{border-radius:7px!important;background:var(--mmz-media-accent)!important;color:#fff!important;border:0!important;padding:6px 9px}
#wallContestPanel input,#wallContestPanel select{background:#fff!important;color:#263645!important;border:1px solid #d5dfe5!important;border-radius:6px;padding:5px;max-width:100%}
#wallContestPanel .wc-leader{background:var(--mmz-media-accent)!important;color:#fff!important;border-color:var(--mmz-media-accent)!important}
#wallContestPanel .wc-session-status,#wallContestPanel .wc-answer,#wallContestPanel .wc-results{background:#f5f8fa!important;color:#263645!important;border-color:#d5dfe5!important}
#wallContestPanel h3,#wallContestPanel .wc-entry-note{color:#263645!important}
#wallContestPanel .wc-messages{background:#fff!important;color:#263645!important;border-color:#d5dfe5!important}
#freshLiveViewer .mmz-live-tap-count{position:absolute;bottom:8px;left:8px;z-index:6;border-radius:16px;padding:4px 9px;background:#fff;color:#db2554;font-weight:bold;font-size:12px;pointer-events:none}

/* R18: colors sampled from the supplied room-entry recording. */
#d2 .mmz-room-notice{background-color:#f8ede6!important}
#d2 .mmz-room-event-inline .roomh{background-color:#2c3d51!important;color:#fff!important;border-color:#111!important}

/* R19: full animated banner is the entire clickable member tile. */
#users>.ksa-full-row-banner,#lonline>.ksa-full-row-banner,[data-front-id].ksa-full-row-banner,.mbf-preview.ksa-full-row-banner{position:relative;isolation:isolate;padding:0!important;background-color:transparent!important;background-size:100% 100%!important}
#users>.ksa-full-row-banner>*,#lonline>.ksa-full-row-banner>*,[data-front-id].ksa-full-row-banner>*,.mbf-preview.ksa-full-row-banner>*{visibility:hidden!important}
#users>.ksa-full-row-banner::after,#lonline>.ksa-full-row-banner::after,[data-front-id].ksa-full-row-banner::after,.mbf-preview.ksa-full-row-banner::after{content:"";position:absolute;inset:0;z-index:10;pointer-events:none;background:var(--ksa-row-art) center/100% 100% no-repeat}

/* R20: conversation-only identities must never become presence rows. */
#users>.mmz-private-peer,#lonline>.mmz-private-peer{display:none!important}
.ksa-session-login{position:fixed;z-index:2147483001;top:52px;left:50%;transform:translateX(-50%);padding:8px 18px}

/* R21: style only the entries shown in the Add-ons panel. */
#settingsAddonsPanel.mmz-modern-addons{padding:8px!important;gap:7px;box-sizing:border-box}
#settingsAddonsPanel.mmz-modern-addons>.settings-addon-entry,#settingsAddonsPanel.mmz-modern-addons>.ksa-added-action{box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-height:42px!important;height:auto!important;margin:0 0 7px!important;padding:10px 13px!important;border-radius:11px!important;border:1px solid #ffffff38!important;box-shadow:0 2px 5px #00000018;font-family:inherit!important;font-size:13px!important;line-height:1.5!important;text-align:right!important;float:none!important;white-space:normal;cursor:pointer}
#settingsAddonsPanel.mmz-modern-addons>select.settings-addon-entry{padding:9px!important;white-space:nowrap;appearance:auto}
#settingsAddonsPanel .ksa-setting-icon{float:left!important;margin:2px 5px;font-size:16px}
#freshLiveViewer.live-compact>.fresh-live-body,#freshLiveViewer.live-compact>.fresh-live-tools,#freshLiveViewer.live-compact>.live-battle-hud,#freshLiveViewer.live-compact>.live-battle-actions,#karaokeCompetitionPanel.live-compact>.karaoke-scroll,#karaokeCompetitionPanel.live-compact>.karaoke-actions{display:none!important}
#freshLiveViewer .fresh-live-head,#karaokeCompetitionPanel .karaoke-head{touch-action:none;cursor:move;min-height:34px;display:flex;align-items:center;gap:6px;padding:4px 7px;box-sizing:border-box}
#freshLiveViewer .fresh-live-head button,#karaokeCompetitionPanel .karaoke-head button{min-width:29px;min-height:28px;border:1px solid #ffffff66;border-radius:6px;cursor:pointer}
#freshLiveViewer .fresh-live-head .fresh-live-title,#karaokeCompetitionPanel .karaoke-head>b{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#karaokeCompetitionPanel .karaoke-scroll{min-height:0!important;height:auto;overscroll-behavior:contain}
#karaokeCompetitionPanel .karaoke-contestant{min-height:0!important;padding:8px!important}
#karaokeCompetitionPanel .karaoke-contestant>img{width:56px!important;height:56px!important;object-fit:cover}
#karaokeCompetitionPanel .karaoke-actions{display:flex;gap:5px;flex-wrap:wrap;padding:6px}
.mmz-room-challenge{position:fixed;inset:0;z-index:2147481800;pointer-events:none;display:flex;justify-content:center;align-items:flex-start;padding-top:16vh;box-sizing:border-box;color:#fff;font:bold 20px Tahoma;text-shadow:0 1px 5px #000;box-shadow:inset 0 0 90px 10px #d544a599;animation:mmz-room-glow 1.2s ease-in-out 3;background:radial-gradient(ellipse at top,#643a9e55,transparent 60%)}
@keyframes mmz-room-glow{0%,100%{opacity:.4}50%{opacity:1}}
@media(prefers-reduced-motion:reduce){.mmz-room-challenge{animation:none}}
@media(max-width:600px){#karaokeCompetitionPanel .karaoke-points{font-size:11px!important}#karaokeCompetitionPanel .karaoke-contestants{gap:5px;padding:5px}.battle-round-intro .round-versus img{max-width:70px;max-height:70px}}

/* R22: compact profile with the native three-button rows from the reference. */
#upro .modal-dialog{width:min(340px,calc(100vw - 16px))!important;max-width:100%!important;margin:14px auto!important}
#upro .modal-content{width:100%!important;margin:0!important;max-height:calc(100dvh - 28px);overflow-y:auto;border-radius:4px}
#upro .modal-body{padding:2px!important}
#upro .pro{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:3px!important;box-sizing:border-box;float:none!important}
#upro .pro>center,#upro .pro>div,#upro .pro>label{grid-column:1/-1;width:100%!important;box-sizing:border-box}
#upro .pro>center>.u-pic{height:210px!important;width:100%!important;background-size:contain!important;background-position:center!important;background-repeat:no-repeat}
#upro .pro>center>.u-pic>.u-pic{background-size:contain!important;background-position:center!important;background-repeat:no-repeat}
#upro .pro>.btn{width:auto!important;float:none!important;margin:0!important;min-height:36px;line-height:1.5;padding:7px 3px;font-size:12px;border-radius:2px;box-sizing:border-box;text-align:center}
#upro .pro>.btn.fa:before{margin-inline-end:3px}
#upro .nickbox,#upro .likebox,#upro .roomzbox,#upro .powerbox{max-width:100%;overflow-wrap:anywhere}
#mic #ksa-room-music,#mic #ksa-room-live,#mic #ksa-room-karaoke{min-height:40px!important;min-width:40px!important;padding:4px 9px!important;margin:2px!important;border:1px solid #ffffff66!important;border-radius:6px!important;box-shadow:0 1px 3px #0003;font-weight:bold;cursor:pointer}
.karaoke-start-card{background:var(--mmz-media-accent,#294c63)!important;color:#fff!important;border:1px solid #ffffff66!important;border-radius:12px!important;max-height:80dvh;overflow-y:auto;box-sizing:border-box;width:min(460px,94vw)!important;direction:rtl;padding:14px!important}
.karaoke-start-card input,.karaoke-start-card select{box-sizing:border-box;width:100%;min-height:38px;color:#182a3a!important;background:#fff!important;border-radius:6px;border:1px solid #a8b8c4;padding:7px;font:14px Tahoma}
.karaoke-start-card .karaoke-start-confirm{background:#22865c!important;color:#fff!important;opacity:1!important;border:1px solid #ffffff66!important;min-height:38px;border-radius:6px}
.karaoke-start-card .karaoke-start-cancel{background:#edf1f4!important;color:#20394b!important;opacity:1!important;border:1px solid #ffffff66!important;min-height:38px;border-radius:6px}
#freshLiveViewer .fresh-live-video{object-fit:cover!important;width:100%!important;height:100%!important}
#freshLiveViewer .fresh-live-tile{border-radius:8px;overflow:hidden;background:#10151a}
.mmz-social-editor,#mmz-private-call{position:fixed;z-index:2147482800;top:12vh;left:50%;transform:translateX(-50%);width:min(340px,92vw);padding:12px;box-sizing:border-box;background:#f7fafc;color:#182c3c;border:1px solid #8299aa;border-radius:10px;box-shadow:0 7px 28px #0005;font:14px/1.6 Tahoma;direction:rtl}
.mmz-social-editor input{width:100%;padding:9px;box-sizing:border-box}.mmz-social-editor button,#mmz-private-call button{padding:8px 12px;margin:4px;border:1px solid #8399a8;border-radius:6px;color:#123;background:#fff;cursor:pointer}
#mmz-private-call header{background:var(--mmz-media-accent,#294c63);color:#fff;padding:5px 8px;margin:-12px -12px 10px;border-radius:9px 9px 0 0}#mmz-private-call header button{float:left;padding:0 8px;margin:0}.pc-actions{display:flex;justify-content:center;gap:6px}.pc-actions button:first-child{background:#21865b!important;color:#fff!important}
.mmz-gift-stage:before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at center,#d99f2f42,transparent 70%);box-shadow:inset 0 0 65px #f5b83888;animation:mmz-gift-glow .95s ease-in-out infinite alternate;z-index:-1}
.mmz-gift-spark{position:absolute;left:var(--spark-x);bottom:-20px;color:var(--mmz-gift-color,#f7ca69);font-size:22px;opacity:0;animation:mmz-gift-fly 2.4s var(--spark-delay) linear infinite;pointer-events:none;text-shadow:0 0 9px #fff}
@keyframes mmz-gift-glow{from{opacity:.3}to{opacity:.9}}@keyframes mmz-gift-fly{0%{transform:translate(0,0) rotate(0);opacity:0}20%{opacity:.85}100%{transform:translate(var(--spark-drift),-65vh) rotate(160deg);opacity:0}}
@media(prefers-reduced-motion:reduce){.mmz-gift-spark,.mmz-gift-stage:before{animation:none}}

/* R23: native-sized profile above roster, with a synchronized modal shade. */
#upro{position:fixed!important;right:auto!important;bottom:auto!important;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}
#upro .modal-dialog{width:340px!important;max-width:calc(100% - 16px)!important;margin:14px auto!important}
#upro .modal-content{max-height:var(--mmz-profile-max-height,calc(100dvh - 28px));background:var(--ksa-profile-surface,#eee);box-shadow:0 4px 14px #0005}
#upro .pro>center>.u-pic{background-size:cover!important;overflow:hidden}
#upro .pro>center>.u-pic>.u-pic{background-size:contain!important}
.mmz-profile-shade{position:fixed;background:rgba(0,0,0,.48);touch-action:none}
#upro .ulike[aria-busy=true]{opacity:.65;cursor:progress}

#upro .pro{background:var(--ksa-profile-surface,#eee)!important}

/* R24: restore the supplied media toolbar and purple/dark music player. */
#mic #ksa-room-music,#mic #ksa-room-live,#mic #ksa-room-karaoke{height:40px!important;min-height:40px!important;margin:1px!important;border:1px solid #142735!important;border-radius:2px!important;box-shadow:none!important;line-height:1!important}
#mic #ksa-room-music{width:42px!important;padding:2px!important;background:#19394c!important;color:#ffda57!important;font-size:31px!important}
#mic #ksa-room-live{min-width:68px!important;background:#aaa!important;color:#ff214b!important;padding:4px!important;font-size:14px!important}
#mic #ksa-room-karaoke{min-width:76px!important;background:#a52c9c!important;color:#fff!important;padding:4px 7px!important;font-size:13px!important}
#freshRoomMusicPanel{background:#1d2340!important;color:white!important;border-radius:3px!important;max-width:calc(100vw - 12px)!important}
#freshRoomMusicPanel .fresh-room-music-head{background:#741981!important;color:#fff!important;padding:7px!important}
#freshRoomMusicPanel .fresh-room-music-head button{background:#aaa!important;color:white!important;border:0!important;border-radius:50%!important;width:27px;min-height:27px}
#freshRoomMusicPanel .fresh-room-music-body{background:#1d2340!important;padding:10px!important}
#freshRoomMusicPanel .music-device,#freshRoomMusicPanel .music-youtube,#freshRoomMusicPanel .fresh-room-music-youtube-row button{background:#aaa!important;color:#fff!important;border:0!important;border-radius:8px!important;min-height:34px!important}
#freshRoomMusicPanel .fresh-room-music-controls button{background:#6c7084!important;color:#fff!important;border:0!important;border-radius:8px!important;min-height:34px!important}
#freshRoomMusicPanel .fresh-room-music-youtube-row input{height:34px!important;border-radius:7px!important;color:#151b2d!important;background:white!important;direction:rtl!important;text-align:right!important}
#freshRoomMusicPanel .fresh-room-music-title{text-align:right!important;color:white!important}
#freshRoomMusicPanel .fresh-room-music-note2{color:#bcd8ff!important}
#users>.uhtml{position:relative}
.mmz-member-live{position:absolute;inset-inline-end:21px;top:2px;padding:2px 4px;border:0;border-radius:3px;background:#f12950;color:#fff;font:bold 9px Arial;z-index:4;cursor:pointer}
#users>.ksa-full-row-banner>.mmz-member-live{display:block!important;visibility:visible!important}
#mic #mmz-room-live-watch{background:#243c53;color:#fff;min-height:30px;border:1px solid #fff5;border-radius:3px;font-size:11px;margin:2px;padding:4px 7px;cursor:pointer}
#mmz-private-call .pc-actions button:last-child{background:#c8434b!important;color:#fff!important}
#mmz-private-call [hidden]{display:none!important}

#mic #mmz-room-live-watch{height:40px;min-height:40px;min-width:42px;padding:3px;font-weight:bold}
#users>.ksa-full-row-banner>.mmz-member-live{z-index:12!important}
