
/* LIVE-only control and chat repairs. No #feed or #profile selectors. */
html body.in-live-room #lov-studio-v2{--lov-room-gradient:linear-gradient(135deg,#00D2FF 0%,#10B981 100%)}
html body.in-live-room #lov-studio-v2 .lov-side-actions{display:none}
html body.in-live-room #lov-studio-v2 .lov-room-send{background:var(--lov-room-gradient)!important;color:#061d27!important;border:0!important;box-shadow:0 0 12px #00d2ff33;white-space:nowrap;gap:6px;cursor:pointer}
html body.in-live-room #lov-studio-v2 .lov-room-send:disabled{opacity:.55;cursor:not-allowed}
html body.in-live-room #lov-studio-v2 .lov-room-send:hover:not(:disabled){box-shadow:0 0 18px #00d2ff66,0 0 14px #10b98155}
html body.in-live-room #lov-studio-v2 .chat-send{display:flex;align-items:center;gap:8px;min-width:0}
html body.in-live-room #lov-studio-v2 .chat-send .lov-chat-editor{min-width:0;flex:1}
html body.in-live-room #lov-studio-v2 .chat-send textarea{min-width:0;flex:1;resize:none}
html body.in-live-room #lov-studio-v2 #lov-main-stage .lov-mode-vacancy[hidden],
html body.in-live-room #lov-studio-v2 #lov-main-stage #lov-effects-strip:empty{display:none!important}
/* Suppress unassigned decorative pseudo-bars in the SOLO video scene only. */
html body.in-live-room #lov-studio-v2[data-unified-mode="solo"] #lov-main-stage .lov-mode-vacancy{display:none!important}
html body.in-live-room.lov-mo-live #lov-studio-v2 .lov-mo-host-pill{gap:10px;padding:12px;min-width:0;max-width:100%;box-sizing:border-box}
html body.in-live-room.lov-mo-live #lov-studio-v2 .lov-mo-host-stack{min-width:0;max-width:100%}
html body.in-live-room.lov-mo-live #lov-studio-v2 .lov-mo-host-text{max-width:100%;flex:1;gap:3px;overflow:visible}
html body.in-live-room.lov-mo-live #lov-studio-v2 .lov-hud-badges{display:flex;gap:6px;flex-wrap:wrap}
html body.in-live-room.lov-mo-live #lov-studio-v2 .lov-mo-top button,
html body.in-live-room.lov-mo-live #lov-studio-v2 .lov-mo-bottom button,
html body.in-live-room.lov-mo-live #lov-studio-v2 .lov-side-actions button{pointer-events:auto;touch-action:manipulation}
html body.in-live-room.lov-mo-live #lov-studio-v2 .lov-side-actions button{border:1px solid #00d2ff55;background:#14141C;color:#ecfeff;border-radius:10px;padding:9px 10px;min-height:40px;font-weight:700}
html body.in-live-room.lov-mo-live #lov-studio-v2 .lov-side-actions button:hover{background:#143a46;box-shadow:0 0 10px #00d2ff33}
html body.in-live-room.lov-mo-live #lov-studio-v2 .lov-side-actions button:focus-visible{outline:2px solid #00D2FF;outline-offset:2px}
@media(min-width:768px){
 html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-mobile-layered[data-live-viewport="desktop"] #lov-live-sidebar #lov-mobile-overlay{grid-template-rows:auto minmax(0,1fr) auto!important}
 html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-mobile-layered[data-live-viewport="desktop"] #lov-live-sidebar .lov-mo-top{display:flex;flex-direction:column;align-items:stretch;gap:10px;padding:0;position:relative;pointer-events:auto;min-width:0}
 html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-mobile-layered[data-live-viewport="desktop"] #lov-live-sidebar .lov-mo-host-stack{flex:1 1 auto;width:100%}
 html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-mobile-layered[data-live-viewport="desktop"] #lov-live-sidebar .lov-mo-host-pill{width:100%}
 html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-mobile-layered[data-live-viewport="desktop"] #lov-live-sidebar .lov-mo-right{width:100%;display:flex;justify-content:space-between;gap:10px;pointer-events:auto}
 html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-mobile-layered[data-live-viewport="desktop"] #lov-live-sidebar .lov-side-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;pointer-events:auto}
 html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-mobile-layered[data-live-viewport="desktop"] #lov-live-sidebar #lov-chat{position:relative!important;inset:auto!important;height:100%!important;max-height:none!important;min-height:0!important;opacity:1;visibility:visible;pointer-events:auto;mask-image:none!important;-webkit-mask-image:none!important}
 html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-mobile-layered[data-live-viewport="desktop"] #lov-live-sidebar :is(#lov-chat-slot,.room-chat){display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important;height:100%!important;max-height:none!important;overflow:hidden!important}
 html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-mobile-layered[data-live-viewport="desktop"] #lov-live-sidebar #room-lines{display:flex!important;flex:1 1 auto!important;min-height:0!important;height:auto!important;max-height:none!important;overflow-y:auto!important;mask-image:none!important;-webkit-mask-image:none!important}
 html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-mobile-layered[data-live-viewport="desktop"] #lov-live-sidebar .chat-send{flex:none!important;width:100%;padding:8px 0!important;background:#14141C!important}
 html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-mobile-layered[data-live-viewport="desktop"] #lov-live-sidebar .lov-room-send{flex:0 0 auto;min-width:88px;min-height:42px;border-radius:12px}
}
@media(max-width:767px){
 html body.in-live-room #lov-studio-v2 .lov-room-send{flex:0 0 36px!important;min-width:36px!important;width:36px!important;height:36px!important;border-radius:50%!important;padding:0!important;display:grid!important;place-items:center!important}
 html body.in-live-room #lov-studio-v2 .lov-send-label{display:none!important}
}


/* LIVE video screenshot: badge SVG sizing above prevents oversized white polygons.
   Contain only stage decorations; preserve real camera video and gift animations. */
html body.in-live-room #lov-studio-v2 #lov-main-stage{background:#09090D;overflow:hidden;isolation:isolate}
html body.in-live-room #lov-studio-v2 #lov-main-stage :is(.lov-scene-tiles,.room-tile){min-height:0;overflow:hidden}
html body.in-live-room #lov-studio-v2[data-unified-mode="solo"] #lov-main-stage .room-tile video{
 display:block;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;
}
html body.in-live-room #lov-studio-v2[data-unified-mode="solo"] #lov-main-stage .lov-mode-vacancy,
html body.in-live-room #lov-studio-v2[data-unified-mode="solo"] #lov-main-stage .empty-seat{
 display:none!important;
}
/* Compact HOST identity and keep separate viewer/action controls clickable. */
html body.in-live-room #lov-live-sidebar .lov-mo-host-pill{display:flex;align-items:center;gap:10px;padding:12px}
html body.in-live-room #lov-live-sidebar .lov-mo-host-text{min-width:0;flex:1;max-width:none;overflow:hidden}
html body.in-live-room #lov-live-sidebar .lov-mo-host-text :is(strong,small){max-width:100%;overflow:hidden;text-overflow:ellipsis}
html body.in-live-room #lov-live-sidebar .lov-hud-badges{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
html body.in-live-room #lov-live-sidebar .lov-mo-right{display:flex;align-items:center;gap:8px;min-width:0}
html body.in-live-room #lov-live-sidebar .lov-mo-right :is(button,[role="button"]){
 cursor:pointer;touch-action:manipulation;color:#eaffff!important;border:1px solid #2e6676!important;
 background:#14141C!important;border-radius:12px!important;min-width:40px;min-height:40px;
 display:inline-flex;justify-content:center;align-items:center;
}
html body.in-live-room #lov-live-sidebar .lov-mo-right :is(button,[role="button"]):hover{
 border-color:#00D2FF!important;box-shadow:0 0 12px #00d2ff33;
}
html body.in-live-room #lov-live-sidebar .lov-side-actions{
 max-height:min(24dvh,230px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;
}
html body.in-live-room #lov-live-sidebar .lov-side-actions button{
 min-width:0;white-space:normal;overflow-wrap:normal;line-height:1.25;transition:background .14s,border-color .14s;
}
html body.in-live-room #lov-live-sidebar .lov-side-actions button:disabled{opacity:.45;cursor:not-allowed}
html body.in-live-room #lov-live-sidebar .lov-hud-viewer-compose,
html body.in-live-room #lov-live-sidebar .chat-send{min-width:0}
html body.in-live-room #lov-live-sidebar :is(.lov-chat-emoji-toggle,.lov-hud-share){
 background:#14141C!important;border:1px solid #256174!important;color:#e8ffff!important;
 border-radius:10px!important;width:36px;height:36px;min-width:36px;flex:0 0 36px;
 display:grid;place-items:center;padding:4px;cursor:pointer;
}
html body.in-live-room #lov-live-sidebar .chat-send textarea{min-width:0;flex:1;height:auto!important;min-height:38px;max-height:96px;resize:none}
html body.in-live-room #lov-live-sidebar .lov-room-send{display:inline-flex;justify-content:center;align-items:center;gap:4px}
html body.in-live-room #lov-live-sidebar #room-lines{flex:1 1 auto;min-height:0;height:auto;overflow-y:auto;overscroll-behavior:contain}
@media(max-width:767px){
 html body.in-live-room #lov-studio-v2 .lov-mo-host-pill{gap:7px;padding:5px 8px}
 html body.in-live-room #lov-studio-v2 #lov-main-stage .room-tile video{object-fit:cover!important}
}
