/* Live room pages. Colours come ONLY from the admin theme through the --msg-* variables (Msg\Theme::styleTag()). */
/* the browser draws its own pieces (choice circles, ticks, scrollbars, date pickers) in the look's light or dark style (owner 2026-10-28: white circles on the dark Studio) */
:root { color-scheme: var(--msg-scheme, dark); }
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--msg-bg); color: var(--msg-text); font: 16px/1.4 -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
a { color: var(--msg-link); }
.lv-app { display: flex; flex-direction: column; min-height: 100vh; min-height: var(--dvh, 100dvh); }
.lv-top { flex: none; display: flex; align-items: center; gap: 12px; padding: 4px 14px; background: var(--msg-surface); border-bottom: 1px solid var(--msg-border); }
.lv-back { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; font-size: 22px; text-decoration: none; color: var(--msg-text); }
.lv-navlink { text-decoration: none; color: var(--msg-text); border: 1px solid var(--msg-border); background: var(--msg-surface-2); }
.lv-brand { display: none; }
.lv-brand img { display: block; height: 30px; width: auto; }
@media (min-width: 900px) { .lv-brand { display: block; } }
/* a phone: the Studio's top bar keeps to icons (the words of Dashboard and Promote do not fit beside the balance, help, requests and the bell) */
@media (max-width: 600px) {
  body.lv-studio .lv-top { gap: 8px; padding: 4px 8px; }
  body.lv-studio .lv-top > .lv-navlink .lv-ibtn-t, body.lv-studio .lv-top > .lv-boostbtn .lv-ibtn-t { display: none; }
  body.lv-studio .lv-top > .lv-navlink, body.lv-studio .lv-top > .lv-boostbtn { flex: none; width: var(--btn-h, 44px); padding: 0; justify-content: center; border-radius: var(--btn-rc, 50%); }
  body.lv-studio .lv-top > .lv-title { flex: 1 1 auto; min-width: 0; }
  body.lv-studio .lv-top .lv-title .lv-studio-mark { display: none; }
  body.lv-studio .lv-top .lv-title .lv-pill { white-space: nowrap; flex: none; }
}
/* a small phone: the LIVE / Not live pill is never cut ("LIV"); the gaps get smaller and, on the smallest phones, the help button leaves the bar (the guide is also on the dashboard) */
@media (max-width: 420px) {
  body.lv-studio .lv-top { gap: 4px; }
  body.lv-studio .lv-top > .lv-title { flex: none; overflow: visible; }
  body.lv-studio .lv-top .lv-title .lv-pill { margin-left: 0; padding: 2px 8px; }
  body.lv-studio .lv-top > .lv-balance { margin-left: auto; }
}
@media (max-width: 380px) {
  body.lv-studio .lv-top > #lv-help { display: none; }
}
@media (max-width: 340px) { /* the smallest phones (320 px): Promote is also on the dashboard */
  body.lv-studio .lv-top > #lv-promo { display: none; }
}
.lv-menu { position: relative; }
.lv-menu summary { list-style: none; cursor: pointer; }
.lv-menu summary::-webkit-details-marker { display: none; }
.lv-menu nav { position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; min-width: 220px; display: flex; flex-direction: column; padding: 8px; background: var(--msg-surface); border: 1px solid var(--msg-border); border-radius: 12px; box-shadow: 0 10px 30px var(--msg-scrim); }
.lv-menu nav b { padding: 6px 10px; color: var(--msg-muted); font-weight: 600; }
.lv-menu nav a { display: flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 8px; color: var(--msg-text); text-decoration: none; }
.lv-menu nav a:hover { background: var(--msg-hover); }
.lv-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lv-count { color: var(--msg-muted); }
.lv-pill { display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: var(--btn-r, 999px); font-size: 14px; background: var(--msg-surface-2); border: 1px solid var(--msg-border); color: var(--msg-muted); }
.lv-pill[data-state="live"] { background: var(--msg-live); color: var(--msg-on-live); border-color: var(--msg-live); font-weight: 700; } /* the admin's LIVE badge colour (Colours > LIVE badge), never the button colour */
.lv-pill[data-state="error"] { color: var(--msg-danger); border-color: var(--msg-danger); }
.lv-main { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) clamp(380px, 37vw, 780px); grid-template-areas: "stage side" "goal ."; grid-template-rows: auto auto; align-content: start; }
.lv-stage { grid-area: stage; display: flex; flex-direction: column; min-width: 0; }
.lv-video { position: relative; flex: none; width: 100%; aspect-ratio: 16 / 9; max-height: calc(100vh - 180px); max-height: calc(var(--dvh, 100dvh) - 180px); background: var(--msg-bg); overflow: hidden; }
.lv-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--msg-bg); }
.lv-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; color: var(--msg-muted); background: var(--msg-bg); z-index: 1; }
.lv-overlay[hidden] { display: none; }
.lv-controls { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 14px; }

.lv-ctl { flex: none; display: flex; align-items: center; gap: 10px; padding: 8px 12px; flex-wrap: wrap; background: var(--msg-surface); border-top: 1px solid var(--msg-border); }
.lv-ctl-left { margin-right: auto; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.lv-ctl-right { margin-left: 0; }
.lv-ctl-left:empty, .lv-ctl-right:empty { display: none; }
.lv-goalrow { grid-area: goal; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 8px 12px; background: var(--msg-bg); }
.lv-goalrow:empty { display: none; }
.lv-vctl { position: absolute; left: 10px; bottom: 10px; z-index: 5; display: flex; gap: 8px; }
.lv-vbtn { font: inherit; min-width: var(--btn-h, 44px); min-height: var(--btn-h, 44px); padding: 0 12px; border-radius: var(--btn-r, 10px); border: 1px solid var(--msg-border); background: var(--msg-surface); color: var(--msg-text); cursor: pointer; opacity: .9; }
.lv-vbtn[hidden] { display: none; }
.lv-toplink { color: var(--msg-text); text-decoration: none; padding: 8px 12px; border-radius: var(--btn-r, 999px); border: 1px solid var(--msg-border); }
.lv-btn { font: inherit; min-height: var(--btn-h, 44px); padding: 0 18px; border-radius: var(--btn-r, 999px); border: 1px solid var(--msg-border); background: var(--msg-surface-2); color: var(--msg-text); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.lv-btn[hidden] { display: none; }
.lv-btn:disabled { opacity: .5; cursor: default; }
.lv-btn.lv-primary { background: var(--msg-accent); color: var(--msg-on-accent); border-color: var(--msg-accent); font-weight: 600; }
.lv-btn.lv-danger { border-color: var(--msg-danger); color: var(--msg-danger); }
.lv-side { grid-area: side; position: relative; min-width: 0; min-height: 0; background: var(--msg-surface); border-left: 1px solid var(--msg-border); }
.lv-side-in { position: absolute; inset: 0; display: flex; flex-direction: column; min-height: 0; }
body.lv-studio .lv-side { min-height: calc(var(--dvh, 100dvh) - 63px); } /* the header (53 px) + the space above the columns (10 px): 60 left the page 3 px too tall = a scrollbar */
/* the Studio on a computer: the chat column is taller than the camera, so the goal bar shares the chat's rows and sits right under the camera and its buttons (owner 2026-10-27) */
@media (min-width: 901px) { body.lv-studio .lv-main { grid-template-areas: "stage side" "goal side"; grid-template-rows: auto 1fr; } body.lv-studio .lv-goalrow { align-self: start; } }
body.lv-studio .lv-tabs { flex-wrap: wrap; overflow: visible; }
body.lv-studio .lv-tab { padding: 0 8px; }
.lv-tabs { flex: none; display: flex; border-bottom: 1px solid var(--msg-border); overflow-x: auto; scrollbar-width: none; }
.lv-tabs::-webkit-scrollbar { display: none; }
.lv-tab { flex: 1 0 auto; padding: 0 11px; white-space: nowrap; font: inherit; min-height: 44px; background: none; border: 0; border-bottom: 3px solid transparent; color: var(--msg-muted); cursor: pointer; }
.lv-tab[aria-selected="true"] { color: var(--msg-text); border-bottom-color: var(--msg-accent); }
.lv-pane { padding: 14px; overflow: auto; flex: 1; min-height: 0; }
.lv-pane[hidden] { display: none; }
.lv-muted { color: var(--msg-muted); }
.lv-field { display: block; margin-bottom: 14px; }
.lv-field select { display: block; width: 100%; margin-top: 4px; font: inherit; font-size: 16px; min-height: 44px; padding: 8px 10px; border-radius: 9px; border: 1px solid var(--msg-border); background: var(--msg-surface-2); color: var(--msg-text); }
.lv-join-bar { flex: none; position: sticky; bottom: 0; z-index: 30; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--msg-surface); border-top: 1px solid var(--msg-border); }
/* chat */
.lv-pane-chat { padding: 0; display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.lv-pane-chat[hidden] { display: none; }
.lv-chat { display: flex; flex-direction: column; flex: 1; min-height: 0; position: relative; }
.lv-chat-list { flex: 1; overflow-y: auto; padding: 0; min-height: 0; overflow-wrap: anywhere; }
.lv-row { padding: 8px 10px; font-size: 14px; line-height: 18px; position: relative; border-bottom: 1px solid var(--msg-border); } /* the same measures as Stripchat's chat line (padding 8px 10px, 14px text, 18px lines): one line = 35px */
.lv-u { color: var(--msg-text); }
.lv-row[data-role="model"] .lv-u { color: var(--msg-accent); }
.lv-text { color: var(--msg-text); }
.lv-badge { display: inline-block; margin-right: 6px; padding: 0 7px; border-radius: 999px; font-size: 12px; line-height: 18px; background: var(--msg-accent); color: var(--msg-on-accent); }
.lv-row[data-role="mod"] .lv-badge { background: var(--msg-surface-2); color: var(--msg-text); border: 1px solid var(--msg-accent); }
.lv-more { font: inherit; min-width: 44px; min-height: 28px; margin-left: 4px; background: none; border: 0; color: var(--msg-muted); cursor: pointer; }
.lv-actions { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 0; }
.lv-actions[hidden] { display: none; }
.lv-btn.lv-small { min-height: 44px; padding: 4px 14px; font-size: 15px; }
.lv-chat-note { padding: 6px 14px; font-size: 14px; color: var(--msg-muted); }
.lv-chat-note[data-kind="error"] { color: var(--msg-danger); font-weight: 600; }
.lv-chat-note[data-kind="ok"] { color: var(--msg-accent); font-weight: 600; }
.lv-chat-note[hidden], .lv-chat-tools[hidden], .lv-chat-new[hidden] { display: none; }
.lv-chat-form { position: relative; flex: none; display: flex; align-items: center; gap: 8px; padding: 8px 10px calc(6px + env(safe-area-inset-bottom) * .35); border-top: 1px solid var(--msg-border); }
.lv-chat-pill { flex: 1; min-width: 0; display: flex; align-items: center; gap: 2px; border-radius: var(--btn-r, 999px); border: 1px solid var(--msg-border); background: var(--msg-bg); padding-right: 4px; }
.lv-chat-pill:focus-within { border-color: var(--msg-accent); }
.lv-chat-form input { flex: 1; min-width: 0; font: inherit; font-size: 16px; min-height: 44px; padding: 8px 6px 8px 16px; border: 0; background: transparent; color: var(--msg-text); outline: none; }
.lv-emoji-btn { flex: none; min-width: 40px; min-height: 40px; }
.lv-chat-form input:disabled { opacity: .6; }
/* the legacy form styles must not draw their own box or focus ring inside the pill: only the pill's border changes colour */
.lv-chat-form .lv-chat-pill input, .lv-chat-form .lv-chat-pill input:focus, .lv-chat-form .lv-chat-pill input:focus-visible { border: 0; box-shadow: none; outline: 0; border-radius: var(--btn-r, 999px) 0 0 var(--btn-r, 999px); }
.lv-chat-pill:focus-within { box-shadow: none; }
.lv-sendround { flex: none; width: calc(var(--btn-h, 44px) + 2px); height: calc(var(--btn-h, 44px) + 2px); min-height: calc(var(--btn-h, 44px) + 2px); }
.lv-chat-join { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--msg-border); }
.lv-chat-join > span { min-width: 0; } .lv-chat-join .lv-btn { flex: none; } /* the Join button never shrinks or slides away, whatever the sentence's length */
.lv-chat-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 8px 14px; border-bottom: 1px solid var(--msg-border); }
.lv-tools-tog { display: none; }
.lv-tool select { font: inherit; font-size: 16px; min-height: 44px; padding: 4px 8px; border-radius: 9px; border: 1px solid var(--msg-border); background: var(--msg-surface-2); color: var(--msg-text); }
.lv-tool input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--msg-accent); vertical-align: middle; }
.lv-chat-new { position: absolute; left: 50%; transform: translateX(-50%); bottom: 70px; font: inherit; padding: 6px 14px; border-radius: var(--btn-r, 999px); border: 1px solid var(--msg-accent); background: var(--msg-surface-2); color: var(--msg-text); cursor: pointer; }
/* tipping */
/* the short messages (Following, Sent 10 tk ...): a full-width bar along the bottom edge of the video that lights up with a sweep of light and fades out */
.lv-fx { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; z-index: 2; pointer-events: none; }

.lv-toast { position: relative; overflow: hidden; text-align: center; padding: 10px 16px; font-weight: 600; font-size: 15px; background: color-mix(in srgb, var(--msg-black) 66%, transparent); color: var(--msg-text); border-top: 2px solid var(--msg-accent); animation: lv-bar 2.4s ease forwards; }
.lv-toast::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, transparent 38%, color-mix(in srgb, var(--msg-white) 38%, transparent) 50%, transparent 62%); transform: translateX(-100%); animation: lv-glare 1s ease-out .12s 1 forwards; }
.lv-toast.lv-mine { background: color-mix(in srgb, var(--msg-accent) 88%, transparent); color: var(--msg-on-accent); }
@keyframes lv-bar { 0% { opacity: 0; transform: translateY(100%); } 10% { opacity: 1; transform: none; } 78% { opacity: 1; } 100% { opacity: 0; } }
@keyframes lv-glare { to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .lv-toast { animation: lv-bar-calm 2.4s ease forwards; } .lv-toast::after { display: none; } }
@keyframes lv-bar-calm { 0%, 80% { opacity: 1; } 100% { opacity: 0; } }
@keyframes lv-pop { 0% { opacity: 0; transform: translateY(14px) scale(.9); } 8% { opacity: 1; transform: none; } 85% { opacity: 1; } 100% { opacity: 0; transform: translateY(-10px); } }

/*king*/.lv-king { flex: none; padding: 4px 12px; border-radius: 999px; background: var(--msg-surface-2); border: 1px solid var(--msg-accent); font-size: 14px; max-width: 100%; }
.lv-king-label { color: var(--msg-muted); }
.lv-goal { position: relative; flex: 1; min-width: 200px; height: 30px; border-radius: var(--btn-r, 999px); background: var(--msg-surface-2); border: 1px solid var(--msg-border); overflow: hidden; }
.lv-sendtip { margin-left: auto; }
.lv-popup { width: 100%; max-width: 380px; padding: 20px; border-radius: 14px; background: var(--msg-surface); border: 1px solid var(--msg-border); }
.lv-popup h2 { margin: 0 0 8px; font-size: 20px; }
.lv-popup-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.lv-dock { padding: 10px 14px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--msg-border); }
.lv-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.lv-chip { font: inherit; min-width: 56px; min-height: var(--btn-h, 44px); padding: 4px 14px; border-radius: var(--btn-r, 999px); border: 1px solid var(--msg-border); background: var(--msg-surface-2); color: var(--msg-text); cursor: pointer; }
.lv-dock-line { display: flex; gap: 8px; }
.lv-dock-line input, .lv-formrow input, .lv-formrow select { flex: 1; min-width: 0; font: inherit; font-size: 16px; min-height: 44px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--msg-border); background: var(--msg-surface-2); color: var(--msg-text); }
.lv-dock-note { min-height: 20px; margin-top: 6px; font-size: 14px; color: var(--msg-danger); }
.lv-dock-bal { font-size: 14px; color: var(--msg-muted); }
.lv-link { color: var(--msg-link); }
.lv-welcome { position: relative; margin: 0; padding: 8px 44px 8px 14px; text-align: center; font-size: 0.9rem; color: var(--msg-text); background: var(--msg-surface-2); border-bottom: 1px solid var(--msg-border); white-space: pre-wrap; overflow-wrap: anywhere; cursor: pointer; }
.lv-welcome-x { position: absolute; top: 0; right: 0; width: 44px; height: 100%; min-height: 36px; border: 0; background: none; color: var(--msg-text); font-size: 20px; line-height: 1; cursor: pointer; }
@media (max-width: 900px) { .lv-welcome:not(.is-open) .lv-welcome-t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } }
.lv-sysrow { text-align: center; padding: 8px 10px; margin: 0; border-radius: 0; background: none; border: 0; border-bottom: 1px solid var(--msg-border); }
.lv-sysrow .lv-u { color: var(--msg-accent); }
.lv-sysrow.lv-toyrow { text-align: left; background: var(--msg-surface-2); }
.lv-toyrow .lv-sysic { color: var(--msg-accent); }
.lv-toytxt { color: var(--msg-text); font-weight: 700; }
.lv-toyby { color: var(--msg-muted); }
.lv-sysrow.lv-reactrow { text-align: left; border-left: 3px solid var(--msg-accent); }
.lv-reacticon { display: inline-block; vertical-align: middle; margin-right: 6px; font-size: 16px; line-height: 1; width: 18px; height: 18px; object-fit: contain; }
.lv-reactamt { color: var(--msg-accent); font-weight: 700; }
.lv-formrow { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0; }
.lv-queue { display: flex; flex-direction: column; gap: 6px; }
.lv-task { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--msg-border); background: var(--msg-surface-2); }
.lv-task.lv-pending { border-color: var(--msg-accent); }
.lv-task-text { flex: 1; min-width: 140px; overflow-wrap: anywhere; }
/* likes, pin, extras */
.lv-like { min-width: 72px; }
.lv-like.lv-liked { border-color: var(--msg-accent); color: var(--msg-accent); }
.lv-pinned { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 14px; background: var(--msg-surface-2); border-bottom: 1px solid var(--msg-accent); overflow-wrap: anywhere; }
.lv-pinned[hidden] { display: none; }
.lv-pin-input { display: block; width: 100%; margin: 8px 0; font: inherit; font-size: 16px; min-height: 44px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--msg-border); background: var(--msg-surface-2); color: var(--msg-text); }
/* reactions */
.lv-quick { position: absolute; right: 8px; top: calc(20% + 32px); display: flex; flex-direction: column; gap: 10px; z-index: 3; }
.lv-quick[hidden] { display: none; }
.lv-qbtn { width: 48px; height: 48px; border-radius: var(--btn-rc, 50%); font-size: 24px; line-height: 1; cursor: pointer; border: 1px solid var(--msg-accent); background: var(--msg-surface); color: var(--msg-text); }
.lv-react-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.lv-react { display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 104px; padding: 8px 4px; font: inherit; border-radius: 12px; border: 1px solid var(--msg-border); background: var(--msg-surface-2); color: var(--msg-text); cursor: pointer; }
.lv-react:active { border-color: var(--msg-accent); }
.lv-ricon { font-size: 34px; line-height: 40px; height: 40px; }
img.lv-ricon { width: 40px; height: 40px; object-fit: contain; }
.lv-react-label { font-size: 14px; overflow-wrap: anywhere; text-align: center; }
.lv-floats { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 2; }
.lv-float { position: absolute; bottom: -10px; display: flex; flex-direction: column; align-items: center; animation: lv-rise 4.2s ease-out forwards; }
.lv-float-icon { font-size: 44px; line-height: 1; }
img.lv-float-icon { width: 48px; height: 48px; object-fit: contain; }
.lv-float-name { font-size: 12px; padding: 0 6px; border-radius: 999px; background: var(--msg-surface); color: var(--msg-text); }
@keyframes lv-rise { 0% { transform: translateY(0) scale(.6); opacity: 0; } 10% { opacity: 1; transform: translateY(-30px) scale(1); } 100% { transform: translateY(-420px) translateX(-20px) scale(1.1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .lv-float { animation: lv-fade 3s ease-out forwards; bottom: 40%; } @keyframes lv-fade { 0% { opacity: 0; } 15% { opacity: 1; } 100% { opacity: 0; } } }
.lv-rlist { max-height: 240px; overflow-y: auto; }
/* wheel of fortune */
.lv-wheel { position: absolute; right: -118px; bottom: 5%; width: 350px; z-index: 4; transform: translateX(135%); visibility: hidden; transition: transform .45s ease, right .5s ease, width .5s ease, visibility 0s .45s; filter: drop-shadow(0 4px 12px var(--msg-scrim)); }
.lv-wheel[hidden] { display: none; }
.lv-wheel.lv-wheel-open { transform: none; visibility: visible; transition: transform .45s ease, right .5s ease, width .5s ease; }
.lv-wheel.lv-wheel-open.lv-wheel-active { right: 10px; width: 420px; max-width: 92%; z-index: 5; }
.lv-wheel-x { position: absolute; top: 2px; left: 2px; z-index: 5; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--msg-border); background: var(--msg-surface-2); color: var(--msg-text); cursor: pointer; padding: 0; }
.lv-quick .lv-qbtn.lv-on { background: var(--msg-accent); color: var(--msg-on-accent); }
.lv-qbtn { display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.lv-wheel-hub-dot, .lv-wheel-pointer-dot { fill: var(--msg-accent); }
.lv-wheel-bulb { animation: lv-twinkle 1.6s ease-in-out infinite; }
.lv-wheel-bulb.lv-b2 { animation-delay: .8s; }
@keyframes lv-twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.lv-wheel.lv-wheel-active .lv-wheel-bulb { animation-duration: .5s; }
@media (prefers-reduced-motion: reduce) { .lv-wheel-bulb { animation: none; } }
.lv-wheel-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
/* a tap counts on the wheel only where the wheel is drawn: its square box covered much of the picture, so a tap "beside" the wheel opened it (owner 2026-11-07) */
.lv-wheel, .lv-wheel-btn, .lv-wheel svg { pointer-events: none; }
.lv-wheel .lv-wheel-hit { pointer-events: all; fill: transparent; }
.lv-wheel .lv-wheel-x, .lv-wheel .lv-wheel-banner { pointer-events: auto; }
.lv-wheel svg { display: block; width: 100%; height: auto; overflow: visible; }
.lv-wheel-rot { transform-origin: 0 0; }
.lv-wheel-line { stroke: color-mix(in srgb, var(--msg-gold) 75%, var(--msg-black)); stroke-width: 1.2; }
.lv-wheel-text { font-weight: 700; pointer-events: none; }
.lv-wheel-banner { position: absolute; right: 8px; bottom: 100%; margin-bottom: 6px; max-width: 280px; padding: 8px 14px; border-radius: 12px; background: var(--msg-accent); color: var(--msg-on-accent); font-weight: 700; text-align: center; overflow-wrap: anywhere; }
.lv-wheel-banner[hidden] { display: none; }
.lv-slices { margin: 8px 0 14px; padding-left: 24px; max-height: 220px; overflow-y: auto; }
.lv-slices li { padding: 3px 0; overflow-wrap: anywhere; }
.lv-spinbtn { width: 100%; margin: 6px 0; }
.lv-wheel-title { margin: 6px 0; }
@media (prefers-reduced-motion: reduce) { .lv-wheel, .lv-wheel-rot { transition: none; } }
/* header inbox icon, Private tab frame, viewers list */
.lv-iconbtn { background: none; border: 0; cursor: pointer; font-family: inherit; position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; font-size: 22px; text-decoration: none; color: var(--msg-text); }
.lv-badge-n { position: absolute; top: 4px; right: 2px; min-width: 18px; padding: 0 5px; border-radius: 999px; font-size: 12px; line-height: 18px; text-align: center; background: var(--msg-accent); color: var(--msg-on-accent); }
.lv-badge-n[hidden] { display: none; }
.lv-vlist { list-style: none; margin: 0 0 8px; padding: 0; }
.lv-vlist li { padding: 6px 0; border-bottom: 1px solid var(--msg-border); overflow-wrap: anywhere; }
/* private shows */
.lv-showbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; position: relative; }
.lv-showbar[hidden] { display: none; }
.lv-showbar-live, .lv-showbar-wait { flex: 1 1 100%; padding: 8px 4px; border-radius: 10px; }
.lv-show-line { flex: 1 1 100%; }
.lv-show-meter { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; flex: 1 1 100%; }
.lv-show-meter.lv-warn { color: var(--msg-danger); font-weight: 600; }
.lv-pillbtn { min-height: var(--btn-h, 44px); }
.lv-popmenu { z-index: 70; min-width: 270px; padding: 6px; border-radius: 12px; background: var(--msg-surface); border: 1px solid var(--msg-border); box-shadow: 0 8px 24px var(--msg-scrim); }
.lv-menu-item { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; padding: 8px 12px; font: inherit; text-align: left; border: 0; border-radius: 8px; background: none; color: var(--msg-text); cursor: pointer; }
@media (hover: hover) { .lv-menu-item:hover { background: var(--msg-hover); } }
.lv-menu-item:focus-visible { background: var(--msg-hover); }
.lv-menu-note { padding: 8px 12px; }
.lv-pill[data-state="private"] { color: var(--msg-accent); border-color: var(--msg-accent); }
/* inside a private show the public extras go away, but tipping stays (Send Tip, the wheel icon, the full-screen tip pill) */
body.lv-in-show .lv-ctl-left, body.lv-in-show .lv-goalrow, body.lv-in-show .lv-floats, body.lv-in-show .lv-fx, body.lv-in-show .lv-join-bar { display: none; }
/* toys */
.lv-toyind { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--btn-r, 999px); font-size: 14px; background: var(--msg-surface-2); border: 1px solid var(--msg-border); color: var(--msg-muted); white-space: nowrap; }
.lv-toyind.lv-on { color: var(--msg-text); border-color: var(--msg-ok); }
.lv-toydot { width: 8px; height: 8px; border-radius: 50%; background: var(--msg-muted); }
.lv-toyind.lv-on .lv-toydot { background: var(--msg-ok); }
.lv-toy-ok { color: var(--msg-ok); }
.lv-menu-sub { display: block; font-size: 14px; color: var(--msg-muted); font-weight: 400; }
.lv-menu-label { min-width: 0; overflow-wrap: anywhere; }
.lv-toypanel { padding: 12px; border: 1px solid var(--msg-border); border-radius: 12px; background: var(--msg-surface-2); margin: 8px 0; }
.lv-toybar { height: 18px; border-radius: 999px; background: var(--msg-surface); border: 1px solid var(--msg-border); overflow: hidden; }
.lv-toybar-fill { height: 100%; width: 0; background: var(--msg-accent); transition: width .4s ease; }
.lv-toybar-fill.lv-buzz { animation: lv-buzz .25s linear infinite; }
@keyframes lv-buzz { 0% { opacity: 1; } 50% { opacity: .55; } 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .lv-toybar-fill.lv-buzz { animation: none; } }
.lv-qr { display: block; width: 220px; max-width: 100%; height: auto; margin: 8px 0; background: var(--msg-text); padding: 8px; border-radius: 10px; }
.lv-levelrow { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 6px 0; }
.lv-levelrow input, .lv-levelrow select, .lv-field select { font: inherit; font-size: 16px; min-height: 44px; padding: 4px 8px; border-radius: 9px; border: 1px solid var(--msg-border); background: var(--msg-surface-2); color: var(--msg-text); }
.lv-levelrow input { width: 76px; }
@media (max-width: 900px) {
  body.lv-studio .lv-app { height: 100vh; height: var(--dvh, 100dvh); overflow: hidden; }
  /* the room is one screen tall (video + chat), the profile overlay and the footer sit below it on the scrolling page */
  body.lv-room .lv-main { height: calc(100vh - 53px); height: calc(var(--dvh, 100dvh) - 53px); flex: none; }
  .lv-main { display: flex; flex-direction: column; flex: 1; min-height: 0; }
  .lv-stage { flex: none; }
  .lv-video { max-height: 38dvh; }
  .lv-side { flex: 1; border-left: 0; border-top: 1px solid var(--msg-border); min-height: 200px; }
  body.lv-studio .lv-side { min-height: 200px; }
  .lv-goalrow { padding: 4px 10px; }
    .lv-ctl { padding: 6px 10px; gap: 8px; }
  .lv-toplink { display: none; }
  .lv-wheel { width: 210px; right: -72px; }
  .lv-wheel.lv-wheel-open.lv-wheel-active { width: 250px; right: 6px; }
}
/* corner pop-ups (private show requests in the Studio) */
.lv-alerts { position: fixed; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 60; display: flex; flex-direction: column; gap: 10px; max-width: min(360px, calc(100vw - 28px)); }
.lv-alert { padding: 12px 14px; border-radius: 14px; background: var(--msg-surface); border: 1px solid var(--msg-accent); box-shadow: 0 10px 30px var(--msg-scrim); animation: lv-slideup .35s ease both; }
.lv-alert-title { font-weight: 700; margin-bottom: 4px; }
.lv-alert-btns { display: flex; gap: 8px; margin-top: 10px; }
@keyframes lv-slideup { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lv-alert { animation: none; } }
.lv-private-join { padding: 24px 18px; text-align: center; }
.lv-private-join h2 { margin: 0 0 8px; }
.lv-pane-msg { background: var(--msg-bg); }

/* reference-style details */
.lv-pillprice { color: var(--msg-accent); font-weight: 700; }
.lv-pillbtn { border-color: var(--msg-accent); border-width: 2px; }
.lv-gold { background: var(--msg-accent); color: var(--msg-on-accent); border-color: var(--msg-accent); font-weight: 700; min-height: 44px; padding: 2px 16px; font-size: 15px; }
.lv-amt { color: var(--msg-accent); }
.lv-card2-list li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px solid var(--msg-border); }
.lv-chat-form { padding: 8px 10px calc(6px + env(safe-area-inset-bottom) * .35); gap: 8px; align-items: center; }

/* ---- icon buttons, tooltips ---- */
.lv-ic { display: inline-flex; align-items: center; justify-content: center; line-height: 0; }
.lv-ibtn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: var(--btn-h, 44px); min-height: var(--btn-h, 44px); padding: 0; border-radius: var(--btn-rc, 50%); border: 1px solid var(--msg-border); background: var(--msg-surface-2); color: var(--msg-text); font: inherit; cursor: pointer; }
@media (hover: hover) { .lv-ibtn:hover { border-color: var(--msg-accent); } }
.lv-ibtn:disabled { opacity: .5; cursor: default; }
.lv-ibtn-t { font-size: 15px; padding-right: 14px; }
.lv-ibtn:has(.lv-ibtn-t) { border-radius: var(--btn-r, 999px); padding-left: 12px; }
.lv-ibtn-plain { border: 0; background: none; }
.lv-ibtn.lv-primary { background: var(--msg-accent); color: var(--msg-on-accent); border-color: var(--msg-accent); }
.lv-ibtn.lv-danger { border-color: var(--msg-danger); color: var(--msg-danger); }
.lv-ibtn.lv-on { border-color: var(--msg-accent); color: var(--msg-accent); }
[data-tip] { position: relative; }

/* ---- the tools panel: replaces the chat column on desktop, a bottom sheet on phones ---- */
.lv-tools { position: absolute; inset: 0; z-index: 25; display: flex; flex-direction: column; background: var(--msg-surface); }
.lv-tools[hidden], .lv-tools-back[hidden] { display: none; }
.lv-tools-head { flex: none; display: flex; align-items: center; gap: 6px; min-height: 52px; padding: 0 8px 0 6px; border-bottom: 1px solid var(--msg-border); }
.lv-tools-title { flex: 1; padding: 0 8px; font-size: 18px; }
.lv-tools-tabs { flex: 1; min-width: 0; display: flex; overflow-x: auto; scrollbar-width: none; }
.lv-tools-tabs::-webkit-scrollbar { display: none; }
.lv-tools-tab { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; min-height: 52px; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--msg-muted); font: inherit; cursor: pointer; white-space: nowrap; }
.lv-tools-tab[aria-selected="true"] { color: var(--msg-text); border-bottom-color: var(--msg-accent); }
.lv-tools-scroll { flex: 1; min-height: 0; overflow-y: auto; position: relative; }
.lv-tsec { padding: 4px 0 18px; }
.lv-tsec-h { display: flex; align-items: center; gap: 10px; padding: 10px 16px 4px; font-size: 22px; font-weight: 700; }
.lv-tpad { padding-left: 16px; padding-right: 16px; }
.lv-tintro { margin: 2px 0 8px; font-size: 14px; }
.lv-thead { display: flex; justify-content: space-between; padding: 10px 16px; text-transform: uppercase; font-size: 12px; letter-spacing: .06em; color: var(--msg-muted); }
.lv-thead3 { display: grid; grid-template-columns: 84px 1fr 64px; }
.lv-thead3 span:last-child, .lv-mrow3 .lv-mrow-p { text-align: right; }
.lv-mrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 6px 16px; border: 0; border-bottom: 1px solid var(--msg-border); background: none; color: var(--msg-text); font: inherit; font-size: 15px; text-align: left; cursor: pointer; }
@media (hover: hover) { .lv-mrow:hover { background: var(--msg-hover); } }
.lv-mrow.lv-sel { background: var(--msg-hover); box-shadow: inset 3px 0 0 var(--msg-accent); }
.lv-mrow-l { display: flex; align-items: center; gap: 8px; min-width: 0; }
.lv-mrow-l .lv-ic { color: var(--msg-accent); flex: none; }
.lv-mrow-t { min-width: 0; overflow-wrap: anywhere; }
.lv-mrow-p { font-weight: 700; flex: none; }
.lv-mrow3 { display: grid; grid-template-columns: 84px 1fr 64px; }
.lv-xcard { display: flex; align-items: center; gap: 14px; width: calc(100% - 32px); margin: 8px 16px; padding: 10px 12px; border: 0; border-radius: 12px; background: var(--msg-surface-2); color: var(--msg-text); font: inherit; text-align: left; cursor: pointer; }
@media (hover: hover) { .lv-xcard:hover { box-shadow: inset 0 0 0 1px var(--msg-accent); } }
.lv-xcard-v { flex: none; display: flex; align-items: center; justify-content: center; width: 88px; height: 58px; border-radius: 8px; background: var(--msg-bg); overflow: hidden; color: var(--msg-accent); }
.lv-xcard-t { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 15px; }
.lv-xcard-t .lv-muted { font-size: 13px; }
.lv-thumb-wheel { width: 54px; height: 54px; }
.lv-thumb-rim { fill: none; stroke: var(--msg-text); stroke-width: 3; }
.lv-xcard-emojis { display: flex; gap: 2px; font-size: 22px; }
img.lv-xemoji { width: 26px; height: 26px; object-fit: contain; }
.lv-wheel-hero { display: flex; justify-content: center; padding: 6px 0 2px; }
.lv-wheel-hero .lv-thumb-wheel { width: 150px; height: 150px; }
.lv-dock { flex: none; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--msg-border); background: var(--msg-surface); }
.lv-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.lv-chip { flex: 1 0 60px; }
.lv-dock-line { display: flex; align-items: center; gap: 10px; }
.lv-dock-lab { flex: 1; display: flex; align-items: center; gap: 10px; color: var(--msg-muted); font-size: 14px; white-space: nowrap; }
.lv-dock-lab input { flex: 1; min-width: 0; font: inherit; font-size: 16px; min-height: 44px; padding: 8px 14px; border-radius: var(--btn-r, 999px); border: 1px solid var(--msg-border); background: var(--msg-bg); color: var(--msg-text); text-align: center; }
.lv-dock-bal { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.lv-dock-need { display: flex; flex-direction: column; font-size: 14px; line-height: 1.25; }
.lv-green { background: var(--msg-accent); color: var(--msg-on-accent); border-color: var(--msg-accent); font-weight: 700; }
.lv-tools-back { position: fixed; inset: 0; z-index: 24; background: color-mix(in srgb, var(--msg-black) 55%, transparent); }
@media (min-width: 901px) { .lv-tools-back { display: none; } }
@media (max-width: 900px) {
  .lv-tools { position: fixed; left: 0; right: 0; bottom: 0; top: auto; height: 78dvh; z-index: 40; border-radius: 16px 16px 0 0; box-shadow: 0 -8px 30px var(--msg-scrim); border: 1px solid var(--msg-border); }
  .lv-tools-back { z-index: 39; }
  .lv-tools-tab-t { font-size: 15px; }
}

/* volume / full screen on the video, popup backdrop */
.lv-vctl { position: absolute; right: 10px; bottom: 10px; z-index: 5; display: flex; align-items: center; gap: 8px; }
.lv-vol { display: flex; align-items: center; gap: 6px; padding-right: 4px; border-radius: var(--btn-r, 999px); background: transparent; }
.lv-vslider { width: 0; opacity: 0; transition: width .2s ease, opacity .2s ease; accent-color: var(--msg-accent); height: 24px; }
.lv-vol:hover .lv-vslider, .lv-vol:focus-within .lv-vslider { width: 90px; opacity: 1; }
@media (hover: none) { .lv-vslider { display: none; } }
.lv-vbtn { background: var(--msg-surface); }
.lv-vbtn-text { padding: 0 14px; border-radius: var(--btn-r, 999px); min-height: var(--btn-h, 44px); border: 1px solid var(--msg-accent); color: var(--msg-text); cursor: pointer; font: inherit; }
.lv-modal { overflow-y: auto; position: fixed; inset: 0; z-index: 70; background: var(--msg-scrim); display: flex; align-items: center; justify-content: center; padding: 16px; }

.lv-goal { container-type: inline-size; }
.lv-goal-fill { position: absolute; inset: 0 auto 0 0; z-index: 2; background: color-mix(in srgb, var(--msg-accent) 85%, var(--msg-surface-2)); overflow: hidden; transition: width .6s ease; } /* over the words: its own dark copy of them shows there */
.lv-goal-text.lv-goal-on { position: absolute; inset: 0 auto 0 0; width: 100cqw; color: var(--msg-on-accent); text-shadow: none; } /* the copy of the words inside the fill: as wide as the whole bar, so it lines up with the words under it */
.lv-goal-text.lv-goal-on .lv-ic { color: var(--msg-on-accent); }
.lv-goal-text { position: relative; z-index: 1; display: flex; align-items: center; gap: 6px; height: 100%; padding: 0 14px; font-size: 14px; color: var(--msg-text); text-shadow: 0 1px 2px var(--msg-scrim); overflow: hidden; white-space: nowrap; }
.lv-goal-text .lv-ic { color: var(--msg-text); }
.lv-goal-t { overflow: hidden; text-overflow: ellipsis; }
.lv-goal-pct { margin-left: auto; font-weight: 700; }
.lv-king { margin-left: auto; }
@media (max-width: 900px) {
  .lv-toyind-t { display: none; }
  .lv-toyind { padding: 6px 10px; }
  .lv-dock-lab { font-size: 0; gap: 0; }
  .lv-dock-send { padding: 0 16px; }
  .lv-goal { min-width: 150px; }
}

/* ---- Profile under the chat (desktop) / overlay with an X (phone) ---- */
.lv-profile { background: var(--msg-bg); border-top: 1px solid var(--msg-border); }
.lv-profile-in { max-width: 1100px; margin: 0; padding: 20px 16px 48px; display: grid; gap: 4px; }
.lv-profile h2 { margin: 0; font-size: 24px; }
.lv-profile h3 { margin: 22px 0 8px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--msg-muted); }
.lv-profile .lv-muted { margin: 2px 0 10px; }
.lv-pf-head { display: flex; gap: 16px; align-items: center; }
.lv-pf-pic { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 2px solid var(--msg-accent); flex: none; }
.lv-pf-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 18px 0 0; }
.lv-pf-facts div { background: var(--msg-surface); border: 1px solid var(--msg-border); border-radius: 10px; padding: 10px 12px; min-width: 0; }
.lv-pf-facts dt { font-size: 12px; color: var(--msg-muted); }
.lv-pf-facts dd { margin: 2px 0 0; font-weight: 700; overflow-wrap: anywhere; }
.lv-pf-about { margin: 0; line-height: 1.55; overflow-wrap: anywhere; }
.lv-pf-sched { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); column-gap: 28px; }
.lv-pf-sched li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--msg-border); }
.lv-pf-sched span { color: var(--msg-muted); }
.lv-profile .lv-btn { margin-top: 6px; }
.lv-profile-x, .lv-profile-back { display: none; }
@media (max-width: 900px) {
  .lv-profile { position: fixed; inset: 0; z-index: 60; overflow-y: auto; -webkit-overflow-scrolling: touch; border: 0;
    background: color-mix(in srgb, var(--msg-bg) 95%, transparent); /* no backdrop-filter here: it would make this box the anchor of the fixed slide-out sheet inside, which must stay on the screen's bottom edge */
    transform: translateY(100%); visibility: hidden; transition: transform .22s ease, visibility 0s .22s; }
  .lv-profile.lv-open { transform: none; visibility: visible; transition: transform .22s ease; }
  .lv-profile-in { padding: 64px 16px 40px; }
  .lv-profile-x { display: flex; position: fixed; top: calc(10px + env(safe-area-inset-top)); right: 12px; z-index: 61; width: 44px; height: 44px; font-size: 28px; line-height: 1; align-items: center; justify-content: center; border-radius: 50%; background: var(--msg-surface-2); color: var(--msg-text); border: 1px solid var(--msg-border); cursor: pointer; }
  .lv-profile:not(.lv-open) .lv-profile-x { display: none; }
  .lv-toplink.lv-profile-open { display: inline-block; padding: 8px 12px; }
}
button.lv-profile-open { cursor: pointer; background: transparent; color: var(--msg-text); font: inherit; }
@media (max-width: 900px) { button.lv-profile-open { padding: 6px 12px; font-size: 14px; flex: none; } }

/* ---- Studio: icon tabs / icon buttons with tooltips ---- */
.lv-tabs-ic { overflow: visible; flex-wrap: nowrap; }
.lv-tabs-ic .lv-tab { position: relative; flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px; min-height: 48px; }
.lv-tabs-ic .lv-tab .lv-tab-n { position: absolute; top: 4px; right: calc(50% - 22px); min-width: 18px; padding: 0 5px; border-radius: 999px; font-size: 12px; line-height: 18px; text-align: center; background: var(--msg-accent); color: var(--msg-on-accent); font-weight: 700; }
.lv-tab-n[hidden] { display: none; }
.lv-tabs-ic .lv-tab .lv-tab-count[data-zero="1"] { display: none; } /* (the Studio's viewers count: a corner badge only above 0; on an upright phone it sits under the icon, always) */
.lv-studio-mark { display: inline-flex; vertical-align: middle; color: var(--msg-muted); }
.lv-controls .lv-ibtn { padding-right: 4px; }
@media (max-width: 900px) {
  body.lv-studio .lv-controls .lv-ibtn-t { font-size: 15px; }
  body.lv-studio .lv-tabs-ic .lv-tab { min-height: 52px; }
}
.lv-ibtn[hidden], .lv-btn[hidden] { display: none !important; }

/* Studio tips: the saved/error message sticks to the top of the panel so it is always seen */
.lv-tips-note { position: sticky; top: 0; z-index: 5; margin: 0 0 10px; padding: 10px 14px; border-radius: 10px; background: var(--msg-surface-2); border: 1px solid var(--msg-border); font-size: 15px; }
.lv-tips-note[data-kind="ok"] { color: var(--msg-text); border-color: var(--msg-accent); }
/* tooltips must never widen the page: the screen edge tabs/buttons right-align theirs */
.lv-app { overflow-x: clip; }

.lv-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; vertical-align: middle; margin-right: 5px; border: 2px solid var(--msg-accent); }

/* name badges: the look is ui/badges.css (the admin's design); here only where they sit */
.lv-bdgs { display: inline-flex; align-items: center; gap: 4px; vertical-align: middle; }
.lv-bdgs:not(:empty) { margin-right: 5px; }
.lv-vlist li { display: flex; align-items: center; }

/* Fan club (VIP) popup: over everything; slides in from the right on desktop, up from the bottom on phones */
.lv-vipbox { position: fixed; inset: 0; z-index: 300; background: transparent; transition: background .25s ease; display: flex; justify-content: flex-end; }
.lv-vipbox.lv-vip-open { background: color-mix(in srgb, var(--msg-scrim) 62%, transparent); }
.lv-vip { position: relative; width: min(460px, 100%); height: 100%; overflow-y: auto; background: color-mix(in srgb, var(--msg-bg) 96%, transparent); border-left: 1px solid var(--msg-border); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transform: translateX(100%); transition: transform .26s ease; }
.lv-vipbox.lv-vip-open .lv-vip { transform: none; }
.lv-vip-x { position: absolute; top: calc(10px + env(safe-area-inset-top)); right: 12px; z-index: 2; background: var(--msg-surface-2); }
.lv-vip-body { padding: 64px 20px calc(28px + env(safe-area-inset-bottom)); }
.lv-vip-body h2 { margin: 0 0 4px; font-size: 24px; display: flex; align-items: center; gap: 8px; color: var(--msg-accent); }
.lv-vip-img { display: block; width: 100%; max-height: 240px; object-fit: cover; border-radius: 12px; margin-bottom: 16px; border: 1px solid var(--msg-border); }
.lv-vip-desc { line-height: 1.55; overflow-wrap: anywhere; white-space: pre-line; }
.lv-vip-price { margin: 14px 0 6px; font-size: 22px; padding: 14px; border-radius: 12px; background: var(--msg-surface); border: 1px solid var(--msg-border); text-align: center; }
.lv-vip-price b { color: var(--msg-accent); }
.lv-vip-msg { min-height: 1.4em; color: var(--msg-muted); overflow-wrap: anywhere; }
.lv-vip-ok { font-weight: 700; color: var(--msg-accent); }
.lv-vip-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.lv-vip-acts .lv-btn { flex: 1 1 auto; text-align: center; }
.lv-vip-auto { display: flex; align-items: center; gap: 8px; min-height: 44px; margin: 6px 0; font-size: .9rem; cursor: pointer; }
.lv-vip-auto input { width: 22px; height: 22px; flex: none; }
@media (max-width: 900px) {
  .lv-vipbox { align-items: flex-end; justify-content: stretch; }
  .lv-vip { width: 100%; height: auto; max-height: 92dvh; border-left: 0; border-top: 1px solid var(--msg-border); border-radius: 18px 18px 0 0; transform: translateY(100%); }
  .lv-vipbox.lv-vip-open .lv-vip { transform: none; }
  .lv-vip-body { padding-top: 56px; }
}
@media (prefers-reduced-motion: reduce) { .lv-vip, .lv-vipbox { transition: none; } }
.lv-sysic { vertical-align: -3px; margin-right: 6px; color: var(--msg-accent); }

/* ---- "model is offline" card (inside the video area) ---- */
.lv-overlay.lv-offcard { padding: 0; overflow: hidden; border-radius: inherit; }
.lv-overlay.lv-showcover { background: transparent; } /* a show card (ticket, group, private) lies over the model's picture (room.js showPoster 'show') */
.lv-off { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.lv-off[hidden] { display: none; }
.lv-off-bg { position: absolute; inset: -20px; background-size: cover; background-position: center; filter: grayscale(1) blur(14px) brightness(.45); transform: scale(1.1); }
.lv-off-in { position: relative; z-index: 1; width: min(560px, 92%); display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px; color: var(--msg-text); max-height: 100%; overflow-y: auto; }
.lv-off-av { position: relative; width: 92px; height: 92px; border-radius: 50%; background: var(--msg-surface-2); display: flex; align-items: center; justify-content: center; font-size: 36px; font-weight: 700; margin-bottom: 14px; flex: none; border: 3px solid var(--msg-border); }
.lv-off-av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.lv-off-tag { position: absolute; left: 50%; bottom: -12px; transform: translateX(-50%); padding: 3px 10px; border-radius: 999px; background: var(--msg-bg); border: 1px solid var(--msg-border); color: var(--msg-text); font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.lv-off-when { margin: 0; color: var(--msg-text); opacity: .85; }
.lv-off-note { margin: 0; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--msg-surface) 82%, transparent); line-height: 1.45; text-align: left; overflow-wrap: anywhere; max-height: 7.5em; overflow: auto; }
.lv-off-next { margin: 0; text-align: center; }
.lv-off-next b { color: var(--msg-accent); }
.lv-off-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; }
.lv-off-notify { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px 0 8px; border-radius: 999px; border: 1px solid var(--msg-border); background: color-mix(in srgb, var(--msg-surface) 82%, transparent); color: var(--msg-text); font: inherit; cursor: pointer; }
.lv-off-knob { position: relative; width: 38px; height: 22px; border-radius: 999px; background: var(--msg-surface-2); border: 1px solid var(--msg-border); transition: background .2s; }
.lv-off-knob::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--msg-text); transition: transform .2s; }
.lv-off-notify.lv-on .lv-off-knob { background: var(--msg-accent); }
.lv-off-notify.lv-on .lv-off-knob::after { transform: translateX(16px); background: var(--msg-on-accent); }
.lv-off-msg { margin: 0; min-height: 1.2em; font-size: 14px; color: var(--msg-muted); }
.lv-off-msg a { color: var(--msg-link); }
@media (max-width: 900px) { .lv-off-av { width: 72px; height: 72px; font-size: 28px; } .lv-off-in { gap: 8px; padding: 10px; } .lv-off-note { max-height: 4.5em; } }

/* profile media tabs + pager */

/* ---- viewer camera (viewer side): small self view, dialog, split screen ---- */
.lv-camb.lv-on { border-color: var(--msg-accent); color: var(--msg-accent); }
.lv-self { position: absolute; right: 12px; bottom: 64px; z-index: 7; width: clamp(214px, 26%, 280px); aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; border: 2px solid var(--msg-accent); background: var(--msg-surface); touch-action: none; cursor: grab; box-shadow: 0 6px 20px var(--msg-scrim); }
.lv-self[hidden] { display: none; }
.lv-self video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); background: var(--msg-surface); }
.lv-self.lv-paused video { visibility: hidden; }
.lv-self-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; flex-wrap: nowrap; gap: 2px; padding: 3px; background: color-mix(in srgb, var(--msg-bg) 70%, transparent); opacity: 0; transition: opacity .15s; }
.lv-self:hover .lv-self-bar, .lv-self:focus-within .lv-self-bar { opacity: 1; }
@media (hover: none) { .lv-self-bar { opacity: 1; } }
.lv-self-b { min-width: 28px; min-height: 28px; width: 28px; height: 28px; flex: none; background: var(--msg-surface-2); }
.lv-self-b svg { width: 16px; height: 16px; }
.lv-self-b.lv-is-off { color: var(--msg-danger); border-color: var(--msg-danger); }
.lv-self-tag { position: absolute; left: 6px; top: 6px; padding: 1px 7px; border-radius: 999px; font-size: 11px; background: color-mix(in srgb, var(--msg-bg) 75%, transparent); color: var(--msg-text); }
.lv-self-bubble { position: absolute; left: 10px; top: 10px; z-index: 7; background: var(--msg-accent); color: var(--msg-on-accent); }
.lv-video.lv-split { display: flex; }
.lv-video.lv-split > video { position: static; width: 50%; height: 100%; flex: none; }
.lv-video.lv-split > .lv-self { position: static; width: 50%; height: 100%; aspect-ratio: auto; border-radius: 0; border: 0; flex: none; order: 2; }
.lv-video.lv-split > .lv-self-b, .lv-video.lv-split .lv-self-bar { opacity: 1; }
.lv-video.lv-split > .lv-overlay, .lv-video.lv-split > .lv-fx, .lv-video.lv-split > .lv-floats, .lv-video.lv-split > .lv-quick, .lv-video.lv-split > .lv-vctl, .lv-video.lv-split > .lv-wheel { position: absolute; }
.lv-camd { position: fixed; inset: 0; z-index: 250; display: flex; align-items: center; justify-content: center; padding: 16px; background: color-mix(in srgb, var(--msg-scrim) 70%, transparent); }
.lv-camd-card { position: relative; width: min(480px, 100%); max-height: 94dvh; overflow-y: auto; border-radius: 16px; background: var(--msg-surface); border: 1px solid var(--msg-border); }
.lv-camd-x { position: absolute; top: 8px; right: 8px; }
.lv-camd-body { padding: 22px 18px 18px; }
.lv-camd-body h2 { margin: 0 0 10px; font-size: 22px; }
.lv-camd-rules { line-height: 1.5; padding: 12px; border-radius: 12px; background: var(--msg-surface-2); border: 1px solid var(--msg-border); margin: 0 0 10px; }
.lv-camd-consent { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 12px; line-height: 1.4; }
.lv-camd-consent input { margin-top: 3px; width: 20px; height: 20px; flex: none; }
.lv-camd-prev { width: 100%; aspect-ratio: 16 / 9; max-height: 170px; background: var(--msg-bg); border-radius: 12px; object-fit: cover; transform: scaleX(-1); margin-bottom: 10px; }
.lv-camd-msg { min-height: 1.3em; color: var(--msg-muted); }
.lv-camd-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.lv-camd-acts .lv-btn { flex: 1 1 auto; text-align: center; }
.lv-camnote { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 260; display: flex; align-items: center; gap: 8px; max-width: min(520px, 92vw); padding: 10px 14px; border-radius: 12px; background: var(--msg-surface-2); border: 1px solid var(--msg-accent); color: var(--msg-text); }
@media (max-width: 900px) {
  .lv-camd { align-items: flex-end; padding: 0; }
  .lv-camd-card { width: 100%; border-radius: 18px 18px 0 0; max-height: 92dvh; }
}

/* ---- Studio: viewer camera windows ---- */
.lv-vinvite { margin-left: auto; min-width: 36px; min-height: 36px; width: 36px; height: 36px; }
.lv-vw { position: absolute; z-index: 8; width: 220px; border-radius: 12px; overflow: hidden; background: var(--msg-surface); border: 2px solid var(--msg-accent); box-shadow: 0 6px 20px var(--msg-scrim); }
.lv-vw-vid { position: relative; aspect-ratio: 4 / 3; background: var(--msg-bg); }
.lv-vw-vid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lv-vw-wait { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--msg-muted); font-size: 14px; }
.lv-vw-head { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: 2px; padding: 3px 4px; background: color-mix(in srgb, var(--msg-bg) 72%, transparent); cursor: grab; touch-action: none; }
.lv-vw-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; padding-left: 4px; }
.lv-vw-b { min-width: 28px; min-height: 28px; width: 28px; height: 28px; background: var(--msg-surface-2); }
.lv-vw-b svg { width: 15px; height: 15px; }
.lv-vw-b.lv-is-off { color: var(--msg-danger); }
.lv-vw-mini { width: 64px; }
.lv-vw-mini .lv-vw-head { display: none; }
.lv-vw-restore { display: none; }
.lv-vw-mini .lv-vw-restore { display: flex; position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; align-items: flex-end; justify-content: flex-end; color: var(--msg-white); }
.lv-vw-mini .lv-vw-restore svg { width: 22px; height: 22px; margin: 3px; padding: 3px; border-radius: 50%; background: color-mix(in srgb, var(--msg-black) 62%, transparent); box-sizing: border-box; }
.lv-vw-mini .lv-vw-vid { aspect-ratio: 1; cursor: pointer; }
.lv-vw-big { position: absolute; right: 0; left: 50%; top: 0; bottom: 0; width: 50%; border-radius: 0; border: 0; }
.lv-vw-big .lv-vw-vid { height: 100%; aspect-ratio: auto; }
.lv-vw-flash { animation: lv-flash .5s ease 2; }
@keyframes lv-flash { 50% { box-shadow: 0 0 0 4px var(--msg-accent); } }
.lv-video.lv-vsplit > video { width: 50%; right: auto; left: 0; }
.lv-vcam-toast { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); z-index: 12; padding: 8px 14px; border-radius: 999px; background: var(--msg-surface-2); border: 1px solid var(--msg-accent); color: var(--msg-text); font-size: 14px; max-width: 92%; }
@media (max-width: 900px) { .lv-vw { width: 140px; } .lv-vw-mini { width: 52px; } }
.lv-pf-notify { margin: 8px 0 0; }
.lv-pf-head-note, #lv-pf-notemsg { margin: 4px 0 6px; }

.lv-camd-diag { margin: 0 0 10px; font-size: 12px; color: var(--msg-muted); overflow-wrap: anywhere; }

/* phone fixes found in screenshots: offline card, self view, Studio camera windows */
.lv-video.lv-is-offline > .lv-vctl, .lv-video.lv-is-offline > .lv-quick, .lv-video.lv-is-offline > .lv-wheel { display: none; }
@media (max-width: 900px) {
  .lv-off-in { gap: 6px; padding: 8px 12px; }
  .lv-off-av { width: 56px; height: 56px; font-size: 22px; margin-bottom: 10px; }
  .lv-off-note { padding: 8px 12px; font-size: 14px; max-height: 3.2em; overflow: hidden; }
  .lv-off-row { gap: 8px; }
  .lv-off-notify, .lv-off-cal { min-height: 40px; }
  .lv-self { width: 164px; bottom: 56px; }
  .lv-self-b { min-width: 24px; min-height: 24px; width: 24px; height: 24px; }
  .lv-self-b svg { width: 14px; height: 14px; }
  .lv-self-tag { display: none; }
  .lv-vw { width: 164px; }
  .lv-vw-name { display: none; }
  .lv-vw-b { min-width: 26px; min-height: 26px; width: 26px; height: 26px; }
  .lv-vw-head { justify-content: flex-end; }
}
@media (max-width: 900px) {
  .lv-off-note { display: none; }
  .lv-off-av { width: 48px; height: 48px; margin-bottom: 8px; }
  .lv-off-when, .lv-off-next { font-size: 14px; }
  .lv-off-in { justify-content: center; }
}
@media (max-width: 900px) {
  .lv-off-row { flex-wrap: wrap; } /* one line in English; a longer language (German "Zum Kalender hinzufügen") moves the second button to a new line instead of off the card (owner 2026-11-11) */
  .lv-off-notify { padding: 0 10px 0 6px; font-size: 14px; white-space: nowrap; max-width: 100%; min-width: 0; }
  .lv-off-cal { padding: 0 12px; font-size: 14px; white-space: nowrap; margin-top: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
  .lv-off-in { padding: 14px 12px 8px; justify-content: flex-start; }
}

.lv-vlist li { flex-wrap: wrap; }
.lv-vbar { flex-basis: 100%; margin: 4px 0 2px; }
.lv-vmore { margin-left: auto; }
.lv-camd-warn { margin: 0 0 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--msg-danger); font-size: 14px; line-height: 1.4; }
.lv-modsec { margin: 8px 0; border: 1px solid var(--msg-border); border-radius: 10px; padding: 6px 12px; background: var(--msg-surface); }
.lv-modsec summary { cursor: pointer; padding: 6px 0; font-weight: 600; }
.lv-modlist { list-style: none; margin: 0 0 6px; padding: 0; }
.lv-modlist li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid var(--msg-border); }
.lv-pf-btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0; }
#lv-pf-follow.lv-on { border-color: var(--msg-accent); color: var(--msg-accent); }
.lv-prefrow { padding: 10px 14px; border-bottom: 1px solid var(--msg-border); }
.lv-prefrow label { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.lv-prefrow input { width: 20px; height: 20px; }
.lv-prefrow p { margin: 0; font-size: 14px; }
.lv-ibtn.lv-is-off { border-color: var(--msg-danger); color: var(--msg-danger); }

/* ---- the model bar (like the big sites): tabs, Join Fan Club, ⋮ ---- */
.lv-mbar { flex: none; display: flex; align-items: center; gap: 6px; padding: 0 12px; min-height: 48px; background: var(--msg-bg); border-bottom: 1px solid var(--msg-border); position: relative; z-index: 12; }
.lv-mbar-tabs { display: flex; align-items: center; gap: 2px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.lv-mbar-tabs::-webkit-scrollbar { display: none; }
.lv-mbar-tab { flex: none; min-height: 44px; padding: 0 14px; background: none; border: 0; font: inherit; color: var(--msg-muted); cursor: pointer; white-space: nowrap; }
@media (hover: hover) { .lv-mbar-tab:hover { color: var(--msg-text); } }
.lv-vip-pill { display: inline-flex; align-items: center; gap: 6px; flex: none; min-height: var(--btn-h, 36px); padding: 0 16px; border-radius: var(--btn-r, 999px); border: 1px solid var(--msg-accent); background: none; color: var(--msg-text); text-decoration: none; font: inherit; font-size: 14px; white-space: nowrap; cursor: pointer; }
@media (hover: hover) { .lv-vip-pill:hover { background: var(--msg-hover); } }
.lv-vip-pill svg { color: var(--msg-accent); }
.lv-mbar-more { position: relative; margin-left: auto; flex: none; }
.lv-more-menu { position: absolute; right: 0; top: calc(100% + 4px); z-index: 40; width: min(300px, 86vw); padding: 10px; border-radius: 12px; background: var(--msg-surface); border: 1px solid var(--msg-border); box-shadow: 0 10px 30px var(--msg-scrim); display: flex; flex-direction: column; gap: 8px; }
.lv-more-menu[hidden] { display: none; }
.lv-more-item { min-height: 44px; padding: 0 12px; text-align: left; border-radius: 10px; border: 1px solid var(--msg-border); background: var(--msg-surface-2); font: inherit; color: var(--msg-text); cursor: pointer; }
.lv-more-menu .lv-off-notify { align-self: stretch; }
/* full screen: tip panel and pop-ups live inside the video */
.lv-video.lv-fs { position: fixed; inset: 0; z-index: 900; max-height: none; width: 100vw; height: 100vh; height: var(--dvh, 100dvh); aspect-ratio: auto; }
body.lv-filled { overflow: hidden; }
body.lv-filled #ch, body.lv-filled .ch-bar, body.lv-filled .ch-sidebar, body.lv-filled #chScrim { display: none; } /* full screen: the picture is all there is (the site header would sit over its exit button) */
.lv-tools.lv-in-fs { position: absolute; inset: auto 16px 16px auto; width: min(400px, 94%); height: min(74%, 620px); border-radius: 14px; border: 1px solid var(--msg-border); box-shadow: 0 10px 30px var(--msg-scrim); z-index: 30; overflow: hidden; }
@media (max-width: 900px) {
  .lv-mbar { padding: 0 6px; }
  .lv-mbar-tab { padding: 0 10px; }
  .lv-vip-pill { padding: 0 12px; font-size: 13px; }
  body.lv-room .lv-main { height: calc(100vh - 101px); height: calc(var(--dvh, 100dvh) - 101px); }
}
@media (max-width: 900px) {
  .lv-mbar-tab .lv-muted { display: none; }
  .lv-mbar-tabs { flex: 1 1 auto; }
  .lv-mbar-more { margin-left: 0; }
}
/* a phone: the bar must fit tabs + pills + the menu: "Fan Club" is short, "Book a show" is just the calendar */
.lv-pill-s { display: none; }
@media (max-width: 900px) {
  .lv-pill-s { display: inline; } .lv-vip-pill .lv-pill-l { display: none; } .lv-book-pill { min-width: 40px; justify-content: center; padding: 0 10px; }
  .lv-mbar-tab { padding: 0 7px; font-size: 15px; }
  .lv-mbar-tabs { flex: none; margin-right: auto; } /* the tabs keep their own width (a pill must never sit on top of Media) and everything else is pushed to the right edge */
  .lv-vip-pill { padding: 0 8px; gap: 4px; }
  .lv-book-pill { padding: 0 8px; min-width: 36px; }
  .lv-mbar { gap: 2px; }
}
/* the small full-screen tip panel is narrower than the side column: let its bottom area wrap instead of overflowing */
.lv-tools.lv-in-fs { width: min(440px, 94%); }
.lv-tools.lv-in-fs * { min-width: 0; }
.lv-tools.lv-in-fs .lv-chips { flex-wrap: wrap; }
.lv-tools.lv-in-fs .lv-dock-line { flex-wrap: wrap; gap: 8px; }
.lv-tools.lv-in-fs .lv-dock-lab { flex: 1 1 100%; }
.lv-tools.lv-in-fs .lv-dock-send { flex: 1 1 auto; white-space: nowrap; }
.lv-tools.lv-in-fs .lv-dock-bal { flex-wrap: wrap; }

/* ---- full screen: one tip pill (bottom right) -> the tip box; the wheel slides out to the LEFT of the tip box ---- */
.lv-tools.lv-in-fs { inset: auto 16px 16px auto; }
.lv-video.lv-fs .lv-wheel { right: 16px; bottom: 16px; width: min(380px, 40%); }
.lv-video.lv-fs.lv-tipbox .lv-wheel { right: calc(min(440px, 94%) + 32px); }
.lv-video.lv-fs .lv-wheel.lv-wheel-open.lv-wheel-active { right: 16px; width: min(440px, 46%); }
.lv-video.lv-fs.lv-tipbox .lv-wheel.lv-wheel-open.lv-wheel-active { right: calc(min(440px, 94%) + 32px); }
.lv-video.lv-fs .lv-wheel:not(.lv-wheel-open) { transform: translateX(20px); opacity: 0; }
.lv-video.lv-fs .lv-wheel.lv-wheel-open { opacity: 1; transition: transform .35s ease, opacity .35s ease, right .35s ease, width .35s ease; }
@media (max-height: 520px) {
  .lv-tools.lv-in-fs { height: min(88%, 620px); width: min(400px, 56%); }
  .lv-video.lv-fs.lv-tipbox .lv-wheel { right: calc(min(400px, 56%) + 32px); width: min(260px, 30%); }
  }
@media (max-height: 520px) {
  /* short (landscape phone) full screen: a compact bottom area so the Tip Menu list still has room */
  .lv-tools.lv-in-fs .lv-dock { padding: 6px 10px; }
  .lv-tools.lv-in-fs .lv-chips { flex-wrap: nowrap; overflow-x: auto; margin-bottom: 6px; padding-bottom: 0; }
  .lv-tools.lv-in-fs .lv-chip { min-height: 38px; flex: 0 0 auto; padding: 0 12px; }
  .lv-tools.lv-in-fs .lv-dock-line { flex-wrap: nowrap; }
  .lv-tools.lv-in-fs .lv-dock-lab { flex: 1 1 auto; }
  .lv-tools.lv-in-fs .lv-dock-lab, .lv-tools.lv-in-fs .lv-dock-lab input { min-height: 40px; }
  .lv-tools.lv-in-fs .lv-dock-send { flex: 0 0 auto; min-height: 40px; }
  .lv-tools.lv-in-fs .lv-dock-bal { display: none; }
  .lv-tools.lv-in-fs .lv-dock-note { min-height: 0; margin: 0; }
  .lv-tools.lv-in-fs .lv-tools-head { min-height: 44px; }
  .lv-tools.lv-in-fs .lv-tools-tab { min-height: 44px; }
}

/* full screen: my own camera (and its bubble) stays bottom LEFT, above the controls, so it never meets the tip pill / tip box */
.lv-video.lv-fs .lv-self { right: auto; left: 12px; bottom: 76px; }
.lv-video.lv-fs .lv-self-bubble { left: 12px; top: calc(12px + env(safe-area-inset-top)); }

/* ---- ticket shows ---- */
.lv-ticket-pill { display: inline-flex; align-items: center; gap: 6px; flex: none; min-height: var(--btn-h, 36px); padding: 0 14px; border-radius: var(--btn-r, 999px); border: 1px solid var(--msg-accent); background: transparent; color: var(--msg-text); font: inherit; font-size: 14px; cursor: pointer; white-space: nowrap; }
.lv-ticket-pill svg { color: var(--msg-accent); }
@media (hover: hover) { .lv-ticket-pill:hover { background: var(--msg-hover); } }
.lv-ticket-pill.lv-live { background: var(--msg-live); color: var(--msg-on-live); }
.lv-ticket-pill.lv-live svg { color: var(--msg-on-live); }
.lv-ticket-pill-s { opacity: .85; font-size: 13px; }
.lv-tk-card { margin: 12px 0; padding: 14px; border-radius: 12px; background: var(--msg-surface); border: 1px solid var(--msg-border); }
.lv-tk-card.lv-live { border-color: var(--msg-live); }
.lv-tk-head { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.lv-tk-tt { min-width: 0; }
.lv-tk-av { flex: none; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--msg-surface-2); border: 2px solid var(--msg-border); font-size: 22px; font-weight: 700; }
.lv-tk-card.lv-live .lv-tk-av { border-color: var(--msg-live); }
.lv-tk-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lv-tk-title { font-size: 18px; overflow-wrap: anywhere; }
.lv-tk-price { margin: 6px 0; font-weight: 700; color: var(--msg-accent); }
.lv-tkform { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--msg-border); }
.lv-tkform h4 { margin: 0 0 8px; }
.lv-tkform input { font-size: 16px; min-height: 44px; }
@media (max-width: 900px) { .lv-ticket-pill-s { display: none; } .lv-ticket-pill { padding: 0 8px; gap: 4px; font-size: 13px; } .lv-ticket-pill .lv-pill-l { display: none; } .lv-ticket-pill .lv-pill-s { display: inline; } }
.lv-tk-note { margin: 0 0 10px; padding: 10px 14px; border-radius: 10px; background: var(--msg-surface-2); border: 1px solid var(--msg-border); font-size: 15px; }
.lv-tk-note[data-kind="ok"] { border-color: var(--msg-accent); color: var(--msg-accent); font-weight: 600; }
.lv-tk-note[data-kind="error"] { color: var(--msg-danger); border-color: var(--msg-danger); font-weight: 600; }
.lv-tk-note[hidden] { display: none; }
.lv-toyhow { margin: 6px 0 12px; padding-left: 22px; line-height: 1.5; } .lv-toyhow li { margin: 4px 0; }
.lv-obsrow { display: flex; gap: 6px; align-items: center; }
.lv-obsrow input { flex: 1; min-width: 0; font: inherit; font-size: 16px; min-height: 44px; padding: 8px 10px; border-radius: 9px; border: 1px solid var(--msg-border); background: var(--msg-surface-2); color: var(--msg-text); }
.lv-obs-on { color: var(--msg-accent); font-weight: 700; }
/* Lovense's own floating pink camera button and panel (their script builds them: .pc-widget with .lvs-broadcast__* parts): hidden unless the model switches them on in the Toys tab for troubleshooting. Still running, only invisible. */
.pc-widget, [class*="lvs-broadcast"] { visibility: hidden; pointer-events: none; }
body.lv-show-lovense .pc-widget, body.lv-show-lovense [class*="lvs-broadcast"] { visibility: visible; pointer-events: auto; }

/* ---- controls on the picture, Stripchat style: LIVE badge + viewer count top left, volume / quality / full screen top right (shown on hover) */
.lv-live-badge { position: absolute; left: 10px; top: 10px; z-index: 6; display: flex; align-items: center; gap: 8px; pointer-events: none; transition: opacity .15s ease; }
.lv-live-badge[hidden] { display: none; }
.lv-live-tag { background: var(--msg-live); color: var(--msg-on-live); font-weight: 700; font-size: 14px; letter-spacing: .04em; padding: 3px 9px; border-radius: 4px; }
.lv-live-n { background: color-mix(in srgb, var(--msg-bg) 65%, transparent); color: var(--msg-text); font-size: 14px; padding: 3px 8px; border-radius: 4px; }
.lv-live-n[hidden] { display: none; }
.lv-video > .lv-vctl { top: 10px; bottom: auto; right: 10px; left: auto; }
.lv-self-bubble { top: 52px; }
.lv-video.lv-fs .lv-self-bubble { top: calc(56px + env(safe-area-inset-top)); }
.lv-vctl .lv-vol { display: flex; align-items: center; gap: 6px; }
@media (hover: hover) {
  .lv-video > .lv-vctl, .lv-video > .lv-live-badge, .lv-video > .lv-bl { opacity: 0; transition: opacity .15s ease; }
  .lv-video:hover > .lv-live-badge, .lv-video:hover > .lv-bl { opacity: 1; }
  .lv-video:hover > .lv-vctl, .lv-video > .lv-vctl:has(:focus-visible), .lv-video > .lv-vctl.lv-open { opacity: 1; }
}

/* ---- personal offer card on the picture (bottom left) and the struck-through price on the Private Show button */
.lv-offer { position: absolute; left: 10px; bottom: 10px; z-index: 8; width: min(300px, calc(100% - 20px)); box-sizing: border-box; padding: 26px 16px 16px; text-align: center; background: var(--msg-surface); border: 2px solid var(--msg-accent); border-radius: var(--btn-r, 14px); color: var(--msg-text); display: flex; flex-direction: column; gap: 6px; }
.lv-offer-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--msg-accent); color: var(--msg-on-accent); font-weight: 700; font-size: 14px; padding: 2px 12px; border-radius: 6px; white-space: nowrap; }
.lv-offer-x { position: absolute; top: 2px; right: 2px; min-width: 44px; min-height: 44px; border: 0; background: transparent; color: var(--msg-muted); font-size: 24px; cursor: pointer; }
.lv-offer-time { color: var(--msg-muted); font-size: 14px; }
.lv-offer-title { font-weight: 700; font-size: 18px; }
.lv-offer-go { min-height: 44px; margin-top: 6px; }
.lv-pillwas { color: var(--msg-muted); margin: 0 4px 0 6px; }
.lv-pillbtn .lv-pillprice { margin: 0 4px; }
@media (max-width: 700px) { .lv-offer { bottom: 8px; left: 8px; width: calc(100% - 16px); padding: 20px 12px 8px; gap: 2px; } .lv-offer > .lv-muted { display: none; } .lv-offer-title { font-size: 16px; } .lv-offer-go { margin-top: 2px; } }
.lv-video.lv-fs .lv-offer { bottom: 80px; }

/* the two buttons on the video edge: shaded pictures in a frosted-glass tile (a hairline of light at the top, a soft shadow under it) */
.lv-quick .lv-qbtn.lv-artbtn { width: 58px; height: 58px; border: 1px solid color-mix(in srgb, var(--msg-white) 16%, transparent); border-radius: var(--btn-r, 14px); background: linear-gradient(180deg, color-mix(in srgb, var(--msg-white) 14%, transparent), color-mix(in srgb, var(--msg-black) 30%, transparent)), color-mix(in srgb, var(--msg-black) 42%, transparent); -webkit-backdrop-filter: blur(10px) saturate(140%); backdrop-filter: blur(10px) saturate(140%); box-shadow: inset 0 1px 0 color-mix(in srgb, var(--msg-white) 22%, transparent), 0 6px 18px color-mix(in srgb, var(--msg-black) 40%, transparent); transition: transform .15s ease, background .15s ease, border-color .15s ease; }
.lv-quick .lv-qbtn.lv-artbtn .lv-ic svg { filter: drop-shadow(0 2px 3px color-mix(in srgb, var(--msg-black) 45%, transparent)); }
@media (hover: hover) { .lv-quick .lv-qbtn.lv-artbtn:hover { transform: translateY(-1px) scale(1.06); border-color: color-mix(in srgb, var(--msg-white) 30%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--msg-white) 20%, transparent), color-mix(in srgb, var(--msg-black) 24%, transparent)), color-mix(in srgb, var(--msg-black) 36%, transparent); } } /* (a touch screen keeps :hover after a tap: the button stayed lifted) */
.lv-quick .lv-qbtn.lv-artbtn.lv-on { border-color: var(--msg-accent); box-shadow: inset 0 1px 0 color-mix(in srgb, var(--msg-white) 22%, transparent), 0 0 0 2px color-mix(in srgb, var(--msg-accent) 35%, transparent), 0 6px 18px color-mix(in srgb, var(--msg-black) 40%, transparent); }
/* an upright phone: the picture is short, so the wheel and reaction buttons are smaller and stand from the middle up, never over the watermark in the bottom-right corner */
@media (max-width: 600px) {
  .lv-video:not(.lv-fs) > .lv-quick { top: auto; bottom: calc(10px + clamp(90px, calc(var(--wm-size, 12%) * 2.2), 160px) * .3 + 14px); gap: 8px; }
  .lv-video:not(.lv-fs) > .lv-quick .lv-qbtn.lv-artbtn { width: 46px; height: 46px; }
}
.lv-artbtn .lv-ic { display: inline-flex; }
/* the controls on the picture sit at its top edge: their tips open BELOW and are right-aligned so none runs off the screen */

/* the heart and the other buttons at the left edge of the picture: their tips start at the button's left edge (centred they ran off the screen) */

/* automatic tips in the chat (tip menu / private messages / toy) */
.lv-promo { display: flex; flex-direction: column; margin: 6px 0; border-left: 3px solid var(--msg-accent); background: var(--msg-surface); }
.lv-promo-head { display: flex; align-items: center; gap: 10px; padding: 8px 12px; min-height: 48px; }
.lv-promo-ic { color: var(--msg-accent); display: inline-flex; }
.lv-promo-t { flex: 1; font-weight: 600; }
.lv-promo-btn { min-height: var(--btn-h, 36px); padding: 0 14px; border-radius: var(--btn-r, 999px); border: 0; background: var(--msg-accent); color: var(--msg-on-accent); font: inherit; font-weight: 700; cursor: pointer; }
.lv-promo-item { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 44px; padding: 0 14px 0 44px; border: 0; border-top: 1px solid var(--msg-border); background: transparent; color: var(--msg-text); font: inherit; text-align: left; cursor: pointer; }
@media (hover: hover) { .lv-promo-item:hover { background: var(--msg-hover); } }
.lv-promo-p { color: var(--msg-accent); font-weight: 700; }
/* translated text (German "Wähle deine Spielweise", "Tippmenü") never squeezes the card: the title keeps whole words and the button moves under it when both do not fit;
   a price never breaks onto two lines; a long button label is cut with ... (owner 2026-11-11) */
.lv-promo-head { flex-wrap: wrap; row-gap: 6px; }
.lv-promo-t { flex: 1 1 9em; min-width: 0; overflow-wrap: normal; word-break: normal; hyphens: manual; }
.lv-promo-btn { flex: none; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lv-promo-item > span:first-child { min-width: 0; }
.lv-promo-p { flex: none; margin-left: 10px; white-space: nowrap; }

/* ---- the room page's own bar replaces the site bar on wide screens (the site bar itself: siteheader.css) */
.lv-mbar-id { display: none; }
@media (min-width: 900px) {
  body.lv-room .lv-top { display: none; }
  .lv-mbar-id { display: flex; align-items: center; gap: 8px; margin-right: 10px; }
  .lv-mbar-id .lv-avatar { width: 36px; height: 36px; }
  .lv-mbar-back { min-width: var(--btn-h, 40px); min-height: var(--btn-h, 40px); margin-left: -6px; border-radius: var(--btn-rc, 50%); }
@media (hover: hover) { .lv-mbar-back:hover { background: var(--msg-hover); } } /* (touch screens keep :hover after a tap) */
}

/* ---- the side panel's tabs (Public / Private / viewers): icon + label, a clear active state with an accent bar, number badges */
.lv-tabs { background: var(--msg-surface); border-bottom: 1px solid var(--msg-border); overflow: visible; }
.lv-rtab { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 14px; font-size: 16px; font-weight: 600; position: relative; transition: color .15s ease, background .15s ease; }
.lv-rtab .lv-rtab-ic { display: inline-flex; }
@media (hover: hover) { .lv-rtab:hover { background: var(--msg-hover); color: var(--msg-text); } }
.lv-rtab[aria-selected="true"] { color: var(--msg-text); border-bottom-color: transparent; }
.lv-rtab[aria-selected="true"]::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--msg-accent); }
.lv-rtab[aria-selected="true"] .lv-rtab-ic { color: var(--msg-accent); }
.lv-rtab-n { min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--msg-accent); color: var(--msg-on-accent); font-size: 12px; line-height: 20px; text-align: center; font-weight: 700; }
.lv-rtab-n[hidden] { display: none; }
.lv-rtab-count { background: transparent; color: inherit; font-size: 15px; padding: 0; min-width: 0; }
/* the number next to the LIVE tag: always a dark, slightly see-through grey whatever the theme */
.lv-live-n { background: color-mix(in srgb, var(--msg-black) 72%, transparent); color: var(--msg-white); }

/* ---- portrait streams and the blurred backdrop */
.lv-backdrop { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; background: linear-gradient(var(--msg-surface-2), var(--msg-black)); }
.lv-backdrop-img { position: absolute; inset: -8%; background-size: cover; background-position: center; filter: blur(28px) brightness(.55); }
.lv-video.lv-has-backdrop > video { background: transparent; z-index: 1; }
@media (min-width: 900px) {
  /* a portrait stream: the picture column is as narrow as the picture, the chat column takes the rest */
  .lv-main.lv-pstream { grid-template-columns: minmax(420px, 45%) minmax(380px, 1fr); }
  .lv-main.lv-pstream .lv-video:not(.lv-fs) { aspect-ratio: auto; height: calc(var(--dvh, 100dvh) - 236px); max-height: none; min-height: 360px; }
}

/* ---- the filled window: chat + tip bar on the picture, shown on pointer movement (computers) or until a tap hides them (phones) */
.lv-video.lv-fs::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 100px; z-index: 2; pointer-events: none; background: linear-gradient(color-mix(in srgb, var(--msg-black) 62%, transparent), transparent); transition: opacity .2s ease; }
.lv-video.lv-fs .lv-vctl, .lv-video.lv-fs .lv-live-badge, .lv-video.lv-fs .lv-bl, .lv-video.lv-fs .lv-ov, .lv-video.lv-fs .lv-ctl-ov, .lv-video.lv-fs .lv-quick { transition: opacity .2s ease; }
.lv-video.lv-fs:not(.lv-ui-on)::before { opacity: 0; }
.lv-video.lv-fs:not(.lv-ui-on) .lv-vctl, .lv-video.lv-fs:not(.lv-ui-on) .lv-live-badge, .lv-video.lv-fs:not(.lv-ui-on) .lv-bl, .lv-video.lv-fs:not(.lv-ui-on) .lv-ov, .lv-video.lv-fs:not(.lv-ui-on) .lv-ctl-ov, .lv-video.lv-fs:not(.lv-ui-on) .lv-quick { opacity: 0; pointer-events: none; }
.lv-video.lv-fs.lv-ui-on .lv-vctl, .lv-video.lv-fs.lv-ui-on .lv-live-badge, .lv-video.lv-fs.lv-ui-on .lv-bl, .lv-video.lv-fs.lv-ui-on .lv-quick { opacity: 1; }
.lv-ov { position: absolute; z-index: 6; left: 12px; top: 76px; bottom: 82px; width: min(400px, 34vw); display: flex; flex-direction: column; justify-content: flex-end; min-height: 0; }
.lv-ov .lv-pane { background: transparent; padding: 0; flex: 0 1 auto; min-height: 0; display: flex; flex-direction: column; overflow: visible; max-height: 100%; }
.lv-ov .lv-pane[hidden] { display: none; }
.lv-ov .lv-pane-chat > .lv-pinned { margin: 0 0 6px; }
.lv-ov .lv-chat { flex: 0 1 auto; min-height: 0; max-height: 100%; display: flex; flex-direction: column; }
.lv-ov .lv-chat-list { flex: 0 1 auto; min-height: 0; overflow-y: auto; scrollbar-width: none; display: flex; flex-direction: column; -webkit-mask-image: linear-gradient(transparent, var(--msg-black) 20px); mask-image: linear-gradient(transparent, var(--msg-black) 20px); }
.lv-ov .lv-chat-list::-webkit-scrollbar { display: none; }
.lv-ov .lv-chat-list > :first-child { margin-top: auto; }
.lv-ov .lv-row, .lv-ov .lv-sysrow, .lv-ov .lv-promo { border: 0; border-radius: 14px; margin: 3px 0; padding: 7px 12px; background: color-mix(in srgb, var(--msg-black) 64%, transparent); color: var(--msg-white); width: fit-content; max-width: 100%; backdrop-filter: blur(6px); }
.lv-ov .lv-sysrow { text-align: left; }
.lv-ov .lv-promo { width: 100%; padding: 0; }
.lv-ov .lv-promo-head { padding: 6px 8px 6px 12px; }
.lv-ov .lv-chat-form { border-top: 0; padding: 6px 0 0; background: none; }
.lv-ov .lv-chat-pill { background: color-mix(in srgb, var(--msg-black) 68%, transparent); border-color: color-mix(in srgb, var(--msg-text) 28%, transparent); backdrop-filter: blur(6px); }
.lv-ov .lv-chat-note, .lv-ov .lv-chat-join { background: color-mix(in srgb, var(--msg-black) 64%, transparent); border-radius: 12px; margin-top: 6px; }
.lv-ov-switch { order: -1; position: relative; flex: none; z-index: 3; width: 44px; height: 44px; min-width: 44px; border-radius: var(--btn-rc, 50%); padding: 0; display: inline-flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--msg-black) 68%, transparent); border: 1px solid color-mix(in srgb, var(--msg-text) 28%, transparent); color: var(--msg-text); cursor: pointer; }
.lv-ov-switch[aria-pressed="true"] { color: var(--msg-accent); border-color: var(--msg-accent); }
.lv-ov-badge { position: absolute; top: -4px; right: -4px; min-width: 18px; padding: 0 5px; border-radius: 999px; background: var(--msg-accent); color: var(--msg-on-accent); font-size: 11px; line-height: 18px; font-weight: 700; text-align: center; }
/* the private chat (the messaging screen) drawn on the picture */
.lv-ov .lv-pane-msg { --msg-bg: color-mix(in srgb, var(--msg-black) 58%, transparent); --msg-surface: color-mix(in srgb, var(--msg-black) 64%, transparent); --msg-surface-2: color-mix(in srgb, var(--msg-black) 72%, transparent); max-height: 100%; border-radius: 14px; overflow: hidden; backdrop-filter: blur(6px); }
.lv-ov > .lv-ov-switch { align-self: flex-start; margin-top: 6px; }
/* the Private Show / Send Tip bar */
.lv-ctl.lv-ctl-ov { position: absolute; z-index: 6; right: 16px; bottom: 16px; left: auto; width: auto; padding: 6px 8px; gap: 8px; flex-wrap: nowrap; border: 0; border-radius: var(--btn-r, 999px); background: color-mix(in srgb, var(--msg-black) 66%, transparent); backdrop-filter: blur(6px); }
.lv-ctl-ov .lv-ctl-left { display: none; }
.lv-video.lv-fs.lv-tipbox .lv-ctl-ov { display: none; }
@media (max-width: 899px) and (orientation: portrait), (max-width: 899px) and (pointer: coarse) and (max-aspect-ratio: 3/2) {
  .lv-ov { left: 8px; right: 8px; width: auto; top: auto; height: min(48%, 440px); bottom: calc(76px + env(safe-area-inset-bottom)); }
  .lv-ctl.lv-ctl-ov { left: auto; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); }
}
@media (max-height: 520px) {
  .lv-ov { top: 60px; bottom: calc(72px + env(safe-area-inset-bottom)); width: 46%; left: 8px; }
  .lv-ctl.lv-ctl-ov { right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); }
}
/* the private chat's text row on the picture is crowded: slimmer tool buttons so the message box keeps room to type */
.lv-ov .msg-composer-row { gap: 6px; }
.lv-ov .msg-app .msg-pill-btn { width: 36px; height: 36px; }
.lv-ov #msg-input { min-width: 120px; }

/* ---- the viewer's private chat looks like the public chat (owner 2026-10-27: "the entire input section should be literally identical") ----
   The text row is the public chat's: the same padding (so it sits at the same height above the screen's bottom edge), the same rounded field, the same Send
   button (size and the admin's corner shape), never dimmed while empty. */
.lv-pane-msg .msg-app.msg-embed .msg-composer { padding: 8px 10px calc(6px + env(safe-area-inset-bottom) * .35); }
.lv-pane-msg .msg-app.msg-embed .msg-composer-row { gap: 8px; }
.lv-pane-msg .msg-app.msg-embed .msg-send-round { width: calc(var(--btn-h, 44px) + 2px); height: calc(var(--btn-h, 44px) + 2px); min-height: calc(var(--btn-h, 44px) + 2px); border-radius: var(--btn-rc, 50%); }
.lv-pane-msg .msg-app.msg-embed .msg-send-round:disabled { opacity: 1; }
/* on the picture (filled window: phone sideways or upright, computer), in the viewer's room AND the Studio: the private chat uses the public chat's box
   (no panel behind it), the round switch at the left of the text row like in the public chat, the messages as see-through rows like the chat lines; only the
   slim header (picture, name, price, ⋯) is extra, and in the Studio the row of round pictures / the list of conversations */
.lv-ov.lv-ov-priv .lv-pane-msg:not([hidden]) { flex: 1 1 auto; height: 100%; min-height: 0; background: none; border-radius: 0; overflow: visible; backdrop-filter: none; -webkit-backdrop-filter: none; }
.lv-ov.lv-ov-priv .msg-embed, .lv-ov.lv-ov-priv .msg-embed .msg-convo-pane, .lv-ov.lv-ov-priv .msg-embed .msg-convo, .lv-ov.lv-ov-priv .msg-embed .msg-scroll { background: transparent; }
.lv-ov.lv-ov-priv .msg-embed .msg-convo-head { flex-wrap: nowrap; gap: 8px; min-height: 0; margin: 0 0 6px; padding: 4px 4px 4px 6px; border: 0; border-radius: 14px; background: color-mix(in srgb, var(--msg-black) 64%, transparent); color: var(--msg-white); }
.lv-ov.lv-ov-priv .msg-embed .msg-convo-head .msg-avatar { flex: none; width: 32px; height: 32px; }
.lv-ov.lv-ov-priv .msg-embed .msg-convo-who { flex: 1 1 auto; min-width: 0; }
.lv-ov.lv-ov-priv .msg-embed #msg-convo-name { color: var(--msg-white); }
.lv-ov.lv-ov-priv .msg-embed #msg-convo-sub, .lv-ov.lv-ov-priv .msg-intro-list { display: none; }
.lv-ov.lv-ov-priv .msg-embed .msg-price { flex: none; margin: 0; padding: 0 2px; border: 0; background: none; color: var(--msg-white); font-size: 14px; font-weight: 700; }
.lv-ov.lv-ov-priv .msg-embed .msg-convo-actions { flex: none; min-width: 0; }
.lv-ov.lv-ov-priv .msg-embed .msg-menu-btn { width: 36px; min-width: 36px; min-height: 36px; border: 0; background: none; color: var(--msg-white) !important; } /* !important: the messaging buttons' own colour rule is !important (the legacy form styles force one) */
.lv-ov.lv-ov-priv .msg-embed .msg-hd-btn { width: 36px; min-width: 36px; min-height: 36px; height: 36px; } /* the gift button beside the ⋯: the same size, so the header stays one slim row */
.lv-ov.lv-ov-priv .msg-embed .msg-scroll { display: flex; flex-direction: column; padding: 0; scrollbar-width: none; -webkit-mask-image: linear-gradient(transparent, var(--msg-black) 20px); mask-image: linear-gradient(transparent, var(--msg-black) 20px); }
.lv-ov.lv-ov-priv .msg-embed .msg-scroll::-webkit-scrollbar { display: none; }
.lv-ov.lv-ov-priv .msg-embed .msg-messages { margin-top: auto; gap: 6px; }
.lv-ov.lv-ov-priv .msg-embed .msg-bubble.theirs, .lv-ov.lv-ov-priv .msg-embed .msg-bubble.system { border: 0; border-radius: 14px; background: color-mix(in srgb, var(--msg-black) 64%, transparent); color: var(--msg-white); }
.lv-ov.lv-ov-priv .msg-embed .msg-bubble.system { align-self: flex-start; }
.lv-ov.lv-ov-priv .msg-embed .msg-bubble.mine { border-radius: 14px; }
.lv-ov.lv-ov-priv .msg-embed .msg-day { padding: 2px 10px; border-radius: 999px; background: color-mix(in srgb, var(--msg-black) 64%, transparent); color: var(--msg-white); }
.lv-ov.lv-ov-priv .msg-embed .msg-composer { padding: 6px 0 0; border: 0; background: none; }
.lv-ov.lv-ov-priv .msg-embed .msg-pill { background: color-mix(in srgb, var(--msg-black) 68%, transparent); border-color: color-mix(in srgb, var(--msg-text) 28%, transparent); }
.lv-ov.lv-ov-priv .msg-embed .msg-pill-btn { width: 40px; height: 40px; }
@media (max-height: 520px) and (orientation: landscape) and (min-aspect-ratio: 3/2) { .lv-video.lv-fs .lv-ov.lv-ov-priv .msg-embed .msg-composer { padding: 0; } }
/* the Studio's list of conversations (no text row to sit in): the switch stays in the same spot, the bottom left of the box; the rows are see-through like chat lines */
.lv-ov > .lv-ov-switch.lv-ov-float { position: absolute; left: 0; bottom: 0; margin: 0; }
.lv-ov.lv-ov-priv .msg-embed-all .msg-list-pane, .lv-ov.lv-ov-priv .msg-embed-all .msg-tabbar { background: transparent; }
.lv-ov.lv-ov-priv .msg-embed-all .msg-thread-btn { margin: 3px 0; border: 0; border-radius: 14px; background: color-mix(in srgb, var(--msg-black) 64%, transparent); color: var(--msg-white); }

/* the filled window paints black behind and beside the picture (phone notches / browser bars show no theme colour). The box itself stays INSIDE the part of
   the screen you can see (iPhone held sideways: the notch side and the rounded corners are black strips), so every button and the chat placed from its edges
   is on the screen without per-button offsets. --lv-sl / --lv-sr are the notch widths (tests set them to fake an iPhone: Chromium has no notch). */
:root { --lv-sl: env(safe-area-inset-left, 0px); --lv-sr: env(safe-area-inset-right, 0px); }
html:has(body.lv-filled), body.lv-filled { background: var(--msg-black); }
.lv-video.lv-fs { left: var(--lv-sl); right: var(--lv-sr); width: auto; }
.lv-video.lv-fs { box-shadow: 0 0 0 100vmax var(--msg-black); } /* the black strips beside it (the notch side) cover the page behind */
/* tap on the picture (phones, normal page) hides the controls over it */
.lv-video.lv-chrome-off .lv-vctl, .lv-video.lv-chrome-off .lv-live-badge, .lv-video.lv-chrome-off .lv-bl, .lv-video.lv-chrome-off .lv-quick { opacity: 0; pointer-events: none; }
/* phone portrait, filled window, a LANDSCAPE stream: the picture sits at the top (under the controls) and the chat fills the space below it */
@media (max-width: 899px) and (orientation: portrait), (max-width: 899px) and (pointer: coarse) and (max-aspect-ratio: 3/2) {
  .lv-video.lv-fs.lv-lstream > video { inset: calc(64px + env(safe-area-inset-top)) 0 auto 0; width: 100%; height: calc(100vw / var(--lv-ar, 1.778)); }
  .lv-video.lv-fs.lv-lstream .lv-ov { top: calc(64px + env(safe-area-inset-top) + 100vw / var(--lv-ar, 1.778) + 6px); height: auto; }
}

/* ---- phone, upright, normal page: the Public / Private / viewers switch is a slim icon rail at the left of the chat, the text box is at the TOP of the chat */
@media (max-width: 899px) and (orientation: portrait), (max-width: 899px) and (pointer: coarse) and (max-aspect-ratio: 3/2) {
  .lv-side-in { display: grid; grid-template-columns: 56px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
  .lv-tabs { grid-column: 1; grid-row: 1; flex-direction: column; justify-content: flex-start; border-bottom: 0; border-right: 1px solid var(--msg-border); overflow: visible; }
  .lv-rtab { flex: 0 0 auto; flex-direction: column; gap: 2px; min-height: 64px; padding: 8px 0; font-size: 12px; }
  .lv-rtab .lv-rtab-t { display: none; }
  .lv-rtab[aria-selected="true"]::after { left: 0; right: auto; top: 14%; bottom: 14%; width: 3px; height: auto; border-radius: 0 3px 3px 0; }
  .lv-rtab .lv-rtab-n:not(.lv-rtab-count) { position: absolute; top: 6px; right: 6px; }
  .lv-rtab-count { position: static; min-width: 0; padding: 0; border-radius: 0; background: none; color: inherit; font-size: 13px; font-weight: 500; line-height: 1; } /* (the viewers count under the person icon: a plain number in the icon's colour, the same as the Studio's rail; owner 2026-11-12) */
  .lv-side-in > .lv-pane { grid-column: 2; grid-row: 1; }
  /* a PORTRAIT stream (a model on her phone): a tall picture, the action row right under it, the chat below (scroll) */
  body.lv-room .lv-main.lv-pstream { height: auto; }
  .lv-main.lv-pstream .lv-video:not(.lv-fs) { aspect-ratio: auto; max-height: none; height: min(calc(var(--dvh, 100dvh) - 215px), calc(100vw / var(--lv-ar, .5625))); }
  .lv-main.lv-pstream .lv-side { flex: none; min-height: 460px; }
}
@media (max-width: 899px) and (orientation: portrait), (max-width: 899px) and (pointer: coarse) and (max-aspect-ratio: 3/2) {
  /* the private chat sits next to the icon column: slimmer buttons so emoji, attach, voice, the box and Send stay on ONE row */
  .lv-side .msg-app .msg-pill-btn { width: 36px; height: 36px; }
  .lv-side #msg-input { min-width: 100px; }
}

/* phone, upright, normal page: the room is one scrolling column (picture + chat); the text box stays at the bottom of the screen and the chat gets taller as
   the picture scrolls away (room.js fitSide sets the chat's height). A portrait stream scrolls the whole page: the text box sticks to the screen bottom. */
@media (max-width: 899px) and (orientation: portrait), (max-width: 899px) and (pointer: coarse) and (max-aspect-ratio: 3/2) {
  body.lv-room .lv-main:not(.lv-pstream) { position: relative; overflow-y: auto; overscroll-behavior-y: auto; } /* (no -webkit-overflow-scrolling: on iPhone it makes this scroller its own stacking layer, which put the tip panel UNDER the page's scrim = a plain theme-coloured cover) */
  .lv-main:not(.lv-pstream) .lv-side { flex: none; }
  body.lv-staff .lv-main:not(.lv-pstream) .lv-side { flex: 1 1 auto; } /* the staff page and the studio view have no fitSide: the chat simply fills the screen under the picture and the tool bar */
  .lv-main.lv-pstream .lv-side .lv-chat-form { position: sticky; bottom: 0; z-index: 4; background: var(--msg-surface); }
}

/* ---- the picture's settings menu: a dark popover on the page (like the big sites), the mini player, hover buttons without circles */
.lv-qmenu { position: fixed; z-index: 1000; box-sizing: border-box; overflow-y: auto; padding: 6px 0; border-radius: 12px; background: color-mix(in srgb, var(--msg-black) 94%, transparent); border: 1px solid color-mix(in srgb, var(--msg-text) 14%, transparent); box-shadow: 0 10px 30px color-mix(in srgb, var(--msg-black) 70%, transparent); color: var(--msg-white); }
.lv-qmenu-h { display: flex; justify-content: space-between; padding: 10px 16px 8px; font-size: 14px; color: color-mix(in srgb, var(--msg-white) 62%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--msg-white) 12%, transparent); margin-bottom: 4px; }
.lv-qitem { display: flex; justify-content: space-between; align-items: center; width: 100%; box-sizing: border-box; min-height: 44px; padding: 0 16px; border: 0; background: transparent; color: var(--msg-white); font: inherit; text-align: left; cursor: pointer; }
button.lv-qitem:focus-visible { background: color-mix(in srgb, var(--msg-white) 10%, transparent); }
@media (hover: hover) { button.lv-qitem:hover { background: color-mix(in srgb, var(--msg-white) 10%, transparent); } } /* (touch screens keep :hover after a tap) */
.lv-qitem[aria-checked="true"] { background: color-mix(in srgb, var(--msg-white) 16%, transparent); font-weight: 600; }
.lv-qmenu-sep { height: 1px; margin: 6px 0; background: color-mix(in srgb, var(--msg-white) 12%, transparent); }
.lv-hd { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 4px; background: var(--msg-live); color: var(--msg-on-live); font-size: 11px; font-weight: 700; line-height: 16px; vertical-align: middle; }
.lv-switch { position: relative; flex: none; width: 46px; height: 28px; padding: 0; border: 0; border-radius: 999px; background: color-mix(in srgb, var(--msg-white) 26%, transparent); cursor: pointer; transition: background .15s ease; }
.lv-switch[aria-checked="true"] { background: var(--msg-accent); }
.lv-switch-knob { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--msg-white); transition: transform .15s ease; }
.lv-switch[aria-checked="true"] .lv-switch-knob { transform: translateX(18px); }
/* the mini player */
.lv-mini { position: fixed; z-index: 80; right: 16px; bottom: 16px; width: 240px; aspect-ratio: var(--lv-mini-ar, 1.7778); max-height: 40vh; border-radius: 12px; overflow: hidden; cursor: pointer; background: var(--msg-black); box-shadow: 0 8px 24px color-mix(in srgb, var(--msg-black) 70%, transparent); }
.lv-mini.lv-mini-portrait { width: 150px; }
.lv-mini video { width: 100%; height: 100%; object-fit: cover; display: block; }
.lv-mini-x { position: absolute; top: 2px; right: 2px; min-width: 36px; min-height: 36px; border: 0; border-radius: var(--btn-rc, 50%); background: color-mix(in srgb, var(--msg-black) 60%, transparent); color: var(--msg-white); font-size: 22px; line-height: 1; cursor: pointer; }
@media (pointer: coarse) { .lv-mini, .lv-mini.lv-mini-portrait { left: auto; bottom: auto; right: calc(8px + env(safe-area-inset-right)); top: calc(8px + env(safe-area-inset-top)); width: 50vw; } .lv-mini.lv-mini-portrait { width: 30vw; } }
/* hover buttons: no circles; white icons with a soft dark shadow over a faint dark gradient along the top of the picture (so they show on a bright picture) */
.lv-video:not(.lv-fs)::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 96px; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .2s ease; background: linear-gradient(color-mix(in srgb, var(--msg-black) 55%, transparent), transparent); }
@media (hover: hover) { .lv-video:not(.lv-fs):hover::before { opacity: 1; } }
@media (hover: none) { .lv-video:not(.lv-fs):not(.lv-chrome-off)::before { opacity: 1; } }
.lv-vctl .lv-vbtn { background: transparent; border: 0; color: var(--msg-white); filter: drop-shadow(0 1px 3px color-mix(in srgb, var(--msg-black) 90%, transparent)); }
.lv-vctl .lv-vbtn:focus-visible { background: color-mix(in srgb, var(--msg-white) 16%, transparent); }
@media (hover: hover) { .lv-vctl .lv-vbtn:hover { background: color-mix(in srgb, var(--msg-white) 16%, transparent); } } /* (touch screens keep :hover after a tap) */
/* the iPhone blank-screen suspects: while the tip / wheel / reactions panel is open in the filled window, drop the full-screen scrim and every heavy layer behind it */
body.lv-filled .lv-tools-back { display: none; }
.lv-video.lv-fs.lv-tipbox .lv-backdrop-img { display: none; }
@media (pointer: coarse) {
  .lv-video.lv-fs.lv-tipbox .lv-ov, .lv-video.lv-fs.lv-tipbox .lv-ctl-ov, .lv-video.lv-fs.lv-tipbox .lv-quick { display: none; }
  .lv-video.lv-fs .lv-ov, .lv-video.lv-fs .lv-ctl-ov, .lv-video.lv-fs .lv-ov .lv-row, .lv-video.lv-fs .lv-ov .lv-sysrow, .lv-video.lv-fs .lv-ov .lv-promo, .lv-video.lv-fs .lv-ov .lv-chat-pill { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .lv-video.lv-fs .lv-ov .lv-chat-list { -webkit-mask-image: none; mask-image: none; }
}
/* desktop: the picture and the chat are rounded cards with a gap between them (like the big sites) */
@media (min-width: 900px) {
  .lv-main { column-gap: 12px; padding: 10px 12px 0; }
  .lv-stage > .lv-video:not(.lv-fs) { border-radius: 12px 12px 0 0; } /* the picture keeps its top corners and the bar under it meets it: only the bar's bottom corners are rounded (like Stripchat) */
  .lv-stage > .lv-ctl { border-radius: 0 0 12px 12px; border-top: 0; }
  .lv-side { border-radius: 12px; border-left: 0; overflow: hidden; }
}
/* no tooltip on top of an open menu */
.lv-vctl [aria-expanded="true"]::after { display: none; }

/* ---- "Use My Webcam" next to the toy indicator; chat header (compact tabs at the left, the three dots and the X at the right); hiding the chat; invisible chat scrollbar */
.lv-ctl-cam { display: flex; align-items: center; margin-right: auto; }
.lv-ctl-cam:empty { display: none; }
.lv-ctl-left { margin-right: 0; }
.lv-camb { display: inline-flex; align-items: center; gap: 6px; min-height: var(--btn-h, 36px); padding: 6px 14px; border-radius: var(--btn-r, 999px); font: inherit; font-size: 14px; background: var(--msg-surface-2); border: 1px solid var(--msg-border); color: var(--msg-text); cursor: pointer; white-space: nowrap; }
.lv-camb[hidden] { display: none; }
@media (hover: hover) { .lv-camb:hover { border-color: var(--msg-accent); } }
.lv-camb.lv-on { border-color: var(--msg-accent); }
.lv-ctl-ov .lv-ctl-cam { margin-right: 0; }
.lv-ctl-ov .lv-camb .lv-ibtn-t { display: none; }
@media (max-width: 899px) { .lv-camb .lv-ibtn-t { display: none; } .lv-camb { padding: 6px 10px; min-width: 44px; justify-content: center; } }
.lv-tabs-actions { display: flex; align-items: center; gap: 2px; margin-left: auto; padding-right: 6px; flex: none; }
.lv-tabs-actions .lv-mbar-more { margin-left: 0; }
@media (min-width: 900px) {
  .lv-rtab { flex: 0 0 auto; padding: 0 18px; }
  .lv-tabs-actions .lv-more-menu { z-index: 60; }
  .lv-tabs-actions #lv-more { background: transparent; border: 0; }
  .lv-main.lv-chat-hidden { grid-template-columns: minmax(0, 1fr); }
  .lv-main.lv-chat-hidden .lv-side { display: none; }
}
.lv-vctl .lv-vbtn.lv-on { background: color-mix(in srgb, var(--msg-white) 22%, transparent); }
/* the minimised camera bubble hides with the other controls (tap) */
.lv-video.lv-chrome-off .lv-self-bubble, .lv-video.lv-fs:not(.lv-ui-on) .lv-self-bubble { opacity: 0; pointer-events: none; }
/* the chat has no visible scrollbar: a thin slider fades in only while the pointer is over it */
.lv-chat-list { scrollbar-width: thin; scrollbar-color: transparent transparent; }
.lv-chat-list:hover { scrollbar-color: color-mix(in srgb, var(--msg-white) 30%, transparent) transparent; }
.lv-chat-list::-webkit-scrollbar { width: 8px; }
.lv-chat-list::-webkit-scrollbar-track { background: transparent; }
.lv-chat-list::-webkit-scrollbar-thumb { background-color: transparent; border-radius: 4px; transition: background-color .25s ease; }
.lv-chat-list:hover::-webkit-scrollbar-thumb { background-color: color-mix(in srgb, var(--msg-white) 30%, transparent); }
/* the controls row under the picture never wraps onto a second line: when it gets tight the webcam button keeps only its camera icon */
.lv-stage > .lv-ctl { container-type: inline-size; }
@media (min-width: 900px) { .lv-stage > .lv-ctl { flex-wrap: nowrap; } .lv-stage > .lv-ctl > * { min-width: 0; } }
/* the buttons at the right never shrink below their own width (the private-show text bar between the buttons gives way instead): Send Tip used to stick out past the bar */
@media (min-width: 900px) { .lv-stage > .lv-ctl > .lv-ctl-right, .lv-stage > .lv-ctl > .lv-ctl-cam { flex: none; min-width: auto; } }
@container (max-width: 860px) { .lv-camb .lv-ibtn-t { display: none; } .lv-camb { padding: 6px 10px; min-width: 44px; justify-content: center; } }

/* the X leaves the chat room (back to the site's main page): top bar on phones, far right of the model bar on wide screens */
.lv-exit { display: inline-flex; align-items: center; justify-content: center; flex: none; min-width: 44px; min-height: 44px; border-radius: var(--btn-rc, 50%); color: var(--msg-muted); text-decoration: none; cursor: pointer; }
@media (hover: hover) { .lv-exit:hover { background: var(--msg-hover); color: var(--msg-text); } }
.lv-exit:focus-visible { background: var(--msg-hover); color: var(--msg-text); }
.lv-exit-m { margin-left: auto; }
.lv-exit-d { display: none; margin-left: auto; margin-right: 6px; }
@media (min-width: 900px) { .lv-exit-d { display: inline-flex; } }
/* "Tap for sound": centred on the picture, toward the bottom (it used to sit in the corner under the viewer count) */
#lv-sound { position: absolute; left: 50%; bottom: 14%; transform: translateX(-50%); z-index: 7; white-space: nowrap; }

/* the controls row under the picture: buttons never wrap their own text; on a phone the row wraps as whole buttons (heart / toy / webcam on the left, Private Show / Send Tip on the right) */
.lv-ctl .lv-pillbtn, .lv-ctl .lv-sendtip, .lv-ctl .lv-toyind, .lv-ctl .lv-follow, .lv-camb { white-space: nowrap; flex: none; }
.lv-ctl { row-gap: 8px; }
@media (max-width: 899px) { .lv-showbar { margin-left: auto; } .lv-ctl-cam { margin-right: 0; } .lv-ctl-left { flex: none; } }
/* theatre mode is for wide screens only and not in the filled window */
@media (max-width: 899px), (pointer: coarse) { #lv-theatre { display: none; } }
.lv-video.lv-fs #lv-theatre { display: none; }
/* the X on wide screens sits a little lower and larger */
.lv-exit-d { min-width: 48px; min-height: 48px; margin-top: 6px; }
/* phone: ONE tidy row under the picture: heart + star rating, Private, Send Tip (the webcam and toy icons sit on the picture, bottom left, and fade like the LIVE label) */
@media (max-width: 899px) {
  .lv-stage > .lv-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
  .lv-stage > .lv-ctl > * { margin: 0; }
  .lv-stage > .lv-ctl > .lv-ctl-top { display: contents; }
  .lv-ctl-left { flex: 0 1 auto; gap: 8px; }
  .lv-ctl .lv-bubble .lv-btn { padding-left: 10px; padding-right: 10px; }
  .lv-stage > .lv-ctl > .lv-showbar:not([hidden]) { flex: 1 1 0; min-width: 0; margin-left: 0; }
  .lv-showbar .lv-pillbtn { width: 100%; padding: 0 10px; justify-content: center; }
  .lv-pillbtn .lv-pw-l, .lv-pillbtn .lv-pillwas, .lv-pillbtn .lv-pillprice, .lv-pillbtn .lv-saletag { display: none; }
  .lv-ctl .lv-sendtip { padding-left: 14px; padding-right: 14px; }
}

/* the bottom-left set on the picture (the toy indicator, the viewer's webcam button on a phone): hidden until the picture is tapped, like the LIVE label */
.lv-bl { position: absolute; left: 10px; bottom: 10px; z-index: 6; display: flex; align-items: center; gap: 8px; }
.lv-bl:empty { display: none; }
.lv-bl .lv-ctl-cam { margin: 0; }
.lv-bl .lv-camb { background: color-mix(in srgb, var(--msg-black) 62%, transparent); color: var(--msg-white); border-color: transparent; backdrop-filter: blur(4px); }
/* a phone held sideways: the webcam button sits with the speaker / gear icons at the top right and looks like them (icon only, no pill) */
.lv-vctl .lv-bl .lv-camb { background: transparent; border-color: transparent; backdrop-filter: none; padding: 0; min-width: 44px; justify-content: center; }
.lv-vctl .lv-bl .lv-camb .lv-ibtn-t { display: none; }
.lv-vctl .lv-bl .lv-camb.lv-on { color: var(--msg-accent); }
.lv-bl .lv-toyind { background: color-mix(in srgb, var(--msg-black) 62%, transparent); color: var(--msg-white); border-color: transparent; backdrop-filter: blur(4px); }
.lv-video.lv-nolive .lv-bl .lv-toyind, .lv-video.lv-is-offline .lv-bl .lv-toyind { display: none; } /* a toy means nothing while the model is not streaming */

/* nothing sits on top of the picture until the model is streaming */
.lv-video.lv-nolive > .lv-vctl, .lv-video.lv-nolive > .lv-quick, .lv-video.lv-nolive > .lv-wheel, .lv-video.lv-nolive > #lv-sound { display: none; }

/* studio: the round camera/microphone buttons keep their shape (they were squeezed narrower than tall) */
body.lv-studio .lv-controls .lv-ibtn { flex: none; }
body.lv-studio .lv-controls .lv-ibtn:not(:has(.lv-ibtn-t)) { width: var(--btn-h, 44px); padding: 0; }

/* studio: text, number and date fields use the theme like everything else (they were plain white) */
body.lv-studio .lv-side input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="color"]):not([class*="msg-"]),
body.lv-studio .lv-side textarea:not([class*="msg-"]) {
  font: inherit; font-size: 16px; min-height: 44px; padding: 6px 10px; border-radius: 9px; border: 1px solid var(--msg-border);
  background: var(--msg-surface-2); color: var(--msg-text); color-scheme: var(--msg-scheme, dark); max-width: 100%;
}
body.lv-studio .lv-side input::placeholder, body.lv-studio .lv-side textarea::placeholder { color: var(--msg-muted); opacity: 1; }
body.lv-studio .lv-side input:not(.msg-input):focus, body.lv-studio .lv-side textarea:not(.msg-input):focus, body.lv-studio .lv-side select:not(.msg-input):focus { outline: 2px solid var(--msg-accent); outline-offset: 1px; }

/* studio: every side panel (shows, messages, tips ...) has the same hidden scrollbar that fades in on hover as the chat */
body.lv-studio .lv-side-in, body.lv-studio .lv-side-in * { scrollbar-width: thin; scrollbar-color: transparent transparent; }
body.lv-studio .lv-side-in:hover, body.lv-studio .lv-side-in *:hover { scrollbar-color: color-mix(in srgb, var(--msg-white) 30%, transparent) transparent; }
body.lv-studio .lv-side-in ::-webkit-scrollbar { width: 8px; height: 8px; }
body.lv-studio .lv-side-in ::-webkit-scrollbar-track { background: transparent; }
body.lv-studio .lv-side-in ::-webkit-scrollbar-thumb { background-color: transparent; border-radius: 4px; transition: background-color .25s ease; }
body.lv-studio .lv-side-in *:hover::-webkit-scrollbar-thumb { background-color: color-mix(in srgb, var(--msg-white) 30%, transparent); }

/* full screen: Private Show and Send Tip float over the picture with no dark pill behind them */
.lv-ctl.lv-ctl-ov { background: none; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; padding: 0; }

/* private messages (viewer room and studio): the same hidden scrollbar that fades in on hover as the chat */
.lv-pane .msg-app, .lv-pane .msg-app *, .lv-ov .msg-app, .lv-ov .msg-app * { scrollbar-width: thin; scrollbar-color: transparent transparent; }
.lv-pane .msg-app *:hover, .lv-ov .msg-app *:hover { scrollbar-color: color-mix(in srgb, var(--msg-white) 30%, transparent) transparent; }
.lv-pane .msg-app ::-webkit-scrollbar, .lv-ov .msg-app ::-webkit-scrollbar { width: 8px; height: 8px; }
.lv-pane .msg-app ::-webkit-scrollbar-track, .lv-ov .msg-app ::-webkit-scrollbar-track { background: transparent; }
.lv-pane .msg-app ::-webkit-scrollbar-thumb, .lv-ov .msg-app ::-webkit-scrollbar-thumb { background-color: transparent; border-radius: 4px; transition: background-color .25s ease; }
.lv-pane .msg-app *:hover::-webkit-scrollbar-thumb, .lv-ov .msg-app *:hover::-webkit-scrollbar-thumb { background-color: color-mix(in srgb, var(--msg-white) 30%, transparent); }

/* studio: every drop-down (shows, tips, toys, cameras) is themed, not the browser's white box */
body.lv-studio .lv-side select {
  font: inherit; font-size: 16px; min-height: 44px; padding: 4px 10px; border-radius: 9px; border: 1px solid var(--msg-border);
  background-color: var(--msg-surface-2); color: var(--msg-text); color-scheme: var(--msg-scheme, dark); max-width: 100%;
}
body.lv-studio .lv-side select option { background: var(--msg-surface-2); color: var(--msg-text); }

/* the token balance in the phone controls row (desktop shows it in the site's top bar) */
.lv-ctl-top { display: contents; }

/* the site's watermark logo over the bottom-right corner of the picture (every screen, inside the phone's safe area; never over the offline card) */
.lv-watermark { display: none; position: absolute; right: 12px; bottom: 12px; width: clamp(80px, var(--wm-size, 12%), 220px); height: auto; z-index: 3; pointer-events: none; user-select: none; transition: bottom .2s ease, right .2s ease; }
@media (max-width: 600px) { .lv-watermark { width: clamp(90px, calc(var(--wm-size, 12%) * 2.2), 160px); right: 10px; bottom: 10px; } } /* a phone held upright: big enough to read, in the picture's own corner */
.lv-video:not(.lv-nolive) > .lv-watermark { display: block; }
.lv-video.lv-fs > .lv-watermark { width: clamp(90px, var(--wm-size, 12%), 220px); right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); } /* the filled window touches the screen's edges: keep clear of the rounded corners */
.lv-video.lv-fs.lv-ui-on > .lv-watermark { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
@media (orientation: landscape) and (max-height: 520px) and (pointer: coarse) and (min-aspect-ratio: 3/2) { .lv-video.lv-fs.lv-ui-on > .lv-watermark { bottom: calc(60px + env(safe-area-inset-bottom, 0px)); } } /* a phone held sideways: just above the Private / Tip buttons, so the wheel and reaction buttons never cover it (owner 2026-11-07) */ /* the buttons are showing over the picture: sit above them; once they hide, back down into the corner */
@media (hover: hover) and (pointer: fine) { .lv-video.lv-fs > .lv-watermark { bottom: 84px; } } /* a computer: the buttons of the filled window stay where they are, so the logo stays above them */

/* Studio: the watermark sits in the same place on the model's own picture (once the camera preview shows); in a split screen it moves to the left half's corner */
body.lv-studio .lv-video:has(> video) > .lv-watermark { display: block; }
.lv-video.lv-vsplit > .lv-watermark, .lv-video.lv-split > .lv-watermark { right: calc(50% + 12px); }

/* a viewer's camera enlarged into the right half of the Studio picture: show all of it (no cropping), on the theme's dark background */
.lv-vw-big .lv-vw-vid video { object-fit: contain; }
.lv-vw-big { box-shadow: none; }

/* studio: a confirmation or error stays pinned at the top of what you are looking at (it used to appear at the top of a long panel, out of sight when you pressed Save lower down) */
body.lv-studio .lv-chat-note:not([hidden]), body.lv-studio .lv-tk-note:not([hidden]) { position: sticky; top: 0; z-index: 6; background: var(--msg-surface-2); border: 1px solid var(--msg-border); border-radius: 10px; padding: 8px 12px; margin: 0 0 8px; }
body.lv-studio .lv-chat-note[data-kind="ok"], body.lv-studio .lv-tk-note[data-kind="ok"] { border-color: var(--msg-accent); }
body.lv-studio .lv-vcam-state { margin: 8px 0 0; font-size: 14px; color: var(--msg-muted); }
body.lv-studio .lv-vcam-state[data-kind="ok"] { color: var(--msg-accent); }
body.lv-studio .lv-vcam-state[data-kind="error"] { color: var(--msg-danger); }

/* phones: the Studio is a page you scroll (the picture and controls on top, the panel below it as tall as the screen). It used to be one fixed screen, which squeezed the
   panel to a strip and let the tab rail hang out of it as a dark box */
@media (max-width: 900px) {
  body.lv-studio .lv-app { height: auto; min-height: var(--dvh, 100dvh); overflow: visible; }
  body.lv-studio .lv-main { flex: none; height: auto; }
  body.lv-studio .lv-side { flex: none; height: calc(var(--dvh, 100dvh) - 60px); min-height: 480px; }
}
/* tapped buttons never keep a highlight on a touch screen */
button, a, summary { -webkit-tap-highlight-color: transparent; }
body.lv-studio .lv-side input[type="radio"], body.lv-studio .lv-side input[type="checkbox"] { accent-color: var(--msg-accent); width: 22px; height: 22px; vertical-align: middle; margin: 0 8px 0 0; }
body.lv-studio .lv-side label.lv-tool { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; }
body.lv-studio .lv-side label.lv-tool + br { display: none; }
body.lv-studio .lv-side label.lv-tool[hidden] { display: none; } /* a switch for something the site has turned off (studio-tips.js) */
body.lv-studio .lv-side label.lv-tool input[type="radio"], body.lv-studio .lv-side label.lv-tool input[type="checkbox"] { flex: none; margin: 1px 0 0; }
@media (max-width: 900px) { body.lv-studio .lv-tabs-ic .lv-tab { flex: none; min-height: 60px; } }

/* ---- Studio on a phone: the top bar lines up, one tidy controls row, a tall camera gets a tall picture area, a phone turned sideways fills the screen */
body.lv-studio .lv-title { display: flex; align-items: center; gap: 8px; }
body.lv-studio .lv-studio-mark { display: inline-flex; align-items: center; }
@media (max-width: 900px) {
  body.lv-studio .lv-controls { flex-wrap: nowrap; gap: 6px; padding: 6px 8px; }
  body.lv-studio .lv-controls .lv-ibtn:has(.lv-ibtn-t) { padding-left: 8px; }
  body.lv-studio .lv-controls .lv-ibtn-t { padding-right: 8px; white-space: nowrap; }
  body.lv-studio #lv-stop { width: 44px; padding: 0; } /* End show: just the red stop icon on a phone (the tooltip / screen reader name stay) so everything fits one row */
  body.lv-studio #lv-stop .lv-ibtn-t { display: none; }
  body.lv-studio .lv-main.lv-pstream .lv-video:not(.lv-fs) { aspect-ratio: auto; max-height: none; height: calc(min(66dvh, calc(100vw / var(--lv-ar, .5625))) - var(--lv-pic-cut, 0px)); } /* (--lv-pic-cut: studio.js fitSide, a short screen keeps the chat's text box on it) */
}
/* the Studio held upright: studio.js fitSide makes the panel fill what is left of the screen under the (tall) picture, text box at the bottom; the panel grows as the
   picture scrolls away. The picture area itself is unchanged (PHONE_CAMERA_NOTES). */
@media (max-width: 899px) and (orientation: portrait), (max-width: 899px) and (pointer: coarse) and (max-aspect-ratio: 3/2) {
  /* the Studio's nine tab icons stay ONE column that scrolls inside the panel (they wrapped into a second column over the chat when the panel is short) */
  body.lv-studio .lv-side .lv-tabs-ic { flex-wrap: nowrap; overflow-x: hidden; overflow-y: auto; scrollbar-width: none; min-height: 0; }
  body.lv-studio .lv-side .lv-tabs-ic::-webkit-scrollbar { display: none; }
  body.lv-studio .lv-side .lv-tabs-ic .lv-tab { flex: none; min-height: 56px; }
  /* the viewers count under the person icon: a plain number in the icon's colour (owner 2026-11-12) */
  body.lv-studio .lv-side .lv-tabs-ic .lv-tab:has(.lv-tab-count) { flex-direction: column; gap: 2px; }
  body.lv-studio .lv-side .lv-tabs-ic .lv-tab .lv-tab-count, body.lv-studio .lv-side .lv-tabs-ic .lv-tab .lv-tab-count[data-zero="1"] { display: block; position: static; min-width: 0; padding: 0; border-radius: 0; background: none; color: inherit; font-size: 13px; font-weight: 500; line-height: 1; } /* (just the number, the icon's own colour: no pill) */
  /* the chat's own settings (slow mode, chat on, clear) fold behind one "Chat settings" button so the chat keeps its room */
  body.lv-studio .lv-chat-tools { padding: 4px 10px; gap: 10px; }
  body.lv-studio .lv-chat-tools:not(.is-open) > :not(.lv-tools-tog) { display: none; }
  body.lv-studio .lv-tools-tog { order: -1; display: inline-flex; align-items: center; gap: 6px; min-height: var(--btn-h, 44px); padding: 0 12px; border: 1px solid var(--msg-border); border-radius: var(--btn-r, 10px); background: var(--msg-surface-2); color: var(--msg-text); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
  body.lv-studio .lv-tools-tog::after { content: ''; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
  body.lv-studio .lv-chat-tools.is-open .lv-tools-tog::after { transform: translateY(2px) rotate(-135deg); }
  body.lv-studio .lv-chat-tools.is-open .lv-tools-tog { flex-basis: 100%; justify-content: space-between; }
}
body.lv-studio .lv-video.lv-fs { background: var(--msg-black); }
body.lv-studio .lv-video.lv-fs > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
body.lv-studio .lv-ctl.lv-ctl-ov { flex-wrap: nowrap; }
body.lv-studio .lv-ctl-ov .lv-ibtn:not(.lv-primary) { background: color-mix(in srgb, var(--msg-black) 55%, transparent); }
body.lv-studio .lv-title .lv-ic { display: inline-flex; align-items: center; color: var(--msg-muted); }

/* filled window (phone sideways): Reset cam shrinks to its icon so the row fits; the chat tools (slow mode ...) stay in the normal page */
body.lv-studio .lv-ctl-ov #lv-preview:not(.lv-camoff) { display: none; } /* sideways the camera is restarted from the picture's own camera button; only "Start cam" (camera off) shows here, with its words */
body.lv-studio .lv-ctl-ov #lv-preview.lv-camoff .lv-ibtn-t { display: inline; }
body.lv-studio .lv-vctl .lv-fs-leave { margin-right: 8px; }
body.lv-studio .lv-ov .lv-chat-tools { display: none; }
/* Studio filled window (phone sideways): the chat column reaches down to the bottom edge (the controls are on the right, nothing is under the chat) */
@media (max-height: 520px) { body.lv-studio .lv-ov { top: 52px; bottom: calc(8px + env(safe-area-inset-bottom)); } }

/* Studio: the recordings list */
.lv-reclist { list-style: none; margin: 10px 0 0; padding: 0; }
.lv-recrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 8px 0; border-top: 1px solid var(--msg-border); }
.lv-rec-when { font-weight: 600; }
.lv-rec-acts { margin-left: auto; display: flex; gap: 6px; }

/* a member recording the show to their own device: the REC chip on the picture */
.lv-reccap { position: absolute; z-index: 8; top: 10px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 4px 6px 4px 12px; border-radius: 999px; background: color-mix(in srgb, var(--msg-black) 70%, transparent); color: var(--msg-white); font-size: 14px; font-weight: 600; backdrop-filter: blur(6px); }
.lv-reccap-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--msg-danger); animation: lv-rec-blink 1.2s ease-in-out infinite; }
.lv-reccap-stop { min-height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--msg-danger); color: var(--msg-white); font: inherit; font-weight: 700; cursor: pointer; }
@keyframes lv-rec-blink { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .lv-reccap-dot { animation: none; } }

/* Studio, phone sideways: the private messages use the whole left side of the picture (see-through): a row of round pictures across the top, the open conversation under it */
@media (max-height: 520px) {
  body.lv-studio .lv-ov { top: calc(8px + env(safe-area-inset-top)); bottom: calc(8px + env(safe-area-inset-bottom)); width: clamp(300px, calc(100% - 370px), 600px); }
  body.lv-studio .lv-ctl-ov #lv-stop .lv-ibtn-t { display: none; }
  body.lv-studio .lv-ctl-ov #lv-stop { width: 44px; padding: 0; }
  body.lv-studio .lv-ov .lv-pane-msg:not([hidden]) { flex: 1 1 auto; min-height: 0; height: 100%; }
  /* the Studio: ONE see-through panel, the header and the text box carry no darker band of their own, a faint line under the header,
     the ⋯ is a plain icon like the picture's other icons, and the text box ends 8 px above the panel's edge (the panel itself already clears the iPhone's home bar) */
  .lv-ov .lv-pane-msg .msg-convo-head, .lv-ov .lv-pane-msg .msg-composer { background: transparent; }
  .lv-ov .lv-pane-msg .msg-convo-head { border-bottom-color: color-mix(in srgb, var(--msg-white) 12%, transparent); }
  .lv-ov .lv-pane-msg .msg-composer { border-top: 0; padding: 6px 8px 8px; }
  .lv-ov .lv-pane-msg .msg-convo-head .msg-btn-ghost { border-color: transparent; background: transparent; }
  .lv-ov .msg-app.msg-embed-all { display: flex; flex-direction: column; height: 100%; min-height: 0; }
  .lv-ov .msg-embed-all .msg-strip { display: flex; gap: 6px; overflow-x: auto; flex: none; padding: 0 0 6px; scrollbar-width: none; border-bottom: 0; }
  .lv-ov .msg-embed-all .msg-strip::-webkit-scrollbar { display: none; }
  /* no conversation open: the list of conversations fills the box (never an empty box); one open: the row of pictures + the conversation */
  .lv-ov .msg-embed-all[data-view="list"] .msg-strip, .lv-ov .msg-embed-all[data-view="list"] .msg-convo-pane { display: none; }
  .lv-ov .msg-embed-all[data-view="list"] .msg-list-pane { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; padding-bottom: 52px; }
  .lv-ov .msg-embed-all[data-view="list"] .msg-list-pane > * { min-height: 0; }
  .lv-ov .msg-embed-all[data-view="convo"] .msg-list-pane { display: none; }
  .lv-ov .msg-embed-all[data-view="convo"] .msg-convo-pane { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
  .lv-ov .msg-embed-all .msg-convo, .lv-ov .msg-embed-all .msg-empty { flex: 1 1 auto; min-height: 0; }
  .lv-ov .msg-embed-all .msg-back { display: none; }
  .lv-ov .msg-embed-all .msg-convo-head { padding: 4px 8px; }
}

/* Studio: chat tools (welcome note, automated messages) */
.lv-area { display: block; width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; padding: 10px 12px; border-radius: 9px; border: 1px solid var(--msg-border); background: var(--msg-surface-2); color: var(--msg-text); resize: vertical; min-height: 80px; }
.lv-counter { display: block; text-align: right; font-size: 0.8rem; margin: 2px 0 8px; }
.lv-autocard { border: 1px solid var(--msg-border); border-radius: 12px; padding: 12px; margin: 0 0 12px; background: var(--msg-surface); }
.lv-autocard .lv-formrow select { font: inherit; font-size: 16px; min-height: 44px; padding: 4px 8px; border-radius: 9px; border: 1px solid var(--msg-border); background: var(--msg-surface-2); color: var(--msg-text); }
.lv-sech { margin: 22px 0 8px; }
.lv-mavatar { display: inline-block; vertical-align: middle; width: 22px; height: 22px; margin-right: 6px; border-radius: 50%; object-fit: cover; border: 1px solid var(--msg-ring); }

/* hover, pressed and selected looks for the room's buttons (they used to give no feedback) */
@media (hover: hover) {
  .lv-btn:not(:disabled):not(.lv-primary):hover, .lv-chip:hover, .lv-qbtn:hover, .lv-react:hover, .lv-xcard:hover, .lv-tools-tab:hover, .lv-ibtn:not(:disabled):not(.lv-primary):hover { background: var(--msg-hover); border-color: var(--msg-accent); }
  .lv-btn.lv-primary:not(:disabled):hover, .lv-ibtn.lv-primary:not(:disabled):hover { filter: brightness(1.12); }
  .lv-tab:hover { background: var(--msg-hover); }
}
.lv-btn:not(:disabled):active, .lv-chip:active, .lv-qbtn:active, .lv-react:active, .lv-ibtn:not(:disabled):active { transform: scale(.96); }
.lv-chip.lv-on { background: var(--msg-accent); border-color: var(--msg-accent); color: var(--msg-on-accent); font-weight: 700; }
.lv-btn:focus-visible, .lv-chip:focus-visible, .lv-qbtn:focus-visible, .lv-react:focus-visible, .lv-ibtn:focus-visible, .lv-tab:focus-visible { outline: 2px solid var(--msg-link); outline-offset: 2px; }

/* booked shows: the pill and the window (bookings.js). The window has a fixed head and a fixed foot (lengths, price, buttons); only the middle scrolls. */
@media (max-width: 640px) { .lv-book-pill { padding: 0 12px; font-size: 13px; } }
.lv-bk { display: flex; flex-direction: column; height: 100%; min-height: 0; padding: 52px 0 0; overflow: hidden; }
.lv-bookbox .lv-vip { display: flex; flex-direction: column; overflow: hidden; }
@media (max-width: 900px) { .lv-bookbox .lv-vip { height: 92dvh; } }
.lv-bk-head { padding: 18px 20px 10px; }
.lv-bk-head h2 { margin: 0 0 6px; }
.lv-bk-head p { margin: 0; font-size: 14px; }
.lv-bk-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 4px 20px 12px; scrollbar-width: thin; scrollbar-color: var(--msg-border) transparent; }
.lv-bk-foot { padding: 12px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--msg-border); background: var(--msg-surface); }
.lv-bk h3 { margin: 12px 0 6px; font-size: 13px; font-weight: 600; color: var(--msg-muted); text-transform: uppercase; letter-spacing: .04em; }
.lv-bk-foot h3 { margin-top: 0; }
.lv-bk-days { display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; padding: 8px 0; scrollbar-width: none; }
.lv-bk-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.lv-bk-lens { display: flex; flex-wrap: wrap; gap: 8px; }
.lv-bk .lv-chip { flex: 0 0 auto; min-width: 0; padding: 4px 12px; white-space: nowrap; }
.lv-bk-times .lv-chip { width: 100%; padding: 4px 0; }
.lv-bk .lv-chip.is-on { border-color: var(--msg-accent); background: var(--msg-hover); color: var(--msg-text); }
.lv-bk-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 6px 0; border-top: 1px solid var(--msg-border); font-size: 14px; }
.lv-bk-sum { margin: 10px 0 0; font-weight: 600; font-size: 14px; }
.lv-bk-msg { margin: 6px 0 0; color: var(--msg-danger); min-height: 0; font-size: 14px; font-weight: 600; }
.lv-bk-msg:empty { display: none; }
.lv-bk .lv-popup-btns { margin-top: 12px; }

/* the album window (albums.js); the albums themselves are tiles of the profile grid (profile-grid.css) */
.lv-al { max-width: 640px; max-height: calc(var(--dvh, 100dvh) - 32px); overflow-y: auto; }

/* report window (report.js) */
.lv-rp { display: grid; gap: 8px; margin-top: 8px; }
.lv-rp-kinds { display: grid; gap: 2px; }
.lv-rp-kind { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.lv-rp-kind input { width: 22px; height: 22px; accent-color: var(--msg-accent); }
.lv-rp textarea { width: 100%; padding: 10px 12px; font: inherit; font-size: 16px; border: 1px solid var(--msg-border); border-radius: 12px; background: var(--msg-surface-2); color: var(--msg-text); resize: vertical; }

/* ---- ticket show gate card: shown over the picture to someone without a ticket while the model is in a ticket show */
#lv-overlay-text:has(> .lv-tkcard) { display: flex; justify-content: center; align-items: center; width: 100%; max-height: 100%; min-height: 0; }
.lv-tkcard { position: relative; isolation: isolate; width: min(660px, 100%); max-height: 100%; overflow-y: auto; box-sizing: border-box; padding: 20px 22px; border-radius: 18px; background: var(--msg-surface); border: 1px solid var(--msg-border); color: var(--msg-text); display: grid; grid-template-columns: 132px 1fr; grid-template-areas: "ribbon ribbon" "av h" "av title" "av desc" "av time" "av price" "msg msg" "acts acts" "watch watch"; column-gap: 22px; row-gap: 6px; align-items: center; text-align: left; box-shadow: 0 18px 50px color-mix(in srgb, var(--msg-black) 55%, transparent); }
.lv-tkcard-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; border-radius: inherit; }
.lv-tkcard-bg::before { content: ''; position: absolute; inset: 0; background-image: var(--tk-bg); background-size: cover; background-position: center; filter: blur(26px) brightness(.38) saturate(1.2); transform: scale(1.25); }
.lv-tkcard p { margin: 0; }
.lv-tkcard-ribbon { grid-area: ribbon; justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--msg-accent); color: var(--msg-on-accent); font-size: 12px; font-weight: 800; letter-spacing: .08em; margin-bottom: 4px; }
.lv-tkcard-ribbon svg { color: inherit; }
.lv-tkcard-h { grid-area: h; margin: 0; font-size: 16px; line-height: 1.3; font-weight: 500; overflow-wrap: anywhere; color: color-mix(in srgb, var(--msg-text) 85%, transparent); }
.lv-tkcard-av { grid-area: av; position: relative; width: 132px; height: 132px; border-radius: 50%; background: var(--msg-surface-2); display: flex; align-items: center; justify-content: center; font-size: 48px; font-weight: 700; flex: none; border: 3px solid var(--msg-accent); }
.lv-tkcard-av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.lv-tkcard-tag { position: absolute; bottom: -9px; left: 50%; transform: translateX(-50%); padding: 2px 10px; border-radius: 6px; background: var(--msg-live); color: var(--msg-on-live); font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.lv-tkcard-title { grid-area: title; font-size: 24px; line-height: 1.2; overflow-wrap: anywhere; }
.lv-tkcard-desc { grid-area: desc; color: color-mix(in srgb, var(--msg-text) 78%, transparent); overflow-wrap: anywhere; }
.lv-tkcard-time { grid-area: time; justify-self: start; font-variant-numeric: tabular-nums; font-weight: 600; padding: 3px 12px; border-radius: 999px; background: color-mix(in srgb, var(--msg-black) 40%, transparent); }
.lv-tkcard-price { grid-area: price; display: flex; align-items: baseline; gap: 8px; }
.lv-tkcard-pn { font-size: 38px; line-height: 1; color: var(--msg-accent); }
.lv-tkcard-pl { color: color-mix(in srgb, var(--msg-text) 78%, transparent); }
.lv-tkcard-msg { grid-area: msg; text-align: center; margin-top: 6px; }
.lv-tkcard-msg.lv-tkcard-ask { font-weight: 600; }
.lv-tkcard-msg:empty, .lv-tkcard-acts:empty, .lv-tkcard-desc:empty, .lv-tkcard-watch:empty { display: none; }
.lv-tkcard-acts { grid-area: acts; display: flex; flex-direction: row; gap: 10px; margin-top: 6px; }
.lv-tkcard-acts .lv-btn { flex: 1; min-height: 52px; font-size: 17px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.lv-tkcard-acts .lv-btn svg { color: inherit; }
.lv-tkcard-watch { grid-area: watch; text-align: center; color: color-mix(in srgb, var(--msg-text) 70%, transparent); font-size: 14px; }
/* narrower screens (the picture is only a strip there) and phones held sideways (wide but short): a compact card, avatar left, nothing that does not fit */
@media (max-width: 899px), (pointer: coarse) and (max-height: 560px) {
  .lv-tkcard { grid-template-columns: 76px 1fr; grid-template-areas: "av title" "av price" "msg msg" "acts acts"; padding: 14px; column-gap: 14px; row-gap: 4px; }
  .lv-tkcard-ribbon, .lv-tkcard-h, .lv-tkcard-desc, .lv-tkcard-time, .lv-tkcard-watch { display: none; }
  .lv-tkcard-av { width: 76px; height: 76px; font-size: 30px; }
  .lv-tkcard-title { font-size: 18px; }
  .lv-tkcard-pn { font-size: 30px; }
}

/* the narrowest phones (360 px): the picture is a short strip, so the card gets tighter still and the two buttons stay on one line each */
@media (max-width: 400px) {
  .lv-tkcard { grid-template-columns: 56px 1fr; padding: 10px; column-gap: 10px; }
  .lv-tkcard-av { width: 56px; height: 56px; font-size: 22px; }
  .lv-tkcard-tag { font-size: 9px; padding: 1px 6px; bottom: -7px; }
  .lv-tkcard-title { font-size: 16px; }
  .lv-tkcard-pn { font-size: 24px; }
  .lv-tkcard-msg { font-size: 14px; margin-top: 2px; }
  .lv-tkcard-acts .lv-btn { min-height: 44px; font-size: 15px; padding: 0 8px; }
}

.lv-tkgate { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.lv-tkgate input { width: 22px; height: 22px; flex: none; }

/* the one site header (live/lib/Chrome.php) is fixed above the pages; the live room shows it on wide screens only (a phone keeps the room's own slim bar and gets no footer bar) */
body.lv-page, body.lv-room { padding-top: var(--ch-h, 54px); }
@media (max-width: 899px) { body.lv-room { padding-top: 0; } body.lv-room .ch, body.lv-room .ch-bar, body.lv-room .ch-acct, body.lv-room .ch-drawer, body.lv-room .ch-scrim { display: none; } }

/* the heart (followers) and the star (rating) in ONE bubble, under the video */
.lv-bubble { display: inline-flex; align-items: stretch; border-radius: var(--btn-r, 999px); border: 1px solid var(--msg-border); background: var(--msg-surface-2); overflow: hidden; min-height: var(--btn-h, 44px); }
.lv-bubble .lv-like { border: 0; border-radius: 0; background: transparent; box-shadow: none; min-height: var(--btn-h, 44px); }
.lv-bubble .lv-rate-pill { border: 0; border-left: 1px solid var(--msg-border); border-radius: 0; background: transparent; box-shadow: none; min-height: var(--btn-h, 44px); padding: 0 14px; display: inline-flex; align-items: center; gap: 6px; }
.lv-bubble .lv-rate-pill[hidden] { display: none; }
/* the tip button: "Send Tip" on a wide screen; a joystick and TIP on a phone */
.lv-sendtip .lv-tip-ic, .lv-sendtip .lv-tip-s { display: none; }
.lv-sendtip .lv-tip-coin { display: inline-flex; align-items: center; }
.lv-sendtip { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
@media (max-width: 899px) {
  .lv-sendtip .lv-tip-w, .lv-sendtip .lv-tip-coin { display: none; }
  .lv-sendtip .lv-tip-ic, .lv-sendtip .lv-tip-s { display: inline-flex; align-items: center; font-weight: 800; letter-spacing: .04em; }
  .lv-king .lv-king-label { display: none; }
  .lv-king .lv-king-name { display: inline-block; max-width: 10.5ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
}

/* ---- styles restored 2026-10-17: a scripted edit on 2026-10-16 (bfc9fde) had dropped them: ticket shows page, star ratings, sale tag, Studio quick ticket form */
/* ---- Ticket Shows page (live/ticket-shows.php) */
.lv-tkpage { background: var(--msg-bg); color: var(--msg-text); }
.lv-tkp { max-width: 1200px; margin: 0 auto; padding: 24px 16px 40px; }
.lv-tkp h1 { margin: 0 0 6px; font-size: 28px; }
.lv-tkp-none { margin: 32px 0; }
.lv-tkp-grid { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.lv-tkp-card { display: flex; flex-direction: column; background: var(--msg-surface); border: 1px solid var(--msg-border); border-radius: 12px; overflow: hidden; }
.lv-tkp-card.lv-live { border-color: var(--msg-live); }
.lv-tkp-pic { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; background: var(--msg-surface-2); color: var(--msg-text); text-decoration: none; }
.lv-tkp-pic img { width: 100%; height: 100%; object-fit: cover; }
.lv-tkp-init { font-size: 48px; font-weight: 700; }
.lv-tkp-tag { position: absolute; top: 10px; left: 10px; padding: 2px 8px; border-radius: 6px; background: var(--msg-live); color: var(--msg-on-live); font-size: 12px; font-weight: 700; letter-spacing: .05em; }
.lv-tkp-body { display: flex; flex-direction: column; gap: 6px; padding: 12px; flex: 1; }
.lv-tkp-body .lv-btn { margin-top: auto; min-height: 44px; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.lv-tkp-model { font-size: 18px; overflow-wrap: anywhere; }
.lv-tkp-title, .lv-tkp-desc { overflow-wrap: anywhere; }
.lv-tkp-meta b { color: var(--msg-accent); }
.lv-tkp-mine { font-weight: 600; color: var(--msg-link); }
/* ---- star ratings (ratings.js): the pill in the model bar and its panel */
.lv-rate-pill { gap: 6px; }
.lv-rate-pill svg, .lv-stars svg, .lv-rate-star svg { color: var(--msg-accent); }
.lv-rate-pill .lv-muted { font-size: 13px; }
.lv-stars { display: inline-flex; gap: 1px; vertical-align: middle; }
.lv-rate-top { display: flex; align-items: center; gap: 14px; margin: 6px 0 12px; }
.lv-rate-big { font-size: 40px; line-height: 1; }
.lv-rate-hist { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.lv-rate-row { display: grid; grid-template-columns: 52px 1fr 34px; align-items: center; gap: 8px; font-size: 14px; }
.lv-rate-bar { height: 8px; border-radius: 999px; background: var(--msg-surface-2); overflow: hidden; }
.lv-rate-fill { display: block; height: 100%; background: var(--msg-accent); }
.lv-rate-c { text-align: right; }
.lv-rate-mine { padding: 12px 0; border-top: 1px solid var(--msg-border); border-bottom: 1px solid var(--msg-border); margin-bottom: 12px; }
.lv-rate-mine h3, .lv-ratebox h3 { margin: 4px 0 8px; font-size: 16px; }
.lv-rate-pick { display: flex; gap: 2px; margin-bottom: 10px; }
.lv-rate-star { min-width: 48px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; padding: 0; cursor: pointer; border-radius: 10px; }
@media (hover: hover) { .lv-rate-star:hover { background: var(--msg-hover); } }
.lv-rate-comment { width: 100%; box-sizing: border-box; min-height: 76px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--msg-border); background: var(--msg-surface-2); color: var(--msg-text); font: inherit; font-size: 16px; resize: vertical; margin-bottom: 10px; }
.lv-rate-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.lv-rate-list p { margin: 4px 0 0; overflow-wrap: anywhere; }
.lv-rate-who { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; }
/* ---- sale tag on the Private Show button, and the Studio's sale picker */
.lv-saletag { margin-left: 6px; padding: 1px 7px; border-radius: 6px; background: var(--msg-live); color: var(--msg-on-live); font-size: 11px; font-weight: 700; letter-spacing: .03em; }
.lv-sale-pick { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 12px; }
.lv-sale-pick .lv-chip { white-space: nowrap; min-width: 52px; padding: 4px 12px; }
.lv-sale-sum { margin: 4px 0 12px; font-weight: 600; }
/* ---- Studio: "start a ticket show right now" */
.lv-tkquick { margin: 12px 0 18px; padding: 12px; border: 1px solid var(--msg-accent); border-radius: 12px; }
.lv-tkquick h4 { margin: 0 0 6px; }
.lv-tkquick .lv-btn { margin-top: 8px; min-height: 44px; }

/* "Record this show" in the private show request window */
.lv-recopt { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 4px; padding: 10px 12px; border: 1px solid var(--msg-border); border-radius: 10px; background: var(--msg-surface-2); cursor: pointer; text-align: left; }
.lv-recopt input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--msg-accent); }
.lv-recopt strong { display: block; }
.lv-recopt small { display: block; margin-top: 2px; }


/* a visitor on a phone: one slim row (the words, then two small buttons) instead of a tall block */
@media (max-width: 900px) {
  .lv-join-bar { flex-wrap: nowrap; justify-content: space-between; gap: 8px; padding: 8px 10px calc(6px + env(safe-area-inset-bottom) * .35); }
  .lv-join-bar > span { flex: 1 1 auto; min-width: 0; font-size: 14px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .lv-join-bar .lv-btn { flex: none; min-height: 40px; padding: 0 14px; font-size: 15px; }
}

/* a phone on its side, window filled: the chat box (left) and the Private Show / Send Tip buttons (right) sit on one line, the same distance from the bottom edge */
@media (max-height: 520px) and (orientation: landscape) and (min-aspect-ratio: 3/2) {
  .lv-video.lv-fs .lv-ov .lv-chat-form { padding: 0; }
}
/* phones: the controls over the picture fade out slowly after a tap */
@media (hover: none) { .lv-video:not(.lv-fs) .lv-vctl, .lv-video:not(.lv-fs) .lv-live-badge, .lv-video:not(.lv-fs) .lv-bl, .lv-video:not(.lv-fs) .lv-quick { transition: opacity .6s ease; } }
/* booking panel on a computer: the days wrap onto rows (nothing is cut off at the edge, there is no finger to swipe with) */
@media (hover: hover) and (pointer: fine) { .lv-bk-days { flex-wrap: wrap; overflow-x: visible; } }
/* the Studio's generic form-field styling must not paint a box inside the chat pill (only the pill is drawn) */
body.lv-studio .lv-side .lv-chat-pill input:not(#lv-x), body.lv-studio .lv-side .lv-chat-pill input:not(#lv-x):focus { background: transparent; border: 0; outline: 0; box-shadow: none; }
/* the model's round picture beside the title of a confirmation / purchase pop-up */
.lv-pop-head { display: flex; align-items: center; gap: 12px; margin: 0 0 4px; }
.lv-pop-head h2 { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.lv-pop-av { flex: none; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--msg-accent); background: var(--msg-surface-2); }

/* The site team's room page (live/staff-room.php) and the STAFF badge in the chat */
.lv-staff .lv-staff-pill { background: var(--msg-accent); color: var(--msg-on-accent); border-color: transparent; }
/* the toolbar under the picture: icon buttons with a short label on wide screens, icons only on phones; every explanation is a tooltip or the help popup */
.lv-stbar { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 4px; }
.lv-stgroup { display: inline-flex; gap: 4px; padding: 3px; border-radius: var(--btn-r, 999px); border: 1px solid var(--msg-border); background: var(--msg-surface); }
.lv-stgroup .lv-ibtn { border-color: transparent; }
.lv-stspacer { flex: 1 1 8px; }
.lv-stwrap { position: relative; }
.lv-stwhere { max-width: min(46vw, 280px); padding: 0 12px; border-radius: 999px; gap: 6px; }
.lv-stwhere .lv-ibtn-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 0; }
.lv-stwic { display: inline-flex; flex: none; }
.lv-stpop { position: absolute; bottom: calc(100% + 8px); left: 0; min-width: 240px; max-width: min(92vw, 340px); }
.lv-stwrap-r .lv-stpop { left: auto; right: 0; }
.lv-stpop[hidden] { display: none; }
.lv-stpop .lv-menu-item.is-on { color: var(--msg-accent); font-weight: 600; }
.lv-stinfo { padding: 10px 12px; font-size: 15px; }
.lv-stinfo p { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 10px; color: var(--msg-text); }
.lv-stinfo p:last-child { margin-bottom: 0; }
.lv-stinfo .lv-stwic { margin-top: 2px; color: var(--msg-accent); }
.lv-staff .lv-staff-pill { background: var(--msg-accent); color: var(--msg-on-accent); border-color: transparent; }
.lv-staff .lv-staff-flag { background: none; color: var(--msg-danger); border-color: var(--msg-danger); }
.lv-staff .lv-staff-flag[hidden] { display: none; }
@media (max-width: 1400px) { .lv-stgroup .lv-ibtn-t { display: none; } .lv-stgroup .lv-ibtn:has(.lv-ibtn-t) { padding: 0; border-radius: 50%; } } /* the three look buttons keep to icons on narrower stages: their tooltips say the rest */
@media (max-width: 640px) {
  .lv-stbar .lv-ibtn-t { display: none; }
  .lv-stbar .lv-ibtn:has(.lv-ibtn-t) { padding: 0; border-radius: 50%; }
  .lv-stwhere { padding: 0 12px; border-radius: 999px; }
  .lv-stwhere .lv-ibtn-t { display: inline; }
  .lv-staff .lv-staff-pill { display: none; }
  .lv-stbar > .lv-stspacer { flex: 1 1 100%; height: 0; } /* two even rows: who sees you + which room, then Mute / End show / Close room / Help together */
  .lv-stbar { row-gap: 8px; }
  .lv-stbar .lv-ibtn.lv-stwhere { max-width: 42vw; border-radius: var(--btn-r, 999px); } /* a pill like on a computer (the round rule above must not make it an oval) */
  .lv-stpop { position: fixed; left: 12px; right: 12px; bottom: calc(76px + env(safe-area-inset-bottom)); max-width: none; }
}
/* the private line inside the chat: the lock button, the styled rows, a tinted box while it is on */
.lv-whisper-btn[aria-pressed="true"] { color: var(--msg-accent); background: var(--msg-hover); }
.lv-chat-form.is-whisper .lv-chat-pill { border-color: var(--msg-accent); box-shadow: 0 0 0 1px var(--msg-accent); }
.lv-row.lv-whisper { margin: 4px 6px; padding: 6px 10px; border-radius: 10px; border: 1px dashed var(--msg-accent); background: var(--msg-hover); }
.lv-wchip { display: inline-flex; align-items: center; gap: 4px; margin-right: 6px; padding: 1px 8px; border-radius: 999px; background: var(--msg-accent); color: var(--msg-on-accent); font-size: 12px; font-weight: 700; vertical-align: middle; }
.lv-wchip .lv-sysic { width: 12px; height: 12px; color: var(--msg-on-accent); }
.lv-wreply { margin-left: 8px; min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--msg-accent); background: none; color: var(--msg-accent); font: inherit; font-size: 14px; cursor: pointer; }
@media (pointer: coarse) { .lv-wreply { min-height: 44px; } }
.lv-rolebadge { margin-right: 6px; }
/* the staff page has no site header: its own top bar is the only one, on phones too */
body.lv-staff { padding-top: 0; }
body.lv-room.lv-staff .lv-top { display: flex; }
body.lv-room.lv-staff .lv-main { height: calc(100vh - 53px); height: calc(var(--dvh, 100dvh) - 53px); }
.lv-staff .lv-exit-m { display: inline-flex; margin-left: auto; }

/* a private line message waits on another tab */
.lv-tab.lv-attn::after { content: ''; position: absolute; top: 6px; right: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--msg-accent); }

/* a site team member in the viewer list: a shield beside the name, and a tag when hidden or blending in */
.lv-vstaff { display: inline-flex; flex: none; margin-right: 6px; vertical-align: middle; color: var(--msg-accent); }
.lv-vtag { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--msg-accent); color: var(--msg-accent); font-size: 12px; font-weight: 700; vertical-align: middle; }
.lv-teamlist:not(:empty) { padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid var(--msg-border); }
.lv-teamh { margin: 0 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--msg-muted); }

/* the staff page / studio view on a phone held sideways (watchfill.js): the tool bar lies on the picture at the bottom right, icons only, like the room's
   Private Show / Send Tip bar; the chat is the room's see-through chat on the left */
.lv-video.lv-fs > .lv-stbar.lv-ctl-ov { position: absolute; z-index: 6; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); left: auto; flex-wrap: nowrap; gap: 6px; padding: 6px 8px; border-radius: var(--btn-r, 999px); background: color-mix(in srgb, var(--msg-black) 66%, transparent); }
.lv-stbar.lv-ctl-ov .lv-stspacer, .lv-stbar.lv-ctl-ov .lv-ibtn-t { display: none; }
.lv-stbar.lv-ctl-ov .lv-ibtn:has(.lv-ibtn-t) { padding: 0; border-radius: var(--btn-rc, 50%); }
.lv-stbar.lv-ctl-ov .lv-ibtn.lv-stwhere { padding: 0 10px; border-radius: var(--btn-r, 999px); }

/* the staff toolbar's tooltips: above the chat column, wrapped (long explanations), and anchored to the side that has room so none is cut off */
.lv-stbar { z-index: 6; }

/* chat translate button and its question (lang.js SiteLang.chatButton) */
.lv-chat-pill { position: relative; }
.lv-tr-btn { flex: none; min-width: 40px; min-height: 40px; }
.lv-tr-btn.is-on, .lv-tr-btn.is-on svg { color: var(--msg-accent); }
.lv-trpop { position: absolute; left: 0; right: 0; bottom: calc(100% + 8px); z-index: 30; background: var(--msg-surface); color: var(--msg-text); border: 1px solid var(--msg-border); border-radius: 12px; padding: 12px; box-shadow: 0 8px 24px color-mix(in srgb, var(--msg-black) 40%, transparent); }
.lv-trpop[hidden] { display: none; }
.lv-trq { margin: 0 0 8px; font-size: 14px; line-height: 1.35; }
.lv-trsel { width: 100%; min-height: 44px; font-size: 16px; margin: 0 0 8px; color: var(--msg-text); background: var(--msg-bg); border: 1px solid var(--msg-border); border-radius: 8px; }
.lv-trrow { display: flex; gap: 8px; }
.lv-trrow .lv-btn { min-height: 44px; flex: 1; }

/* the fan club card: what joining gives (only when the model offers something) */
.lv-vip-perks { margin: 12px 0 4px; padding: 12px 14px; border-radius: 12px; background: var(--msg-surface); border: 1px solid var(--msg-border); }
.lv-vip-perks ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.lv-vip-perks li { display: flex; align-items: center; gap: 8px; }
.lv-vip-perks li svg { flex: none; color: var(--msg-accent); }
.lv-ov .lv-welcome { display: none; } /* the model's welcome note is not drawn over the picture (phone sideways / filled window): it stays in the normal chat */

/* the "who is on camera" window of a couple / group account (Studio, before Go live) */
dialog.lv-onair { max-width: min(420px, 92vw); padding: 20px; border: 1px solid var(--msg-border); border-radius: 16px; background: var(--msg-surface); color: var(--msg-text); }
dialog.lv-onair::backdrop { background: color-mix(in srgb, var(--msg-black) 60%, transparent); }
.lv-onair h3 { margin: 0 0 8px; }
.lv-onair-row { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 16px; }
.lv-onair-row input { width: 22px; height: 22px; }
.lv-onair-warn { color: var(--msg-muted); font-size: .9rem; }
.lv-onair-btns { display: flex; gap: 10px; justify-content: flex-end; margin-top: 14px; }
.lv-onair-btns .lv-ibtn { padding: 0 20px; min-height: 44px; }
.lv-onair-row input { accent-color: var(--msg-accent); }

/* ---- the Top tippers panel (live/assets/tippers.js): a trophy button at the top of the chat, a rail button on phones; the panel is the tools panel's twin ---- */
.lv-tippers-btn { color: var(--msg-gold); }
.lv-tippers-btn.lv-on { background: var(--msg-hover); }
.lv-tp-scroll { padding-bottom: 16px; }
.lv-tippers .lv-tools-head > .lv-tp-ic { margin: 0 0 0 12px; }
.lv-tp-list { list-style: none; margin: 0; padding: 0; }
.lv-tp-top { padding: 12px 12px 0; display: grid; gap: 10px; }
.lv-tp-row { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 16px; border-bottom: 1px solid var(--msg-border); }
.lv-tp-row .lv-tp-ic { flex: none; display: inline-flex; }
.lv-tp-plain { color: var(--msg-accent); }
.lv-tp-rank { flex: none; min-width: 22px; text-align: right; font-weight: 800; color: var(--msg-muted); }
.lv-tp-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.lv-tp-anon { color: var(--msg-muted); font-style: italic; font-weight: 500; }
.lv-tp-tokens { flex: none; font-weight: 700; color: var(--msg-text); }
.lv-tp-you { flex: none; padding: 1px 8px; border-radius: 999px; background: var(--msg-accent); color: var(--msg-on-accent); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.lv-tp-big { min-height: 64px; padding: 10px 14px; border: 1px solid var(--tp-c); border-radius: 14px; background: linear-gradient(90deg, color-mix(in srgb, var(--tp-c) 22%, var(--msg-surface-2)), var(--msg-surface-2) 70%); box-shadow: 0 0 18px color-mix(in srgb, var(--tp-c) 22%, transparent); }
.lv-tp-big .lv-tp-ic { color: var(--tp-c); filter: drop-shadow(0 0 6px color-mix(in srgb, var(--tp-c) 60%, transparent)); }
.lv-tp-big .lv-tp-ic svg { width: 30px; height: 30px; }
.lv-tp-big .lv-tp-rank { color: var(--tp-c); font-size: 20px; }
.lv-tp-big .lv-tp-name { font-size: 17px; }
.lv-tp-m1 { --tp-c: var(--msg-gold); }
.lv-tp-m2 { --tp-c: var(--msg-silver); }
.lv-tp-m3 { --tp-c: var(--msg-bronze); }
.lv-tp-ic.lv-tp-m1 { color: var(--msg-gold); }
.lv-tp-me:not(.lv-tp-big) { background: var(--msg-hover); }
.lv-tp-h { margin: 18px 16px 4px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--msg-muted); }
.lv-tp-note { margin: 14px 16px 0; font-size: 13px; }
.lv-tp-empty { padding: 36px 20px; text-align: center; }
.lv-tp-empty .lv-tp-ic svg { width: 56px; height: 56px; }
@media (max-width: 900px) {
  .lv-tippers { height: min(78dvh, 600px); }
  .lv-tippers-back { z-index: 39; }
  .lv-tabs-actions { margin-left: 0; padding-right: 0; flex-direction: column; align-items: stretch; gap: 0; }
  .lv-tabs-actions .lv-tippers-btn { width: 100%; min-height: 64px; border-radius: 0; display: flex; align-items: center; justify-content: center; }
}
.lv-tabs-actions .lv-tippers-btn { order: 1; }
.lv-tabs-actions .lv-mbar-more { order: 2; }

/* group show: the strip above the model bar while inside (price, minutes, low-token warning, Leave) */
.lv-grpbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 8px 12px; margin: 0 0 6px; border-radius: 10px; background: var(--msg-accent); color: var(--msg-on-accent); font-size: 14px; font-weight: 700; }
.lv-grpbar-t { flex: 1 1 auto; }
.lv-grpbar-w { flex: 1 1 100%; font-weight: 600; background: var(--msg-danger); color: var(--msg-on-danger); padding: 4px 8px; border-radius: 6px; }
.lv-grpbar-w[hidden] { display: none; }
.lv-grpbar .lv-btn { min-height: 44px; }
.lv-pillbtn .lv-ic { margin-right: 2px; }
.lv-show-head { display: inline-flex; align-items: center; gap: 6px; }

/* the room subject in the model bar: computers only (a phone has no room for it) */
.lv-mbar-subject { display: none; }
@media (min-width: 900px) {
  .lv-mbar-subject { display: block; flex: 1 1 0; min-width: 0; margin: 0 10px; overflow: hidden; white-space: nowrap; color: var(--msg-muted); font-size: 13px; line-height: 1.3; }
  .lv-mbar-subject[hidden] { display: none; }
  .lv-mbar-subject-t { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }
  .lv-mbar-subject.is-scroll .lv-mbar-subject-t { max-width: none; overflow: visible; text-overflow: clip; animation: lv-subject-slide var(--sub-dur, 12s) linear infinite alternate; }
  @keyframes lv-subject-slide { 0%, 12% { transform: translateX(0); } 88%, 100% { transform: translateX(var(--sub-shift, 0)); } }
}
/* a window that locks the page (body overflow hidden) must not make the page jump sideways: the scrollbar's space stays reserved */
html { scrollbar-gutter: stable; }
/* a jump to the profile (the model bar's Profile button, a #profile link) stops BELOW the fixed site header, so the tabs are not cut off */
.lv-profile { scroll-margin-top: var(--ch-h, 54px); } /* the height of the site header: the profile / media part lands right under it, with none of the goal bar above it */
body.lv-embed .lv-profile { scroll-margin-top: 0; } /* (the overlay has no site header) */


/* phone: the model bar has Profile and Media; each opens its own slide-up window (Profile = the profile info, Media = every picture, video and album with All / Free / Premium) */
.lv-mbar-media { display: none; }
@media (max-width: 900px) {
  .lv-mbar-media { display: block; } /* a button centres its own text only while it is block: "flex" put the word at the top */
  .lv-mbar-tab:not([data-go="profile"]):not([data-go="media"]) { display: none; } /* over the chat only Profile and Media stay (the content tabs are inside the Media window) */
  .lv-profile[data-mode="profile"] .pg-tabs, .lv-profile[data-mode="profile"] .pg-tile, .lv-profile[data-mode="profile"] .pg-state, .lv-profile[data-mode="profile"] .pg-more { display: none; }
  .lv-profile[data-mode="media"] .pg-box { display: none; }
  /* Profile on a phone = only the see-through bio sheet sliding up (no card): everything of the box except the sheet is left out */
  .lv-profile[data-mode="profile"] .pg-box { background: none; border: 0; box-shadow: none; padding: 0; min-height: 0; }
  .lv-profile[data-mode="profile"] .pg-box > :not(.pg-info) { display: none; }
  /* ...and the window around the sheet is not drawn at all: no second panel with a second X behind the sheet (the sheet has its own close button) */
  .lv-profile[data-mode="profile"] { background: none; border: 0; pointer-events: none; }
  .lv-profile[data-mode="profile"] .lv-profile-x { display: none; }
  .lv-profile[data-mode="profile"] .pg-info { pointer-events: auto; }
  /* the chat page on a phone is one screen: the input stays at the bottom, the site footer is not part of it (a raised keyboard used to expose it) */
  body.lv-room .lv-fm { display: none; }
  /* the translate question is a small card, not a full-width block */
  .lv-trpop { left: 8px; right: auto; width: min(300px, calc(100% - 16px)); padding: 10px; }
  .lv-trq { font-size: 13px; margin-bottom: 6px; }
  .lv-trrow { gap: 8px; }
  .lv-trrow .lv-btn { flex: 0 0 auto; min-height: 44px; padding: 0 16px; font-size: 14px; }
}

/* sideways on a phone the webcam and toy icons live in the picture's top-right icon set, left of the speaker (room.js moves them): they are part of that set, not an overlay of their own */
.lv-vctl > .lv-bl { position: static; z-index: auto; opacity: 1; }
.lv-vctl > .lv-bl .lv-ctl-cam { margin: 0; }

/* a tip lands on the goal: the bar shoots up to full, slides back to the real level fast, and pulses / blinks a little (desktop and phone, the same bar) */
.lv-goal.lv-goal-boost { animation: lv-goal-pulse 1.4s ease-out; }
.lv-goal.lv-goal-boost .lv-goal-fill { transition: none; animation: lv-goal-shoot 1.1s cubic-bezier(.2, .85, .25, 1) both, lv-goal-blink .5s ease-in-out 2; }
@keyframes lv-goal-shoot { 0% { width: var(--from); } 26% { width: 100%; } 100% { width: var(--to); } }
@keyframes lv-goal-blink { 50% { filter: brightness(1.7); opacity: 1; } }
@keyframes lv-goal-pulse { 0%, 100% { box-shadow: 0 0 0 0 transparent; transform: scale(1); } 28% { box-shadow: 0 0 16px 4px color-mix(in srgb, var(--msg-accent) 75%, transparent); transform: scale(1.03); } 55% { box-shadow: 0 0 6px 1px color-mix(in srgb, var(--msg-accent) 45%, transparent); transform: scale(1); } 75% { box-shadow: 0 0 12px 3px color-mix(in srgb, var(--msg-accent) 60%, transparent); transform: scale(1.015); } }
@media (prefers-reduced-motion: reduce) { .lv-goal.lv-goal-boost, .lv-goal.lv-goal-boost .lv-goal-fill { animation: none; } }

/* the sound effects button among the picture's icons: hidden while the room has none; crossed bell while muted */
.lv-vctl .lv-sfxbtn[hidden] { display: none; }
.lv-vctl .lv-sfxbtn.lv-is-off { color: var(--msg-danger); }
.lv-pillbtn .lv-pw-l { margin-left: .3em; } /* (a space at the start of a flex item is dropped, so "Private" and "Show" need this gap) */

/* Promote my room: the window, the Studio's button and its "Boosted" label */
.lv-boost { display: grid; gap: 10px; min-width: 0; width: 100%; box-sizing: border-box; }
.lv-popup:has(.lv-boost) { max-width: min(460px, 100%); box-sizing: border-box; } /* the boost list needs a little more room than a plain question */
.lv-boost-run { margin: 0; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--msg-accent); font-size: 14px; }
.lv-boost-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lv-boost-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--msg-border); background: var(--msg-surface-2); }
.lv-boost-tx { display: grid; gap: 2px; min-width: 0; font-size: 14px; }
.lv-boost-row .lv-btn { flex: none; min-height: 44px; }
.lv-boost-toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); z-index: 100001; padding: 10px 16px; border-radius: 999px; background: var(--msg-accent); color: var(--msg-on-accent); font-weight: 700; }
.lv-boostbtn .lv-ibtn-t { margin-left: 4px; }
.lv-boosted { cursor: pointer; border: 1px solid var(--msg-accent); background: color-mix(in srgb, var(--msg-accent) 22%, transparent); color: var(--msg-text); font: inherit; font-size: 13px; padding: 4px 12px; border-radius: 999px; min-height: 36px; }
.lv-boosted[hidden], .lv-boostbtn[hidden] { display: none; }
@media (max-width: 520px) { .lv-boost-row { flex-wrap: wrap; } .lv-boost-row .lv-btn { width: 100%; } }

/* the floating wheel button turns while the pointer is over it (its tooltip stays) */
@keyframes lv-qwheel-spin { to { transform: rotate(360deg); } }
.lv-qwheel svg { transform-origin: 50% 50%; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .lv-qwheel:hover svg { animation: lv-qwheel-spin 1.2s linear infinite; } }

/* the wheel picture turns around its own centre (the pointer stays); the floating button's hover spin moved here from the whole picture */
@media (hover: hover) { .lv-qwheel:hover svg { animation: none; } } /* (touch screens keep :hover after a tap) */
.aw-spin { transform-box: view-box; transform-origin: 16px 17px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .lv-qwheel:hover .aw-spin { animation: lv-qwheel-spin 1.4s linear infinite; } }
/* the model's thank-you: stands out, flies up like any new line and glows once */
.lv-sysrow.lv-thanksrow { text-align: left; border-left: 3px solid var(--msg-gold); background: color-mix(in srgb, var(--msg-gold) 16%, transparent); border-radius: 8px; animation: lv-thanks-in .6s cubic-bezier(.2, 1.2, .4, 1) both; }
.lv-thanksrow .lv-u { color: var(--msg-gold); }
.lv-thanksrow .lv-thanksnote { opacity: .7; }
@keyframes lv-thanks-in { 0% { transform: translateY(26px) scale(.96); opacity: 0; box-shadow: 0 0 0 0 color-mix(in srgb, var(--msg-gold) 70%, transparent); } 60% { opacity: 1; box-shadow: 0 0 18px 4px color-mix(in srgb, var(--msg-gold) 55%, transparent); } 100% { transform: none; box-shadow: none; } }
@media (prefers-reduced-motion: reduce) { .lv-sysrow.lv-thanksrow { animation: none; } }
/* viewers muting someone for themselves */
.lv-row[hidden] { display: none; }
.lv-mutebar { padding: 4px 12px; border-top: 1px solid var(--msg-border); font-size: 0.85rem; }
.lv-mutebar[hidden], .lv-mutelist[hidden] { display: none; }
.lv-mutebtn { border: 0; background: none; color: var(--msg-muted); text-decoration: underline; cursor: pointer; min-height: 32px; font: inherit; padding: 0; }
.lv-muteline { display: flex; align-items: center; gap: 10px; justify-content: space-between; padding: 4px 0; }
/* the viewer's own "mute this person" menu must not make the chat rows taller: it floats at the row's edge and shows on hover (always, faintly, on touch screens) */
.lv-row { position: relative; }
.lv-more.lv-more-v { position: absolute; right: 2px; top: 0; min-height: 24px; min-width: 32px; padding: 0 6px; line-height: 24px; opacity: 0; }
.lv-more.lv-more-v:focus-visible { opacity: 1; }
@media (hover: hover) { .lv-row:hover .lv-more.lv-more-v { opacity: 1; } } /* (touch screens keep :hover after a tap) */
@media (hover: none) { .lv-more.lv-more-v { opacity: .45; } }

/* lines the site writes: purchases, fan club, tickets, tokens left to the goal */
.lv-noterow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: var(--msg-surface-2); }
.lv-goalleft { justify-content: space-between; border-left: 3px solid var(--msg-accent); }
.lv-goalleft .lv-gltext { flex: 1 1 160px; min-width: 0; overflow-wrap: anywhere; }
.lv-gltip { flex: none; min-height: 30px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--msg-accent); color: var(--msg-on-accent); font: inherit; font-weight: 700; cursor: pointer; }

/* the room's width on a computer (Live room settings > room_layout): full = the whole window (default), boxed = the room and the profile part centred
   with a margin at the sides and above; the bars stay full width (the site header, the model bar at the top, the join bar at the bottom: owner 2026-11-10) */
@media (min-width: 1000px) {
  body.lv-room.lv-boxed .lv-app > .lv-main { margin-top: 14px; }
  body.lv-room.lv-boxed .lv-app > .lv-main, body.lv-room.lv-boxed .lv-app > .lv-profile { width: min(calc(100% - 40px), 1560px); margin-inline: auto; box-sizing: border-box; }
  body.lv-room.lv-boxed .lv-profile { border-top: 0; }
}
/* the line between the chat and the profile / media part: half as strong as the other lines (none in the boxed room) */
.lv-profile { border-top-color: color-mix(in srgb, var(--msg-border) 16%, transparent); }
.lv-mbar { border-bottom-color: color-mix(in srgb, var(--msg-border) 16%, transparent); }
.lv-join-bar, .lv-ctl { border-top-color: color-mix(in srgb, var(--msg-border) 16%, transparent); } /* the bar at the bottom of the page and the one under the video: as faint as the others */ /* almost not there: the room and the profile part run into each other softly */
@media (max-width: 900px) { .lv-side { border-top-color: color-mix(in srgb, var(--msg-border) 16%, transparent); } }
/* a room opened inside the overlay of another page (?embed=1): the same room, without the site header (the model bar is at the very top) */
body.lv-room.lv-embed { padding-top: 0; }
body.lv-embed #ch, body.lv-embed .ch-bar, body.lv-embed .ch-sidebar { display: none; }
/* in the overlay the side menu slides out UNDER the model bar (there is no site header); the bar keeps the menu button, the picture and the close button */
body.lv-embed .ch-drawer, body.lv-embed.acct-bn-on .ch-drawer { top: var(--lv-mbar-b, 48px); z-index: 1300; }
body.lv-embed #chScrim, body.lv-embed.acct-bn-on #chScrim { top: var(--lv-mbar-b, 48px); z-index: 1290; }
/* the computer's left menu in the room over a page: under the model bar at any window width (the overlay is never used on phones) */
body.lv-embed.ch-side-open .ch-sidebar.is-overlay, body.lv-embed.acct-bn-on.ch-side-open .ch-sidebar.is-overlay { display: block; top: var(--lv-mbar-b, 48px); z-index: 1300; width: 250px; box-shadow: 8px 0 40px color-mix(in srgb, var(--msg-black) 50%, transparent); }
.lv-embed-burger { display: none; flex: none; align-items: center; justify-content: center; width: var(--btn-h, 40px); height: var(--btn-h, 40px); margin: 0 4px 0 -4px; padding: 0; border: 0; border-radius: var(--btn-rc, 50%); background: none; color: var(--msg-text); cursor: pointer; }
body.lv-embed .lv-embed-burger { display: inline-flex; }
body.lv-embed .lv-app { padding-top: 0; }
/* the narrowest phones (360 px): the Fan Club button is just its crown, so the bar still holds Profile, Media, Group, Book and the menu without anything on top of anything */
@media (max-width: 400px) { .lv-vip-pill:not(.lv-book-pill):not(.lv-rate-pill) .lv-pill-s { display: none; } .lv-vip-pill:not(.lv-book-pill):not(.lv-rate-pill) { min-width: 36px; justify-content: center; } }

/* a phone must not enlarge the text on its own (iOS / Android text autosizing); the person's own font-size setting still applies */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

/* the Studio's balance chip (tokens and money): numbers keep their width so an update never moves anything */
.lv-balance { display: inline-flex; align-items: center; gap: 10px; flex: none; padding: 4px 12px; min-height: var(--btn-h, 36px); border: 1px solid var(--msg-border); border-radius: var(--btn-r, 999px); color: var(--msg-text); text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lv-balance b { font-weight: 700; }
.lv-balance-m { color: var(--msg-muted); }
.ch-bal, .ch-bal small { font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .lv-balance-m { display: none; } }
/* the buttons in the model bar (Group / Ticket, Fan Club, Book) have a little air between them */
@media (max-width: 899px) { .lv-mbar { gap: 8px; } }

/* chat text size (the room's more menu): small = the Stripchat measure (14 px, the default), medium and large are bigger */
.lv-size { display: grid; gap: 4px; padding: 4px 0; }
.lv-size-t { font-size: 14px; font-weight: 600; color: var(--msg-muted); padding: 0 4px; }
.lv-size-opt { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; text-align: left; border-radius: var(--btn-r, 10px); border: 1px solid var(--msg-border); background: var(--msg-surface-2); font: inherit; color: var(--msg-text); cursor: pointer; }
.lv-size-box { flex: none; position: relative; width: 20px; height: 20px; border-radius: 5px; border: 2px solid var(--msg-border); background: var(--msg-bg); }
.lv-size-opt[aria-checked="true"] .lv-size-box { background: var(--msg-accent); border-color: var(--msg-accent); }
.lv-size-opt[aria-checked="true"] .lv-size-box::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid var(--msg-bg); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.lv-size-opt:focus-visible { outline: 3px solid var(--msg-ring); outline-offset: -3px; }
#lv.lv-cs-m .lv-row, #lv.lv-cs-m .lv-chat-note { font-size: 16px; line-height: 21px; }
#lv.lv-cs-l .lv-row, #lv.lv-cs-l .lv-chat-note { font-size: 18px; line-height: 24px; }

/* Fan club levels in the VIP window: one card per level, the chosen one marked; the member's own plan and the other levels to move to */
.lv-vip-tiers { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 12px 0 6px; }
.lv-vip-tier { box-sizing: border-box; min-width: 0; padding: 14px; border-radius: 12px; border: 2px solid var(--msg-border); background: var(--msg-surface); display: grid; gap: 6px; }
.lv-vip-tier.is-pick { cursor: pointer; }
.lv-vip-tier.is-pick:focus-visible { outline: 2px solid var(--msg-ring); outline-offset: 2px; }
.lv-vip-tier.is-on, .lv-vip-tier.is-mine { border-color: var(--msg-accent); }
.lv-vip-tier-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.lv-vip-tier-n { font-size: 17px; overflow-wrap: anywhere; }
.lv-vip-tier-p { color: var(--msg-accent); font-weight: 700; white-space: nowrap; }
.lv-vip-tier-b { margin: 0; }
.lv-vip-tier-l { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 4px; }
.lv-vip-tier-l li { display: flex; align-items: center; gap: 8px; }
.lv-vip-tier-l li svg { flex: none; color: var(--msg-accent); }
.lv-vip-tier .lv-btn { margin-top: 6px; justify-self: start; }
.lv-vip-lab { margin: 14px 0 0; font-weight: 700; }
.lv-vip-tier.is-hero { position: relative; padding: 18px 16px 16px; border-color: var(--msg-accent); background: color-mix(in srgb, var(--msg-accent) 10%, var(--msg-surface)); box-shadow: 0 0 0 1px var(--msg-accent); }
.lv-vip-tier.is-hero .lv-vip-tier-n { font-size: 22px; }
.lv-vip-tier.is-hero .lv-vip-tier-p { font-size: 18px; }
.lv-vip-flag { justify-self: start; padding: 2px 10px; border-radius: 999px; background: var(--msg-accent); color: var(--msg-on-accent); font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.lv-vip-more { margin: 2px 0 0; color: var(--msg-muted); font-size: 14px; }
.lv-vip-tier .lv-vip-cta { justify-self: stretch; width: 100%; margin-top: 8px; min-height: var(--btn-hl, 48px); font-size: 16px; }
.lv-vip-tier.is-small { padding: 10px 12px; border-width: 1px; gap: 4px; }
.lv-vip-tier.is-small .lv-vip-tier-n { font-size: 15px; }
.lv-vip-tier.is-small .lv-vip-tier-l { font-size: 14px; }
.lv-vip-notice { margin: 8px 0 0; line-height: 1.45; }
.lv-vip-tier-n { display: inline-flex; align-items: center; gap: 6px; }
/* phone sideways (the filled window): a visitor has no private chat and no typing box, so the private-chat button would sit at the TOP of the chat and push the lines down under it: not shown for visitors (the Join row is their way in) */
#lv[data-viewer="guest"] .lv-ov .lv-ov-switch { display: none; }
/* ...and "Tap for sound" waits at the top middle of the picture, never on top of the chat lines */
.lv-video.lv-fs > #lv-sound { bottom: auto; top: calc(14px + env(safe-area-inset-top, 0px)); }
/* phone sideways (the filled window): a visitor's "Join free to chat" row is as slim as a member's typing row, so the chat lines sit at the same height for both (it was 17 px taller and pushed the chat up) */
.lv-ov .lv-chat-join { padding: 4px 6px 4px 14px; margin-top: 4px; border-top: 0; }

/* ---- the Private tab for a visitor: a big round picture of the model (LIVE ring and badge while on air) above the invitation */
.lv-pj-face { position: relative; width: 112px; height: 112px; margin: 4px auto 14px; }
.lv-pj-face img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--msg-accent); box-sizing: border-box; box-shadow: 0 8px 24px color-mix(in srgb, var(--msg-black) 45%, transparent); }
.lv-pj-face.is-live img { border-color: var(--msg-live); }
.lv-pj-live { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); padding: 2px 9px; border-radius: 6px; background: var(--msg-live); color: var(--msg-on-live); font-size: 11px; font-weight: 800; letter-spacing: .06em; line-height: 16px; }

/* the model's picture in place of the video (room.js showPoster): offline, or this viewer's free video time for today is used up. It sits where the video sits,
   so the full window works the same (chat, icons and buttons over it). The picture is shown whole (a tall portrait is never cut), a blurred copy fills the sides. */
.lv-poster { display: none; position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--msg-black); border-radius: inherit; }
.lv-video.lv-postered > .lv-poster { display: block; }
.lv-poster-bg { position: absolute; inset: -30px; background-size: cover; background-position: center; filter: blur(24px) brightness(.55); transform: scale(1.1); }
.lv-poster-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.lv-poster-letter { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; background: var(--msg-accent); color: var(--msg-on-accent); font-size: 56px; font-weight: 800; }
.lv-poster-msg { position: absolute; z-index: 6; left: 50%; top: 50%; transform: translate(-50%, -50%); width: max-content; max-width: min(480px, calc(100% - 32px)); margin: 0; padding: 12px 16px; border-radius: 14px; background: color-mix(in srgb, var(--msg-black) 72%, transparent); color: var(--msg-white); font-size: 15px; line-height: 1.4; text-align: center; }
.lv-poster-msg[hidden] { display: none; }
.lv-video.lv-postered > #lv-sound { display: none; } /* nothing to hear */
.lv-video.lv-fs .lv-poster-msg { left: auto; right: 84px; top: calc(64px + env(safe-area-inset-top, 0px)); transform: none; max-width: min(380px, 44%); text-align: left; } /* the full window: beside the chat, under the top icons */
/* offline in the full window: the picture fills it, the card is a small box on the right, and the exit button stays */
.lv-video.lv-fs .lv-overlay.lv-offcard { background: transparent; pointer-events: none; }
.lv-video.lv-fs .lv-off { align-items: flex-start; justify-content: flex-end; padding: calc(64px + env(safe-area-inset-top, 0px)) 16px 0; }
.lv-video.lv-fs .lv-off-bg, .lv-video.lv-fs .lv-off-av, .lv-video.lv-fs .lv-off-note { display: none; }
.lv-video.lv-fs .lv-off-in { pointer-events: auto; width: auto; max-width: min(380px, 44%); align-items: flex-start; gap: 8px; padding: 12px 14px; border-radius: 16px; background: color-mix(in srgb, var(--msg-black) 72%, transparent); color: var(--msg-white); text-align: left; }
.lv-video.lv-fs .lv-off-when { color: var(--msg-white); font-weight: 700; }
.lv-video.lv-fs .lv-off-when::before { content: "Offline \00B7\0020"; color: var(--msg-accent); }
.lv-video.lv-fs .lv-off-row { justify-content: flex-start; }
.lv-video.lv-fs .lv-off-msg:empty { display: none; }
.lv-video.lv-fs.lv-is-offline.lv-nolive > .lv-vctl { display: flex; } /* the exit-full-window button must stay while offline */
.lv-video.lv-fs.lv-postered > .lv-watermark { display: block; } /* the site's logo stays in its corner over the picture in the full window */

/* ---- Virtual gifts (tips.js gift window, chat.js gift line). The gift pictures are the admin's own art; everything around them uses the site's colours. */
.lv-quick .lv-qbtn.lv-qgift { width: 58px; height: 58px; border: 1px solid color-mix(in srgb, var(--msg-white) 16%, transparent); border-radius: var(--btn-r, 14px); background: linear-gradient(180deg, color-mix(in srgb, var(--msg-white) 14%, transparent), color-mix(in srgb, var(--msg-black) 30%, transparent)), color-mix(in srgb, var(--msg-black) 42%, transparent); -webkit-backdrop-filter: blur(10px) saturate(140%); backdrop-filter: blur(10px) saturate(140%); box-shadow: inset 0 1px 0 color-mix(in srgb, var(--msg-white) 22%, transparent), 0 6px 18px color-mix(in srgb, var(--msg-black) 40%, transparent); }
@media (max-width: 600px) { .lv-video:not(.lv-fs) > .lv-quick .lv-qbtn.lv-qgift { width: 46px; height: 46px; } }
.lv-giftbtn-img { width: 72%; height: 72%; object-fit: contain; filter: drop-shadow(0 2px 3px color-mix(in srgb, var(--msg-black) 45%, transparent)); pointer-events: none; }
.lv-sysrow.lv-giftrow { display: flex; align-items: center; gap: 10px; text-align: left; border-left: 3px solid var(--msg-accent); }
.lv-gifticon { flex: none; width: 56px; height: 56px; object-fit: contain; }
.lv-gifttxt { min-width: 0; overflow-wrap: anywhere; }

/* ---- The "fill" phone layout (Live room settings > room_phone_layout = fill; body.lv-phonefill; room.js upFill / fsHead / fsRail / fsSheet).
   Upright, the picture covers the whole screen from the first paint (before any script: the normal page never shows first). The model's picture and name
   sit at the top left, the icons and an X at the top right; the chat is plain text with a shadow at the bottom left (no bubbles); a column of small icons
   (the "more" button) stands at the right above the gift / wheel / reaction buttons; EVERYTHING it opens (the tip panel, the gifts, the profile, the
   pictures and videos, the settings) is a see-through sheet sliding up over the picture: nobody is sent to the normal page. Sideways stays the usual filled
   window; in both the blurred background reaches the screen's edges (also beside an iPhone's notch). */
.lv-fs-id, .lv-fs-x, .lv-rail, .lv-fsheet { display: none; }
body.lv-phonefill .lv-video.lv-fs .lv-backdrop { position: fixed; inset: 0; }
body.lv-phonefill .lv-video.lv-fs > .lv-fs-id { display: flex; position: absolute; z-index: 6; left: 10px; top: calc(10px + env(safe-area-inset-top, 0px)); align-items: center; gap: 8px; max-width: calc(100% - 230px); pointer-events: none; transition: opacity .2s ease; }
.lv-fs-av { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--msg-accent); }
.lv-fs-tx { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.lv-fs-tx strong { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; color: var(--msg-white); text-shadow: 0 1px 3px var(--msg-black); }
.lv-fs-state { padding: 1px 7px; border-radius: 6px; font-size: 11px; font-weight: 700; line-height: 16px; text-transform: uppercase; background: color-mix(in srgb, var(--msg-black) 60%, transparent); color: var(--msg-white); }
.lv-fs-state[data-state="live"] { background: var(--msg-live); color: var(--msg-on-live); }
body.lv-phonefill .lv-video.lv-fs:not(.lv-ui-on) > .lv-fs-id { opacity: 0; pointer-events: none; }
/* the X that leaves the room: its own button at the top right, upright AND sideways, in every state (offline, live, a show's cover); the icon row moves left of it */
body.lv-phonefill .lv-video.lv-fs > .lv-fs-x { display: inline-flex; align-items: center; justify-content: center; position: absolute; z-index: 9; top: calc(10px + env(safe-area-inset-top, 0px)); right: 6px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--btn-rc, 50%); background: transparent; color: var(--msg-white); filter: drop-shadow(0 1px 3px var(--msg-black)); transition: opacity .2s ease; }
body.lv-phonefill .lv-video.lv-fs:not(.lv-ui-on) > .lv-fs-x { opacity: 0; pointer-events: none; }
body.lv-phonefill .lv-video.lv-fs > .lv-vctl { right: 52px; }
body.lv-phonefill .lv-video.lv-fs .lv-live-badge { display: none; } /* the state pill beside the name says it */
@keyframes lv-sheet-up { from { transform: translateY(100%); } to { transform: none; } }
@media (pointer: coarse) and (orientation: portrait) and (max-width: 600px), (pointer: coarse) and (max-width: 600px) and (max-aspect-ratio: 3/2) {
  /* the first paint: only the picture (black until the stream or the model's picture arrives); the page's own header, bars and join bar never show */
  html:has(body.lv-phonefill), body.lv-phonefill { background: var(--msg-black); overflow: hidden; }
  body.lv-phonefill #ch, body.lv-phonefill .ch-bar, body.lv-phonefill .ch-sidebar, body.lv-phonefill #chScrim, body.lv-phonefill .lv-join-bar, body.lv-phonefill .lv-top, body.lv-phonefill .lv-mbar { display: none; }
  body.lv-phonefill .lv-video { position: fixed; inset: 0; z-index: 900; width: 100vw; height: 100vh; height: var(--dvh, 100dvh); max-height: none; aspect-ratio: auto; border-radius: 0; background: var(--msg-black); }
  body.lv-phonefill .lv-video.lv-fs > video, body.lv-phonefill .lv-video.lv-fs.lv-lstream > video { inset: 0; width: 100%; height: 100%; object-fit: cover; }
  body.lv-phonefill .lv-video.lv-fs .lv-backdrop { display: none; } /* the picture covers the screen: nothing shows behind it */
  body.lv-phonefill .lv-video.lv-fs #lv-full { display: none; } /* there is no "normal page" upright: the X leaves the room */
  /* the chat: plain lines with a shadow, no bubbles, at the bottom left; the icon column keeps the right edge */
  /* the gap under the chat's text box and the buttons at the bottom of the full-screen phone room: enough that the iPhone's rounded screen corners never cut into the text box or the Send button (owner 2026-11-10); while typing (the keyboard is up, no corners there) the old small gap */
  body.lv-phonefill .lv-video.lv-fs { --lv-fs-bot: calc(8px + env(safe-area-inset-bottom, 0px)); }
  @media (orientation: portrait), (pointer: coarse) and (max-aspect-ratio: 3/2) { body.lv-phonefill .lv-video.lv-fs:not(:has(.lv-ov :focus)) { --lv-fs-bot: max(22px, calc(8px + env(safe-area-inset-bottom, 0px))); } } /* upright only: sideways the row stays level with the buttons at the right */
  /* the bottom (like the reference): the chat lines, under them ONE row = the text box and one big button (Private; Tip when the model offers no private
     show); the right-hand column stands above that row. The chat column reaches the bottom; its text row leaves room for the button (--lv-ctlw, room.js ovFit) */
  body.lv-phonefill .lv-video.lv-fs .lv-ov, body.lv-phonefill .lv-video.lv-fs.lv-lstream .lv-ov { top: auto; left: 10px; right: 10px; width: auto; bottom: var(--lv-fs-bot); height: min(44%, 380px); }
  body.lv-phonefill .lv-video.lv-fs .lv-ov:not(.lv-ov-priv) .lv-chat-list, body.lv-phonefill .lv-video.lv-fs .lv-ov:not(.lv-ov-priv) .lv-pinned { margin-right: 56px; } /* the right-hand column */
  body.lv-phonefill .lv-video.lv-fs .lv-ov:not(.lv-ov-priv) .lv-chat-form { margin-right: calc(var(--lv-ctlw, 0px) + 8px); }
  body.lv-phonefill .lv-video.lv-fs .lv-ov:not(.lv-ov-priv) .lv-chat-form .lv-ov-switch { display: none; } /* the text row needs the room; private messages are in the icon pill (the switch back stays in the private chat) */
  /* the viewer's webcam button and the toy sign: top left under the logo, never on the text row */
  body.lv-phonefill .lv-video.lv-fs > .lv-bl { left: 10px; bottom: auto; top: calc(96px + env(safe-area-inset-top, 0px)); }
  /* the private chat: a full-screen see-through panel sliding up, with its own header and X (like the messages panel of the site header); it covers the
     room's own X so the two are never mixed up. Sideways it stays the usual box. */
  body.lv-phonefill .lv-video.lv-fs .lv-ov.lv-ov-priv { inset: 0; height: auto; z-index: 30; padding: env(safe-area-inset-top, 0px) 10px var(--lv-fs-bot); background: color-mix(in srgb, var(--msg-black) 82%, transparent); justify-content: flex-start; animation: lv-sheet-up .22s ease; }
  body.lv-phonefill .lv-video.lv-fs .lv-ov.lv-ov-priv::after { display: none; }
  body.lv-phonefill .lv-video.lv-fs .lv-ov.lv-ov-priv > .lv-privhead { display: flex; }
  body.lv-phonefill .lv-video.lv-fs .lv-ov.lv-ov-priv .lv-pane-msg:not([hidden]) { flex: 1 1 auto; min-height: 0; height: auto; max-height: none; border-radius: 0; background: transparent; }
  body.lv-phonefill .lv-video.lv-fs .lv-ov.lv-ov-priv .lv-pane-msg .msg-app { height: 100%; }
  body.lv-phonefill .lv-video.lv-fs .lv-ov.lv-ov-priv .lv-ov-switch { display: none; } /* the header's X goes back to the public chat */
  body.lv-phonefill .lv-video.lv-fs.lv-priv-on > :is(.lv-fs-id, .lv-vctl, .lv-fs-x, .lv-bl, .lv-watermark, #lv-sound, .lv-wheel) { visibility: hidden; } /* nothing of the room shows through the panel's header */
  body.lv-phonefill .lv-video.lv-fs .lv-ctl.lv-ctl-ov { left: auto; right: 10px; bottom: var(--lv-fs-bot); padding: 0; }
  body.lv-phonefill .lv-video.lv-fs .lv-ctl-ov:has(.lv-pillbtn) .lv-ctl-right { display: none; } /* Tip is the column's list button then */
  body.lv-phonefill .lv-video.lv-fs .lv-ctl-ov .lv-sendtip { min-height: 44px; } /* the same height as the text row and Private */
  body.lv-phonefill .lv-video.lv-fs .lv-rail .lv-giftbtn-ic { color: var(--msg-white); } /* the gift ICON in the column */
  body.lv-phonefill .lv-video.lv-fs .lv-ctl-ov .lv-pillbtn { min-height: 44px; padding: 0 14px; border-color: transparent; background: var(--msg-accent); color: var(--msg-on-accent); font-weight: 700; font-size: 16px; }
  body.lv-phonefill .lv-video.lv-fs.lv-priv-on .lv-ctl-ov { visibility: hidden; }
  /* a soft dark fade behind the chat and the text row, so they read on any picture */
  body.lv-phonefill .lv-video.lv-fs .lv-ov::after { content: ""; position: absolute; z-index: -1; left: -10px; right: -10px; bottom: calc(-1 * var(--lv-fs-bot)); height: 170px; pointer-events: none; background: linear-gradient(transparent, color-mix(in srgb, var(--msg-black) 70%, transparent)); }
  body.lv-phonefill .lv-video.lv-fs .lv-ov .lv-chat-pill { background: color-mix(in srgb, var(--msg-black) 35%, transparent); border-color: color-mix(in srgb, var(--msg-white) 18%, transparent); }
  body.lv-phonefill .lv-video.lv-fs .lv-ov .lv-row, body.lv-phonefill .lv-video.lv-fs .lv-ov .lv-sysrow { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 0; margin: 0; padding: 3px 0; text-shadow: 0 1px 2px var(--msg-black), 0 0 8px color-mix(in srgb, var(--msg-black) 70%, transparent); }
  body.lv-phonefill .lv-video.lv-fs .lv-ov .lv-chat-list { -webkit-mask-image: linear-gradient(transparent, var(--msg-black) 40px); mask-image: linear-gradient(transparent, var(--msg-black) 40px); }
  /* the right edge: the icon column above the gift / wheel / reaction buttons (smaller here, like the big sites) */
  /* the right-hand column: [the icon pill when open] ... / tip menu / gift; the gift button (#lv-quick) moves into it (room.js sheetMode) */
  body.lv-phonefill .lv-video.lv-fs .lv-rail > .lv-quick { position: static; display: flex; flex-direction: column; align-items: center; gap: 8px; }
  body.lv-phonefill .lv-video.lv-fs .lv-rail > .lv-quick[hidden] { display: none; }
  body.lv-phonefill .lv-video.lv-fs .lv-rail > .lv-quick .lv-qbtn.lv-artbtn, body.lv-phonefill .lv-video.lv-fs .lv-rail > .lv-quick .lv-qbtn.lv-qgift { width: 44px; height: 44px; border-radius: var(--btn-rc, 50%); }
  body.lv-phonefill .lv-video.lv-fs .lv-quick :is(.lv-qwheel, .lv-qreact) { display: none; } /* only the gift stays; the wheel and the reactions are in the icon pill */
  body.lv-phonefill .lv-video.lv-fs > .lv-rail { display: flex; flex-direction: column; align-items: center; gap: 8px; position: absolute; z-index: 7; right: 8px; bottom: var(--lv-rail-b, calc(84px + env(safe-area-inset-bottom, 0px))); transition: opacity .2s ease; }
  body.lv-phonefill .lv-video.lv-fs:not(.lv-ui-on) > .lv-rail { opacity: 0; pointer-events: none; }
  .lv-rail-list { display: flex; flex-direction: column; align-items: center; gap: 0; padding: 6px 0; border-radius: 22px; background: color-mix(in srgb, var(--msg-black) 45%, transparent); animation: lv-sheet-up .18s ease; }
  .lv-rail-list[hidden] { display: none; }
  /* never taller than the room between the top icons and the column's own buttons (it scrolls instead) */
  .lv-rail-list { max-height: calc(var(--dvh, 100dvh) - var(--lv-rail-b, 140px) - 230px - env(safe-area-inset-top, 0px)); overflow-y: auto; scrollbar-width: none; }
  .lv-rail-list::-webkit-scrollbar { display: none; }
  .lv-rail-list .lv-rail-btn { height: 38px; flex: none; }
  .lv-rail-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 42px; padding: 0; border: 0; border-radius: var(--btn-rc, 50%); background: none; color: var(--msg-white); cursor: pointer; filter: drop-shadow(0 1px 2px var(--msg-black)); }
  .lv-rail-btn[hidden] { display: none; }
  .lv-rail-btn.lv-on { color: var(--msg-accent); }
  .lv-rail-btn.lv-rail-more { height: 44px; filter: none; background: color-mix(in srgb, var(--msg-black) 42%, transparent); border: 1px solid color-mix(in srgb, var(--msg-white) 16%, transparent); }
  /* the wheel rests in the middle of the picture, never on the text box */
  body.lv-phonefill .lv-video.lv-fs .lv-wheel { right: 50%; bottom: auto; top: calc(100px + env(safe-area-inset-top, 0px)); width: 210px; margin-right: -105px; } /* above the wheel's sheet (it covers the lower 64 %) */
  body.lv-phonefill .lv-video.lv-fs .lv-wheel.lv-wheel-open.lv-wheel-active { right: 50%; width: 260px; margin-right: -130px; }
  /* the top: the site's logo under the model's name, "Tap for sound" in the middle under the icons */
  body.lv-phonefill .lv-video.lv-fs > .lv-watermark, body.lv-phonefill .lv-video.lv-fs.lv-ui-on > .lv-watermark { right: auto; left: 12px; bottom: auto; top: calc(64px + env(safe-area-inset-top, 0px)); }
  body.lv-phonefill .lv-video.lv-fs > #lv-sound { right: auto; left: 50%; transform: translateX(-50%); top: calc(64px + env(safe-area-inset-top, 0px)); }
  body.lv-phonefill .lv-video.lv-fs .lv-poster-img { object-fit: cover; } /* offline: the model's picture fills the upright screen too */
  body.lv-phonefill .lv-video.lv-fs .lv-off-in { max-width: 100%; }
  body.lv-phonefill .lv-video.lv-fs .lv-poster-msg { left: 12px; right: 62px; top: auto; bottom: calc(80px + env(safe-area-inset-bottom) + min(40%, 340px)); max-width: none; transform: none; text-align: left; }
  /* the sheets: see-through, sliding up from the bottom, the title in the accent colour, a chevron at the right closes it. Inside, the site's surfaces
     turn see-through and the text light, whatever look the site has (the picture is behind them) */
  body.lv-phonefill .lv-video.lv-fs > .lv-fsheet:not([hidden]), body.lv-phonefill .lv-video.lv-fs .lv-tools.lv-in-fs, body.lv-phonefill .lv-profile {
    --msg-bg: transparent; --msg-surface: color-mix(in srgb, var(--msg-white) 8%, transparent); --msg-surface-2: color-mix(in srgb, var(--msg-white) 14%, transparent); --msg-hover: color-mix(in srgb, var(--msg-white) 16%, transparent);
    --msg-text: var(--msg-white); --msg-muted: color-mix(in srgb, var(--msg-white) 70%, transparent); --msg-border: color-mix(in srgb, var(--msg-white) 16%, transparent);
    color: var(--msg-white); background: color-mix(in srgb, var(--msg-black) 72%, transparent); animation: lv-sheet-up .22s ease; }
  body.lv-phonefill .lv-video.lv-fs > .lv-fsheet:not([hidden]) { display: flex; flex-direction: column; position: absolute; z-index: 40; left: 0; right: 0; bottom: 0; max-height: 64%; padding-bottom: env(safe-area-inset-bottom, 0px); }
  body.lv-phonefill .lv-video.lv-fs > .lv-fsheet.lv-fsheet-full:not([hidden]) { top: 0; max-height: none; padding-top: env(safe-area-inset-top, 0px); background: color-mix(in srgb, var(--msg-black) 88%, transparent); } /* Who is here: the whole screen */
  .lv-fsheet-body .lv-pane[data-pane="viewers"] { background: transparent; padding: 0; }
  body.lv-phonefill .lv-video.lv-fs:has(> .lv-fsheet-full:not([hidden])) > :is(.lv-fs-id, .lv-vctl, .lv-fs-x, .lv-bl, .lv-watermark, #lv-sound) { visibility: hidden; } /* nothing of the room shows through a full-screen panel */
  .lv-fsheet-head { position: relative; display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 56px; flex: none; }
  .lv-fsheet-t { margin: 0; font-size: 19px; font-weight: 600; color: var(--msg-accent); }
  .lv-fsheet-x { position: absolute; right: 6px; top: 5px; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--btn-rc, 50%); background: none; color: var(--msg-white); cursor: pointer; }
  .lv-fsheet-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 0 18px 18px; }
  .lv-fsheet-body .lv-more-menu { position: static; display: block; width: auto; min-width: 0; max-width: none; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: none; }
  .lv-fsheet-body .lv-more-menu[hidden] { display: none; }
  /* the other panels of the room in "sheet mode" (body.lv-sheetmode = this layout, upright): the Private menu, the quality menu, the fan club / ratings /
     booking panels and the small pop-ups all become the same see-through sheet across the bottom */
  body.lv-sheetmode .lv-popmenu, body.lv-sheetmode .lv-qmenu, body.lv-sheetmode .lv-vipbox .lv-vip, body.lv-sheetmode .lv-modal .lv-popup {
    --msg-bg: transparent; --msg-surface: color-mix(in srgb, var(--msg-white) 8%, transparent); --msg-surface-2: color-mix(in srgb, var(--msg-white) 14%, transparent); --msg-hover: color-mix(in srgb, var(--msg-white) 16%, transparent);
    --msg-text: var(--msg-white); --msg-muted: color-mix(in srgb, var(--msg-white) 70%, transparent); --msg-border: color-mix(in srgb, var(--msg-white) 16%, transparent);
    color: var(--msg-white); background: color-mix(in srgb, var(--msg-black) 78%, transparent); -webkit-backdrop-filter: none; backdrop-filter: none; animation: lv-sheet-up .22s ease; }
  body.lv-sheetmode .lv-popmenu, body.lv-sheetmode .lv-qmenu { position: absolute; z-index: 40; left: 0; right: 0; bottom: 0; top: auto; width: auto; min-width: 0; max-height: 64%; overflow-y: auto; margin: 0; padding: 14px 14px calc(14px + env(safe-area-inset-bottom, 0px)); border: 0; border-radius: 0; box-shadow: none; }
  body.lv-sheetmode .lv-modal { align-items: flex-end; padding: 0; background: color-mix(in srgb, var(--msg-black) 25%, transparent); }
  body.lv-sheetmode .lv-modal .lv-popup { width: 100%; max-width: none; max-height: 72%; overflow-y: auto; border: 0; border-radius: 0; padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
  body.lv-sheetmode .lv-modal .lv-popup:has(.lv-boost) { height: 72%; } /* the boosts arrive after the window opens: its height is fixed from the start (it grew from "Loading" to full height = a jump) */
  body.lv-sheetmode .lv-vipbox.lv-vip-open { background: color-mix(in srgb, var(--msg-black) 25%, transparent); }
  body.lv-sheetmode .lv-vipbox .lv-vip { max-height: 72%; border: 0; border-radius: 0; }
  /* the big panels take the whole screen (owner 2026-11-09): the fan club, booking a show, the pictures and videos */
  body.lv-sheetmode .lv-vipbox:not(.lv-ratebox) .lv-vip { height: 100%; max-height: none; background: color-mix(in srgb, var(--msg-black) 90%, transparent); }
  body.lv-sheetmode .lv-vipbox:not(.lv-ratebox) .lv-vip-body { padding-top: calc(64px + env(safe-area-inset-top, 0px)); }
  body.lv-phonefill .lv-profile[data-mode="media"] { inset: 0; background: color-mix(in srgb, var(--msg-black) 90%, transparent); }
  body.lv-phonefill .lv-profile[data-mode="media"] .lv-profile-in { padding-top: calc(60px + env(safe-area-inset-top, 0px)); }
  body.lv-phonefill .lv-profile[data-mode="media"] .lv-profile-x { top: calc(10px + env(safe-area-inset-top, 0px)); }
  /* a visitor's "Join free to chat" line leaves room for the Private button too */
  body.lv-phonefill .lv-video.lv-fs .lv-ov:not(.lv-ov-priv) :is(.lv-chat-join, .lv-chat-note) { margin-right: calc(var(--lv-ctlw, 0px) + 8px); }
  body.lv-phonefill .lv-video.lv-fs .lv-ov .lv-chat-join { min-height: 44px; padding: 0 4px 0 12px; font-size: 14px; white-space: nowrap; gap: 8px; } /* one line beside Private: as tall as the button */
  body.lv-phonefill .lv-video.lv-fs .lv-ov .lv-chat-join .lv-btn { min-height: 36px; padding: 0 12px; }
  body.lv-phonefill .lv-video.lv-fs .lv-ov .lv-chat-join > span { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; } /* a longer sentence (a page translated into Italian) is cut with ... and never pushes Join now under Private (owner 2026-11-11) */
  body.lv-phonefill .lv-video.lv-fs .lv-ov .lv-chat-join .lv-btn { flex: none; }
  /* while ANY of them is open the chat, the bar, the buttons and the offline / show card step aside (they would show through the see-through sheet) */
  body.lv-sheetmode:is(.lv-pf-open, :has(.lv-video.lv-fs > .lv-fsheet:not([hidden]), .lv-video.lv-fs .lv-tools:not([hidden]), .lv-popmenu, .lv-qmenu, .lv-modal, .lv-vipbox.lv-vip-open)) .lv-video.lv-fs :is(.lv-ov, .lv-ctl-ov, .lv-off, .lv-overlay, .lv-quick, .lv-rail, .lv-poster-msg) { visibility: hidden; }
  /* the emoji picker of the chat opens over the bottom: the icon column and the gift buttons step aside */
  body.lv-phonefill .lv-video.lv-fs:has(.msg-ep:not([hidden])) :is(.lv-quick, .lv-rail, .lv-ctl-ov) { visibility: hidden; } /* (the Private button lay over the picker) */
  body.lv-phonefill .lv-video.lv-fs.lv-rail-on :is(.lv-overlay, .lv-off) { visibility: hidden; } /* the open icon column reached over a show's Join button */
  /* the private chat uses the whole width and most of the height: the icon column, the gift buttons and the offline / show card step aside */
  body.lv-phonefill .lv-video.lv-fs.lv-priv-on :is(.lv-quick, .lv-rail, .lv-off, .lv-overlay, .lv-poster-msg) { visibility: hidden; }
  /* the offline card and a show's card ("Open party ... Join") sit high, under the name: the chat lines below never run into them */
  body.lv-phonefill .lv-video.lv-fs .lv-off { align-items: flex-start; justify-content: center; padding: calc(148px + env(safe-area-inset-top, 0px)) 16px 0; }
  body.lv-phonefill .lv-video.lv-fs > .lv-overlay { align-items: flex-start; justify-content: center; padding: calc(148px + env(safe-area-inset-top, 0px)) 16px 0; } /* a show's card: centred */
  /* short messages ("Following ...") under the top row, never over the Tip button */
  body.lv-phonefill .lv-video.lv-fs > .lv-fx { top: calc(64px + env(safe-area-inset-top, 0px)); bottom: auto; z-index: 8; }
  body.lv-sheetmode .lv-tools .lv-spinbtn { position: sticky; bottom: 0; z-index: 2; width: 100%; box-shadow: 0 -12px 18px color-mix(in srgb, var(--msg-black) 70%, transparent); } /* the wheel's Spin button stays in view however long the list of slices */
  /* the profile: the bio sheet slides all the way up, with the model's picture beside the name (phones; computers keep the small panel) */
  body.lv-phonefill .pg-info.is-sheet { top: 0; max-height: none; height: 100%; border-radius: 0; padding-top: env(safe-area-inset-top, 0px); }
  body.lv-phonefill .lv-video.lv-fs .lv-tools .lv-gift-sets { background: color-mix(in srgb, var(--msg-black) 88%, transparent); } /* the gifts scroll under the set tabs: they must not show through */
  /* the tip panel (tip menu, extras, gifts, the wheel's panel) and the top tippers as a sheet */
  body.lv-phonefill .lv-video.lv-fs .lv-tools.lv-in-fs { inset: auto 0 0 0; width: auto; height: min(64%, 620px); border: 0; border-radius: 0; box-shadow: none; padding-bottom: env(safe-area-inset-bottom, 0px); }
  /* the tip panel and everything inside it (tip menu, extras, gifts, reactions, the wheel) and the top tippers: the WHOLE screen (owner 2026-11-09) */
  body.lv-sheetmode .lv-video.lv-fs .lv-tools.lv-in-fs { inset: 0; height: auto; padding-top: env(safe-area-inset-top, 0px); background: color-mix(in srgb, var(--msg-black) 88%, transparent); }
  body.lv-sheetmode .lv-video.lv-fs:has(.lv-tools:not([hidden])) :is(.lv-wheel:not(.lv-wheel-copybox), .lv-fs-id, .lv-vctl, .lv-fs-x, .lv-bl, .lv-watermark, #lv-sound) { visibility: hidden; } /* nothing of the room shows through it */
  body.lv-sheetmode .lv-tools .lv-wheel-hero.is-real { display: flex; justify-content: center; padding: 8px 0 4px; }
  body.lv-sheetmode .lv-tools .lv-wheel-hero.is-real .lv-wheel.lv-wheel-copybox { position: static; inset: auto; transform: none; visibility: visible; opacity: 1; filter: none; width: min(80vw, 330px); margin: 0 auto; pointer-events: none; transition: none; }
  /* the profile and the pictures / videos: a sheet over the lower part of the picture (above the filled window) */
  body.lv-phonefill .lv-profile { z-index: 950; inset: 30% 0 0 0; }
  body.lv-phonefill .lv-profile.lv-open { animation: lv-sheet-up .22s ease; }
  body.lv-phonefill .lv-profile-in { padding-top: 54px; }
  body.lv-phonefill .lv-profile[data-mode="profile"] { background: none; animation: none; inset: 0; } /* (the whole screen: the bio sheet sizes itself, nothing cuts its top) */ /* Profile = only the bio sheet that slides up inside it */
  body.lv-phonefill .lv-profile:not([data-mode="media"]) .lv-profile-x, body.lv-phonefill .lv-profile-x { position: fixed; top: calc(30% + 5px); right: 6px; z-index: 951; background: none; border: 0; color: var(--msg-white); }
}
/* the filled window: the chat's tabs left behind in the page (under the picture) cannot be reached and must not be (both layouts, the room only) */
body.lv-room.lv-phonefill.lv-filled .lv-side .lv-tabs { visibility: hidden; }
/* the filled window, both layouts: the page's own top bar and model bar left behind it cannot be reached (and are not counted as buttons) */
body.lv-room.lv-phonefill.lv-filled :is(.lv-top, .lv-mbar, .lv-join-bar) { visibility: hidden; }
/* a phone held sideways in the filled window: the chat's emoji picker fits under the top of the screen */
@media (pointer: coarse) and (orientation: landscape) and (max-height: 520px) and (min-aspect-ratio: 3/2) { .lv-video.lv-fs .msg-ep:not(.is-sheet) { height: min(400px, calc(100dvh - 110px)); } }
/* the fill layout held sideways: a show's card ("Open party ... Join", "in a private show") stands at the top right, clear of the chat (left) and the bar (bottom right) */
@media (pointer: coarse) and (orientation: landscape) and (max-height: 520px) and (min-aspect-ratio: 3/2) {
  body.lv-phonefill .lv-video.lv-fs > .lv-overlay { align-items: flex-start; justify-content: flex-end; padding: calc(56px + env(safe-area-inset-top, 0px)) 80px 0 48%; }
  body.lv-phonefill .lv-video.lv-fs > .lv-overlay > * { max-width: 100%; }
}
/* the ticket / group show card in the fill layout (owner 2026-11-09: upright it hid the show's words, sideways it was taller than the screen and lay
   under the Tip button). Upright it stands between the name at the top and the chat's space at the bottom; sideways between the top row and the bottom
   row, right of the chat and left of the icon column. The show's words are kept but cut to a few lines, so the buy button is always in view, however
   long the name and the description (80 / 160 characters). The webcam button means nothing to someone without a ticket: it steps aside. */
.lv-tkcard-title, .lv-tkcard-desc { min-width: 0; }
@media (pointer: coarse) and (orientation: portrait) and (max-width: 600px), (pointer: coarse) and (max-width: 600px) and (max-aspect-ratio: 3/2) {
  body.lv-phonefill .lv-video.lv-fs > .lv-overlay:has(.lv-tkcard) { align-items: flex-start; padding: calc(72px + env(safe-area-inset-top, 0px)) 12px calc(min(44dvh, 380px) + 20px + env(safe-area-inset-bottom, 0px)); }
  body.lv-phonefill .lv-video.lv-fs:has(> .lv-overlay:not([hidden]) .lv-tkcard) > .lv-bl { visibility: hidden; }
  body.lv-phonefill .lv-video.lv-fs .lv-tkcard { grid-template-columns: 64px 1fr; grid-template-areas: "av title" "av price" "desc desc" "time time" "msg msg" "acts acts" "watch watch"; padding: 12px 14px; column-gap: 12px; row-gap: 6px; text-align: left; }
  body.lv-phonefill .lv-video.lv-fs .lv-tkcard :is(.lv-tkcard-time, .lv-tkcard-watch):not([hidden], :empty) { display: block; }
  body.lv-phonefill .lv-video.lv-fs .lv-tkcard .lv-tkcard-desc:not([hidden], :empty) { display: -webkit-box; }
  body.lv-phonefill .lv-video.lv-fs .lv-tkcard-av { width: 64px; height: 64px; font-size: 26px; }
  body.lv-phonefill .lv-video.lv-fs .lv-tkcard-title { font-size: 17px; line-height: 1.25; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  body.lv-phonefill .lv-video.lv-fs .lv-tkcard-pn { font-size: 26px; }
  body.lv-phonefill .lv-video.lv-fs .lv-tkcard-desc { font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
  body.lv-phonefill .lv-video.lv-fs .lv-tkcard-time { justify-self: start; font-size: 13px; padding: 2px 10px; }
  body.lv-phonefill .lv-video.lv-fs .lv-tkcard-watch { font-size: 13px; }
  body.lv-phonefill .lv-video.lv-fs .lv-tkcard-acts .lv-btn { min-height: 46px; font-size: 16px; }
}
/* short phones upright (an iPhone SE): two lines of the description, no "N people are watching" */
@media (pointer: coarse) and (orientation: portrait) and (max-width: 600px) and (max-height: 720px), (pointer: coarse) and (max-width: 600px) and (max-height: 720px) and (max-aspect-ratio: 3/2) {
  body.lv-phonefill .lv-video.lv-fs .lv-tkcard-desc { -webkit-line-clamp: 2; }
  body.lv-phonefill .lv-video.lv-fs .lv-tkcard .lv-tkcard-watch:not([hidden], :empty) { display: none; }
}
@media (pointer: coarse) and (orientation: landscape) and (max-height: 520px) and (min-aspect-ratio: 3/2) {
  body.lv-phonefill .lv-video.lv-fs > .lv-overlay:has(.lv-tkcard) { align-items: flex-start; justify-content: flex-end; padding: calc(10px + env(safe-area-inset-top, 0px)) 76px calc(76px + env(safe-area-inset-bottom, 0px)) 46%; }
  body.lv-phonefill .lv-video.lv-fs:has(> .lv-overlay:not([hidden]) .lv-tkcard) > .lv-bl { visibility: hidden; }
  body.lv-phonefill .lv-video.lv-fs .lv-tkcard { grid-template-columns: 52px 1fr; grid-template-areas: "av title" "av price" "desc desc" "time time" "msg msg" "acts acts"; padding: 10px 12px; column-gap: 10px; row-gap: 4px; text-align: left; }
  body.lv-phonefill .lv-video.lv-fs .lv-tkcard .lv-tkcard-time:not([hidden], :empty) { display: block; }
  body.lv-phonefill .lv-video.lv-fs .lv-tkcard .lv-tkcard-desc:not([hidden], :empty) { display: -webkit-box; }
  body.lv-phonefill .lv-video.lv-fs .lv-tkcard-av { width: 52px; height: 52px; font-size: 22px; }
  body.lv-phonefill .lv-video.lv-fs .lv-tkcard-tag { font-size: 9px; padding: 1px 6px; bottom: -7px; }
  body.lv-phonefill .lv-video.lv-fs .lv-tkcard-title { font-size: 16px; line-height: 1.25; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden; }
  body.lv-phonefill .lv-video.lv-fs .lv-tkcard-pn { font-size: 22px; }
  body.lv-phonefill .lv-video.lv-fs .lv-tkcard-pl { font-size: 14px; }
  body.lv-phonefill .lv-video.lv-fs .lv-tkcard-desc { font-size: 13px; line-height: 1.35; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  body.lv-phonefill .lv-video.lv-fs .lv-tkcard-time { justify-self: start; font-size: 12px; padding: 1px 8px; }
  body.lv-phonefill .lv-video.lv-fs .lv-tkcard-msg { font-size: 14px; margin-top: 0; }
  body.lv-phonefill .lv-video.lv-fs .lv-tkcard-acts { margin-top: 2px; }
  body.lv-phonefill .lv-video.lv-fs .lv-tkcard-acts .lv-btn { min-height: 44px; font-size: 15px; padding: 0 8px; }
}
/* the private chat's own header (shown only by the fill layout upright, see above) */
.lv-privhead { display: none; flex: none; align-items: center; gap: 10px; min-height: 52px; padding: 0 0 0 4px; color: var(--msg-white); border-bottom: 1px solid color-mix(in srgb, var(--msg-white) 12%, transparent); }
.lv-privhead strong { flex: 1 1 auto; min-width: 0; font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lv-privhead-x { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--btn-rc, 50%); background: transparent; color: var(--msg-white); cursor: pointer; }
/* the room's small windows (Boost, confirmations ...): never taller than the screen (their own content scrolls), and on touch screens an X at the top right */
.lv-modal .lv-popup { max-height: calc(100dvh - 32px); overflow-y: auto; }
.lv-popup-x { display: none; }
@media (pointer: coarse) {
  .lv-popup-x { display: inline-flex; align-items: center; justify-content: center; position: sticky; top: 0; float: right; z-index: 2; width: 40px; height: 40px; margin: -10px -10px 0 8px; padding: 0; border: 0; border-radius: var(--btn-rc, 50%); background: var(--msg-surface-2); color: var(--msg-text); cursor: pointer; }
}
/* the fill layout held sideways: the picture is always the whole room, so there is no "exit full screen" (it led to a squeezed page; the X leaves the room);
   the tip / gift / reaction panel stays under the top icons; "Tap for sound" under them too */
@media (pointer: coarse) and (orientation: landscape) and (max-height: 520px) and (min-aspect-ratio: 3/2) {
  body.lv-phonefill .lv-video.lv-fs #lv-full { display: none; }
  body.lv-phonefill .lv-video.lv-fs .lv-tools.lv-in-fs { top: calc(58px + env(safe-area-inset-top, 0px)); bottom: calc(10px + env(safe-area-inset-bottom, 0px)); height: auto; }
  body.lv-phonefill .lv-video.lv-fs > #lv-sound { top: calc(58px + env(safe-area-inset-top, 0px)); }
  body.lv-phonefill .lv-video.lv-fs:has(.lv-tools:not([hidden]), .msg-ep:not([hidden]), .lv-popmenu, .lv-qmenu) > #lv-sound { visibility: hidden; } /* never over an open panel */
}
/* the model's private line to staff: greyed out while nobody of the site team is in the room (Studio, chat.js setStaffHere) */
.lv-whisper-btn:disabled { opacity: .35; cursor: not-allowed; }
/* the Studio's big tip banner (computers only; studio-tipbanner.js): readable from across a room */
.lv-tipban { display: none; }
@media (min-width: 900px) and (hover: hover) {
  body.lv-studio .lv-main { grid-template-areas: "stage side" "goal side" "tipban side"; grid-template-rows: auto auto 1fr; } /* its own row under the goal bar */
  body.lv-studio .lv-tipban:not([hidden]) { grid-area: tipban; align-self: start; display: flex; flex: 0 0 auto; height: auto; align-items: center; gap: 16px; margin: 8px 0 0; padding: 8px 18px; border-radius: 16px; border-left: 6px solid var(--msg-accent); background: var(--msg-surface); color: var(--msg-text); box-shadow: 0 8px 24px var(--msg-scrim); }
  body.lv-studio .lv-tipban.is-in { animation: lv-tipban-in .35s ease both; }
  body.lv-studio .lv-tipban.is-out { animation: lv-tipban-out .4s ease both; }
  .lv-tipban-pic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; font-size: 40px; color: var(--msg-gold); }
  .lv-tipban-pic img { width: 52px; height: 52px; object-fit: contain; }
  .lv-tipban-pic svg { width: 44px; height: 44px; }
  .lv-tipban-tx { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
  .lv-tipban-name { font-size: clamp(26px, 2.6vw, 38px); font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .lv-tipban-what { font-size: clamp(18px, 1.7vw, 24px); color: var(--msg-muted); }
  .lv-tipban-amt { color: var(--msg-accent); font-weight: 800; }
}
@keyframes lv-tipban-in { from { opacity: 0; transform: translateY(-12px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes lv-tipban-out { from { opacity: 1; } to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { body.lv-studio .lv-tipban.is-in, body.lv-studio .lv-tipban.is-out { animation: none; } }
/* the gift window: a tap chooses a gift (outlined), the Send button in the bottom bar sends it (like the other tips) */
/* the fill layout upright: nothing of the room's top row shows through a full-screen panel (fan club, booking, a plugin's panel such as the shop) */
@media (pointer: coarse) and (orientation: portrait) and (max-width: 600px), (pointer: coarse) and (max-width: 600px) and (max-aspect-ratio: 3/2) {
  body.lv-sheetmode:has(.lv-vipbox.lv-vip-open:not(.lv-ratebox)) .lv-video.lv-fs > :is(.lv-fs-id, .lv-vctl, .lv-fs-x, .lv-bl, .lv-watermark, #lv-sound) { visibility: hidden; }
}

.lv-giftlist { max-height: 340px; overflow-y: auto; }
.lv-giftset { margin: 10px 0 6px; font-size: 13px; font-weight: 700; color: var(--msg-muted); }
/* the #lvdebug diagnostic panel (room.js): readable over any picture, never in the way of a tap */
.lv-debug { position: fixed; left: 4px; right: 4px; top: 30%; z-index: 2147483000; margin: 0; padding: 6px 8px; max-height: 45vh; overflow: auto; background: color-mix(in srgb, var(--msg-black) 82%, transparent); color: var(--msg-white); font: 11px/1.35 monospace; white-space: pre-wrap; word-break: break-all; pointer-events: none; border-radius: 8px; }
}
