/* liveOVER LoveApp scene pass 2026-11-21.
   Presentation ONLY: existing LiveKit <video>, SQLite-backed slots, SSE, gifts, PK
   and real chat DOM nodes retain their identities and event handlers. */
#lov-create-studio.lov-create-flow{
 --lov-love-panel:rgba(6,18,29,.88);
 --lov-love-line:rgba(170,225,248,.16);
 background:#07111c!important;
 color:#f1f9fd;
}
#lov-create-studio.lov-create-flow>.row.between{
 width:min(100%,540px);padding-inline:12px;
 background:transparent!important;
}
#lov-create-studio.lov-create-flow>.row.between strong{
 font-size:13px;letter-spacing:.14em;
}
#lov-create-studio.lov-create-flow .lov-create-content{
 width:min(100%,540px);max-width:540px;min-height:0;
 padding:0!important;gap:0!important;scrollbar-width:none;
}
#lov-create-studio.lov-create-flow #lov-live-prep.lov-love-prep{
 display:flex!important;flex-direction:column!important;align-items:stretch;
 gap:10px!important;min-height:100%;padding:0 9px 12px!important;
 background:transparent!important;
}
#lov-create-studio #lov-live-prep.lov-love-prep>.lov-prep-preview{
 order:0!important;flex:0 0 auto;
 position:relative!important;display:block!important;
 height:clamp(275px,50dvh,600px)!important;min-height:0!important;
 width:100%!important;padding:0!important;margin:0!important;
 border:0!important;border-radius:17px!important;
 background:#060d15!important;box-shadow:none!important;overflow:hidden!important;
}
#lov-create-studio #lov-live-prep.lov-love-prep>.lov-prep-preview::before{
 position:absolute;inset:0;z-index:2;
 background:linear-gradient(180deg,#0009 0%,transparent 24%,transparent 76%,#000a)!important;
 pointer-events:none;
}
#lov-create-studio #lov-live-prep.lov-love-prep #lov-prep-video{
 position:absolute!important;inset:0!important;
 width:100%!important;height:100%!important;max-width:none!important;
 max-height:none!important;aspect-ratio:auto!important;object-fit:cover!important;
 border:0!important;border-radius:0!important;box-shadow:none!important;
}
#lov-create-studio #lov-live-prep.lov-love-prep #lov-prep-camera-status{
 position:absolute!important;z-index:5;left:8px;right:8px;bottom:66px;
 text-align:center;pointer-events:none;background:#0718279e;
 border-radius:10px;padding:5px 8px;font-size:10px;
}
#lov-create-studio #lov-live-prep.lov-love-prep #lov-prep-camera-toggle{
 position:absolute!important;z-index:8;bottom:14px;left:50%;
 transform:translateX(-50%);max-width:calc(100% - 22px);
 background:rgba(4,24,39,.75)!important;border:1px solid #ffffff44!important;
}
#lov-create-studio .lov-love-camera-hud{position:absolute;inset:0;z-index:6;pointer-events:none}
#lov-create-studio .lov-love-camera-hud :is(button,select,label){pointer-events:auto}
#lov-create-studio .lov-love-camera-top{
 display:flex;justify-content:space-between;align-items:center;
 padding:12px 12px 0;gap:8px;color:white;font-size:11px;
}
#lov-create-studio .lov-love-camera-top button,
#lov-create-studio .lov-love-camera-next button{
 background:#0b1d2cb0;color:white;border:1px solid #ffffff30;
 border-radius:999px;padding:8px 12px;font-weight:700;font-size:12px;
}
#lov-create-studio .lov-love-camera-live{font-weight:850;color:#7de8fa;letter-spacing:.08em}
#lov-create-studio .lov-love-camera-rail{
 position:absolute;top:50px;right:9px;display:flex;flex-direction:column;
 align-items:center;gap:4px;max-height:calc(100% - 148px);overflow-y:auto;scrollbar-width:none;
}
#lov-create-studio .lov-love-camera-rail>button,
#lov-create-studio .lov-love-camera-rail>label{
 width:51px;min-height:48px;display:flex;flex-direction:column;
 align-items:center;justify-content:center;gap:2px;padding:5px 2px;
 border:0!important;border-radius:12px;background:#04101fc4!important;
 color:white;font-size:23px;font-weight:650;position:relative;
}
#lov-create-studio .lov-love-camera-rail small{font-size:9px;font-weight:650}
#lov-create-studio .lov-love-camera-rail select{
 width:100%;height:22px;min-height:22px;max-width:52px;
 font-size:10px;padding:0 2px;border:0;background:#142c3dbb;color:white;
}
#lov-create-studio .lov-love-camera-next{position:absolute;left:12px;bottom:52px}
#lov-create-studio #lov-prep-sound-help:not([hidden]){
 position:absolute;top:54px;left:10px;right:71px;margin:0;
 padding:10px;background:#081d30e0;border-radius:10px;font-size:11px;line-height:1.4;
}
#lov-create-studio .lov-love-grid-lines{
 display:none;position:absolute;inset:0;pointer-events:none;opacity:.72;z-index:1;
}
#lov-create-studio .lov-prep-preview[data-grid="horizontal"] .lov-love-grid-lines{
 display:block;background:linear-gradient(to bottom,transparent calc(50% - .5px),#e1f8ff80 50%,transparent calc(50% + .5px));
}
#lov-create-studio .lov-prep-preview[data-grid="vertical"] .lov-love-grid-lines{
 display:block;background:linear-gradient(to right,transparent calc(50% - .5px),#e1f8ff80 50%,transparent calc(50% + .5px));
}
#lov-create-studio .lov-prep-preview[data-grid="triple"] .lov-love-grid-lines{
 display:block;background:linear-gradient(to right,transparent 33.2%,#e1f8ff80 33.33%,transparent 33.48%,transparent 66.5%,#e1f8ff80 66.67%,transparent 66.8%);
}
#lov-create-studio .lov-prep-preview[data-grid="quad"] .lov-love-grid-lines{
 display:block;background:linear-gradient(to right,transparent 49.8%,#e1f8ff80 50%,transparent 50.2%),linear-gradient(to bottom,transparent 49.8%,#e1f8ff80 50%,transparent 50.2%);
}
#lov-create-studio .lov-prep-preview[data-grid="six"] .lov-love-grid-lines{
 display:block;background:linear-gradient(to right,transparent 33.2%,#e1f8ff80 33.33%,transparent 33.5%,transparent 66.5%,#e1f8ff80 66.67%,transparent 66.8%),linear-gradient(to bottom,transparent 49.8%,#e1f8ff80 50%,transparent 50.2%);
}
#lov-create-studio .lov-prep-preview[data-effect="green"] #lov-prep-video{filter:saturate(.7) hue-rotate(30deg)}
#lov-create-studio #lov-live-prep.lov-love-prep .lov-prep-step-tabs{
 border:0!important;border-radius:12px;background:#102638bd;padding:3px;gap:2px;
}
#lov-create-studio #lov-live-prep.lov-love-prep .lov-prep-step-tabs button{
 min-height:34px;border:0!important;font-size:10px;padding:4px 2px;
}
#lov-create-studio #lov-live-prep.lov-love-prep .lov-prep-step-tabs button b{display:none}
#lov-create-studio #lov-live-prep.lov-love-prep .lov-prep-stage{
 flex:1 1 auto;min-height:0;gap:8px!important;
 background:transparent!important;
}
#lov-create-studio #lov-live-prep.lov-love-prep .lov-prep-stage>h2{font-size:14px;margin:0}
#lov-create-studio #lov-live-prep.lov-love-prep .lov-prep-mode-grid{
 grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;
}
#lov-create-studio #lov-live-prep.lov-love-prep .lov-prep-mode-grid button{
 min-height:63px!important;border:1px solid #52778d66!important;
 border-radius:12px!important;background:#10283abe!important;
 padding:7px 10px!important;gap:3px!important;box-shadow:none!important;
}
#lov-create-studio #lov-live-prep.lov-love-prep .lov-prep-mode-grid button[aria-pressed="true"]{
 background:linear-gradient(120deg,#16485da8,#0c2e36b9)!important;
 border-color:#24caed!important;
}
#lov-create-studio #lov-live-prep.lov-love-prep .lov-prep-mode-grid strong{font-size:12px}
#lov-create-studio #lov-live-prep.lov-love-prep .lov-prep-mode-grid small{font-size:10px}
#lov-create-studio .lov-love-prelive-settings{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;
 color:#dcf5fc;font-size:12px;
}
#lov-create-studio .lov-love-prelive-settings>h3,
#lov-create-studio .lov-love-prelive-settings>small{grid-column:1/-1;margin:0}
#lov-create-studio .lov-love-prelive-settings label{
 display:flex;flex-direction:column;gap:4px;min-width:0;
 background:#0c2332;padding:7px;border:1px solid #7ac3e629;border-radius:10px;
}
#lov-create-studio .lov-love-prelive-settings label.lov-love-check{flex-direction:row;flex-wrap:wrap;align-items:center}
#lov-create-studio .lov-love-prelive-settings input{width:auto;flex:none}
#lov-create-studio .lov-love-prelive-settings small{font-size:10px;color:#a9c5d1}
#lov-create-studio .lov-love-prelive-settings select{
 width:100%;min-width:0;min-height:34px;padding:5px;color:white;background:#12384b;
}
#lov-create-studio #lov-live-prep.lov-love-prep .lov-prep-step-footer{margin-top:auto}
#lov-create-studio #lov-live-prep.lov-love-prep #lov-go-live-now{
 position:sticky;bottom:0;z-index:4;min-height:52px!important;
 width:100%;border-radius:14px!important;
 background:linear-gradient(135deg,#00d2ff,#10b981)!important;
}
#lov-create-studio .lov-create-tabs{background:#07111cff!important;border:0!important}
@media(max-width:767px){
 #lov-create-studio.lov-create-flow{padding:0 5px!important}
 #lov-create-studio.lov-create-flow>.row.between{min-height:42px;height:calc(42px + env(safe-area-inset-top,0px));padding:env(safe-area-inset-top,0px) 6px 0}
 #lov-create-studio.lov-create-flow #lov-live-prep.lov-love-prep{padding:0 5px 8px!important;gap:6px!important}
 #lov-create-studio #lov-live-prep.lov-love-prep>.lov-prep-preview{
  height:clamp(210px,46dvh,490px)!important;
 }
 #lov-create-studio .lov-love-camera-rail{gap:2px;top:42px;right:5px}
 #lov-create-studio .lov-love-camera-rail>button,
 #lov-create-studio .lov-love-camera-rail>label{width:43px;min-height:41px;font-size:19px}
 #lov-create-studio .lov-love-camera-rail small{font-size:8px}
 #lov-create-studio #lov-live-prep.lov-love-prep .lov-prep-step-footer button{min-height:32px}
 #lov-create-studio #lov-live-prep.lov-love-prep .lov-prep-mode-grid button{min-height:59px!important}
 #lov-create-studio #lov-live-prep.lov-love-prep .lov-prep-step-tabs button{min-height:30px}
 #lov-create-studio .lov-love-prelive-settings{gap:5px}
 #lov-create-studio .lov-love-prelive-settings label{padding:5px}
}
@media(max-height:700px){
 #lov-create-studio #lov-live-prep.lov-love-prep>.lov-prep-preview{height:clamp(180px,38dvh,300px)!important}
}
/* One unobstructed LIVE theater: all controls float over the original scene. */
html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-clean-room.lov-love-live-room{
 --lov-love-safe-bottom:max(8px,env(safe-area-inset-bottom,0px));
 background:#060c13!important;isolation:isolate;
}
html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-clean-room.lov-love-live-room #lov-main-stage{
 position:relative;isolation:isolate;
 background:#050b13!important;
}
html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-love-live-room #lov-main-stage #lov-scene-tiles,
html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-love-live-room #lov-main-stage #lov-seats-slot,
html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-love-live-room #lov-main-stage #room-tiles{
 border:0!important;box-shadow:none!important;background:transparent!important;
 min-width:0;min-height:0;
}
html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-love-live-room #lov-seats-slot>.card{
 border:0!important;border-radius:0!important;padding:0!important;margin:0!important;
 box-shadow:none!important;background:transparent!important;
}
html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-love-live-room #speaker-grid{
 min-width:0;min-height:0;gap:3px!important;
 background:transparent!important;border:0!important;
}
html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-love-live-room #speaker-grid>.room-tile,
html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-love-live-room #speaker-grid>.lov-mode-vacancy{
 min-width:0!important;min-height:0!important;
 border:1px solid #ffffff16!important;border-radius:9px!important;
 background:#1322328c!important;box-shadow:none!important;
 overflow:hidden!important;
}
html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-love-live-room #speaker-grid>.room-tile video{
 width:100%!important;height:100%!important;object-fit:cover!important;
}
html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-love-live-room #lov-chat{
 background:transparent!important;border:0!important;box-shadow:none!important;
 max-height:min(25dvh,200px)!important;
}
html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-love-live-room #room-lines{
 background:transparent!important;border:0!important;
 scrollbar-width:none;overflow-y:auto;
}
html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-love-live-room #room-lines .line{
 background:transparent!important;box-shadow:none!important;border:0!important;
 text-shadow:0 1px 3px #000e;
}
html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-love-live-room #lov-mobile-overlay .lov-mo-host-pill,
html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-love-live-room #lov-mobile-overlay .lov-mo-viewers{
 background:rgba(5,21,34,.58)!important;border:0!important;
 backdrop-filter:blur(8px);box-shadow:none!important;
}
html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-love-live-room #lov-main-stage #lov-mobile-overlay .lov-mo-bottom .lov-mo-round{
 background:rgba(12,33,49,.72)!important;border:1px solid #ffffff32!important;
 width:32px;min-width:32px;flex-basis:32px;height:36px;
}
html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-love-live-room #lov-main-stage #lov-mobile-overlay .lov-unified-modes-menu{
 border:0!important;background:rgba(8,21,33,.96)!important;
 border-radius:18px!important;box-shadow:0 18px 48px #000b!important;
}
html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-love-live-room #lov-main-stage #lov-mobile-overlay .lov-unified-mode-tiles{
 grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;
}
html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-love-live-room #lov-main-stage #lov-mobile-overlay .lov-unified-mode-tile{
 background:rgba(17,42,57,.86)!important;
 min-height:75px!important;border:1px solid #3b789355!important;
 border-radius:13px!important;padding:8px 5px!important;
}
html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-love-live-room[data-love-layout="spotlight"] #lov-main-stage #speaker-grid,
html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-love-live-room[data-love-layout="together"] #lov-main-stage #speaker-grid,
html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-love-live-room[data-love-layout="game10"] #lov-main-stage #speaker-grid{
 display:grid!important;position:absolute!important;inset:0!important;
 width:100%!important;height:100%!important;gap:3px!important;
 grid-template-rows:repeat(2,minmax(0,1fr))!important;
}
html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-love-live-room[data-love-layout="spotlight"] #speaker-grid,
html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-love-live-room[data-love-layout="together"] #speaker-grid{
 grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-love-live-room[data-love-layout="game10"] #speaker-grid{
 grid-template-columns:repeat(5,minmax(0,1fr))!important;
}
html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-love-live-room[data-love-layout="spotlight"] #speaker-grid>.room-tile:first-child{
 grid-column:1/span 2!important;grid-row:1/span 2!important;
}
html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-love-live-room[data-love-layout="spotlight"] #speaker-grid>.room-tile:not(:first-child),
html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-love-live-room[data-love-layout="spotlight"] #speaker-grid>.lov-mode-vacancy,
html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-love-live-room[data-love-layout="together"] #speaker-grid>.room-tile,
html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-love-live-room[data-love-layout="together"] #speaker-grid>.lov-mode-vacancy,
html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-love-live-room[data-love-layout="game10"] #speaker-grid>.room-tile,
html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-love-live-room[data-love-layout="game10"] #speaker-grid>.lov-mode-vacancy{
 grid-column:var(--lov-slot-col,auto)/span var(--lov-slot-col-span,1)!important;
 grid-row:var(--lov-slot-row,auto)/span var(--lov-slot-row-span,1)!important;
 width:100%!important;height:100%!important;aspect-ratio:auto!important;
}
html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-love-live-room[data-love-layout="spotlight"] #speaker-grid>.lov-mode-vacancy:first-child{
 grid-column:1/span 2!important;grid-row:1/span 2!important;
}
html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-love-live-room[data-love-layout="game10"] #lov-main-stage #lov-game-board{
 display:block!important;position:absolute!important;
 right:7px;bottom:calc(78px + env(safe-area-inset-bottom,0px));
 max-width:min(88vw,390px);max-height:min(48dvh,400px);
 overflow:auto;z-index:48;background:#091926ed!important;
 border:1px solid #58b6cf6b!important;border-radius:13px;padding:8px;
}
html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-love-live-room #lov-main-stage #lov-watch-party{
 border:0!important;box-shadow:none!important;background:transparent!important;
}
html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-love-live-room #lov-main-stage #lov-watch-player{
 border:0!important;border-radius:10px!important;overflow:hidden!important;
}
/* Interactive sheets stay inside the LIVE layer and never unmount or pause media tracks. */
html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-love-live-room #lov-main-stage #lov-mobile-overlay .lov-love-bottom-sheet{
 position:absolute;inset:auto 0 0;z-index:150;pointer-events:auto;
 max-height:min(78dvh,680px);overflow-y:auto;
 padding:12px 14px calc(18px + env(safe-area-inset-bottom,0px));
 border:0!important;border-radius:18px 18px 0 0!important;
 color:#eafaff;background:rgba(8,20,31,.97)!important;box-shadow:0 -16px 56px #0009;
 backdrop-filter:blur(14px);
}
html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-love-live-room .lov-love-bottom-sheet[hidden]{
 display:none!important;
}
.lov-love-bottom-sheet header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.lov-love-bottom-sheet header strong{font-size:15px}
.lov-love-bottom-sheet header button{background:transparent;border:0;color:white;font-size:20px;min-height:40px;min-width:40px}
.lov-love-sheet-chat{display:grid;gap:6px;max-height:44dvh;overflow-y:auto}
.lov-love-sheet-chat .line{background:transparent!important;border:0!important}
.lov-love-sheet-hint{font-size:11px;color:#b4d0dc}
.lov-love-share-friends{display:flex;flex-wrap:wrap;gap:11px;margin:14px 0}
.lov-love-friend{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:62px;max-width:75px;color:#e9fbff;font-size:11px;text-decoration:none}
.lov-love-friend-avatar{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;overflow:hidden;background:#18394d;border:1px solid #51aec9}
.lov-love-friend-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.lov-love-copy{width:100%;min-height:44px;border:0;border-radius:12px;background:linear-gradient(135deg,#00d2ff,#10b981);color:#06212b;font-weight:850}
html body.in-live-room.lov-mo-live.lov-overlay-panel-open #main #lov-studio-v2.lov-love-live-room #lov-chat{visibility:hidden!important;pointer-events:none!important}
@media(max-width:767px){
 html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-love-live-room #lov-main-stage #lov-mobile-overlay .lov-mo-top{
  gap:3px;padding-top:max(6px,env(safe-area-inset-top,0px));
 }
 html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-love-live-room #lov-mobile-overlay .lov-mo-host-stack{max-width:58%!important}
 html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-love-live-room #lov-mobile-overlay .lov-mo-right{max-width:42%!important}
 html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-love-live-room #lov-main-stage #lov-mobile-overlay .lov-mo-bottom{
  gap:2px!important;flex-wrap:nowrap!important;padding-inline:4px!important;
 }
 html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-love-live-room #lov-main-stage #lov-mobile-overlay .lov-mo-shortcuts{gap:2px!important;min-width:0!important}
 html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-love-live-room #lov-main-stage #lov-mobile-overlay .lov-mo-bottom .lov-mo-round{
  width:29px!important;min-width:29px!important;flex-basis:29px!important;height:32px!important;
 }
 html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-love-live-room #lov-main-stage #lov-mobile-overlay .lov-mo-bottom .lov-hud-viewer-compose{min-width:0!important}
 html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-love-live-room #lov-main-stage #lov-mobile-overlay .lov-mo-bottom textarea{
  min-width:0!important;font-size:12px!important;
 }
}
@media(max-width:360px){
 html body.in-live-room.lov-mo-live #main #lov-studio-v2.lov-love-live-room #lov-main-stage #lov-mobile-overlay .lov-mo-bottom .lov-mo-round{
  width:26px!important;min-width:26px!important;flex-basis:26px!important;
 }
}
@media(prefers-reduced-motion:reduce){
 #lov-create-studio.lov-create-flow *,
 body.in-live-room .lov-love-bottom-sheet{transition:none!important;animation:none!important}
}
