/* LXBG 2.0 PREMIUM THEME BRIDGE — community and account routes.
 * Demo only, activated by admin via an allowlisted body class.
 * VISUAL ONLY: no positioning of WebRTC video, menus, webcam controls,
 * auth widgets, privacy controls, form semantics or IRC chat streams.
 */
body.lxbg-theme2-integrated:not(.lxbg-theme2-scope-landing){
  --lx2-main:var(--v2-primary,#1768ab);
  --lx2-secondary:var(--v2-secondary,#46b4c5);
  --lx2-ink:var(--v2-ink,#183754);
  --lx2-muted:var(--v2-muted,#648098);
  --lx2-surface:var(--v2-surface,#fff);
  --lx2-background:var(--v2-background,#f4f7fb);
  --lx2-soft:color-mix(in srgb,var(--lx2-main) 8%,#fff);
  --lx2-line:color-mix(in srgb,var(--lx2-main) 22%,#fff);
  --blue:var(--lx2-main);
  --blue-dark:var(--lx2-main);
  --blue-soft:var(--lx2-soft);
  accent-color:var(--lx2-main);
}
body.lxbg-theme2-integrated .top .logo b,
body.lxbg-theme2-integrated .top .nav-chat,
body.lxbg-theme2-integrated .nav-register{
  background:var(--v2-primary)!important;
  border-color:var(--v2-primary)!important;
  color:#fff!important;
}
body.lxbg-theme2-integrated .lxbg-lang-switch a.is-active{
  color:var(--v2-primary)!important;
  background:color-mix(in srgb,var(--v2-primary) 12%,white)!important;
}
body.lxbg-theme2-integrated .top .nav-dropdown a.is-active{
  color:var(--v2-primary)!important;
  border-color:var(--v2-primary)!important;
}

/* Chat entry lobby: only cards and textual accents. Do not touch embedded
 * WebRTC, channel input behavior, media streams or video element styles. */
body.lxbg-theme2-scope-chat .chat-lobby-shell{
  color:var(--lx2-ink);
}
body.lxbg-theme2-scope-chat .chat-lobby-hero,
body.lxbg-theme2-scope-chat .chat-lobby-card,
body.lxbg-theme2-scope-chat .chat-lobby-account{
  border-color:var(--lx2-line)!important;
  background:var(--lx2-surface)!important;
}
body.lxbg-theme2-scope-chat .chat-lobby-hero{
  border-top:5px solid var(--lx2-main)!important;
}
body.lxbg-theme2-scope-chat .chat-lobby-kicker,
body.lxbg-theme2-scope-chat .chat-lobby-card h2{
  color:var(--lx2-main)!important;
}
body.lxbg-theme2-scope-chat .chat-lobby-number,
body.lxbg-theme2-scope-chat .chat-channel-check,
body.lxbg-theme2-scope-chat .chat-lobby-account{
  border-color:var(--lx2-line)!important;
}
body.lxbg-theme2-scope-chat .chat-lobby-number{
  background:var(--lx2-soft)!important;
  color:var(--lx2-main)!important;
}
body.lxbg-theme2-scope-chat .chat-channel-option:has(input:checked){
  border-color:var(--lx2-main)!important;
}
body.lxbg-theme2-scope-chat .chat-channel-option input:checked + .chat-channel-check{
  background:var(--lx2-main)!important;
  color:white!important;
}

/* Members, profiles & friends: theme owns chrome, not profile data,
 * privacy flags, permissions, avatars, forms or moderation. */
body.lxbg-theme2-scope-profile :is(
 .profile-final-card,.members-hero,.member-card,.member-detail-card,
 .friends-hero,.friend-card,.friends-panel,.members-search
){
  border-color:var(--lx2-line)!important;
}
body.lxbg-theme2-scope-profile :is(
 .profile-final-name-row h1,.members-hero h1,.member-detail-name h1,
 .friends-hero h1
){
  color:var(--lx2-ink)!important;
}
body.lxbg-theme2-scope-profile .profile-final-progressbar i{
  background:linear-gradient(90deg,var(--lx2-main),var(--lx2-secondary))!important;
}
body.lxbg-theme2-scope-profile :is(
 .profile-final-side-actions .btn.primary,.members-search button,
 .friends-shell .btn.primary
){
  background:var(--lx2-main)!important;
  border-color:var(--lx2-main)!important;
  color:white!important;
}
body.lxbg-theme2-scope-profile :is(
 .profile-final-card a:not(.btn),.member-detail-card a:not(.btn)
){
  color:var(--lx2-main);
}

/* Singles: preserve strict consent, adult eligibility, photo permissions,
 * interaction state and the distinction between FREE/PRO licenses. */
body.lxbg-theme2-scope-singles .singles-v2 .singles-hero{
  border-top-color:var(--lx2-main)!important;
}
body.lxbg-theme2-scope-singles .singles-v2 .singles-card{
  border-color:var(--lx2-line)!important;
}
body.lxbg-theme2-scope-singles .singles-v2 .singles-chip{
  background:var(--lx2-soft)!important;
  border-color:var(--lx2-line)!important;
  color:var(--lx2-main)!important;
}
body.lxbg-theme2-scope-singles .singles-v2 .singles-button:not(.secondary){
  background:var(--lx2-main)!important;
  border-color:var(--lx2-main)!important;
  color:#fff!important;
}
body.lxbg-theme2-scope-singles .singles-v2 .singles-button.secondary{
  color:var(--lx2-main)!important;
  border-color:var(--lx2-line)!important;
}
body.lxbg-theme2-scope-singles .singles-v2 :is(
 .singles-interest-pick[aria-pressed="true"],.singles-meter span
){
  background:var(--lx2-main)!important;
  border-color:var(--lx2-main)!important;
}

/* Other ordinary community screens. No aggressive global form or page rules. */
body.lxbg-theme2-scope-community .top,
body.lxbg-theme2-scope-account .top{
  border-bottom:3px solid var(--lx2-main);
}
body.lxbg-theme2-scope-account .auth>.card{
  border-top-color:var(--lx2-main)!important;
}
body.lxbg-theme2-scope-account .auth>.card :is(h1,.eyebrow){
  color:var(--lx2-main)!important;
}
body.lxbg-theme2-scope-account .auth>.card .btn.primary{
  background:var(--lx2-main)!important;
  border-color:var(--lx2-main)!important;
  color:#fff!important;
}

/* Different premium identities without disrupting any functional layout. */
body.lxbg-theme2-business:not(.lxbg-theme2-scope-landing) :is(
 .chat-lobby-card,.profile-final-card,.singles-v2 .singles-card,.members-hero
){
  border-left:4px solid var(--lx2-main)!important;
}
body.lxbg-theme2-club:not(.lxbg-theme2-scope-landing) :is(
 .chat-lobby-card,.profile-final-card,.singles-v2 .singles-card,.members-hero
){
  border-top:4px solid var(--lx2-main)!important;
  border-radius:12px!important;
}
body.lxbg-theme2-clean:not(.lxbg-theme2-scope-landing) :is(
 .chat-lobby-card,.profile-final-card,.singles-v2 .singles-card,.members-hero
){
  border-radius:7px!important;
  box-shadow:none!important;
}
body.lxbg-theme2-craft:not(.lxbg-theme2-scope-landing) :is(
 .chat-lobby-card,.profile-final-card,.singles-v2 .singles-card,.members-hero
){
  border-left:5px solid var(--lx2-main)!important;
  border-radius:4px!important;
}
@media(max-width:680px){
 body.lxbg-theme2-scope-chat .chat-lobby-hero,
 body.lxbg-theme2-scope-chat .chat-lobby-card{
  max-width:100%;
 }
}
