/* 2026-10 trial refinements. Existing satin and gold palette is preserved. */
.theme-satin .top .brand-logo{display:none!important}.top{flex-wrap:wrap;gap:10px!important}.top .nav,.top .actions{min-width:0;flex-wrap:wrap}.model,.shop-card,.panel,.chat-main,.chat-side,.conversation,.inbox-clients{min-width:0}.model .portrait{height:auto!important;min-height:180px;aspect-ratio:16/9;background:#1c1119}.portrait .portrait-photo{position:relative!important;inset:auto!important;display:block;width:100%!important;height:auto!important;min-height:0!important;max-height:560px;object-fit:contain!important;transform:none!important;clip-path:none!important}.portrait:has(.portrait-photo){aspect-ratio:auto}.portrait-photo{background:#1c1119}.portrait-label{max-width:90%;overflow:hidden;text-overflow:ellipsis}.preview-wrap video,#freeVideo,#remoteVideo,#modelPvtRemoteVideo,#localVideo,#modelSelfPip,#selfTestVideo{object-fit:contain!important;transform:none!important}.preview-wrap{aspect-ratio:auto!important;min-height:180px!important;background:#08060b}.preview-wrap video{height:auto!important;max-height:650px;display:block}.side-video{background:#08060b}.messages,.room-chat,.conversation-messages,.luna-column-messages{font-size:var(--chat-font,17px)!important}.messages p,.conversation-messages p,.room-chat p{font-size:inherit!important}.luna-font-controls,.luna-camera-controls,.luna-speech,.luna-favorites{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0}.luna-font-controls button,.luna-camera-controls button,.luna-speech button,.luna-eye,.luna-stats summary{color:var(--gold,#e9c780);background:#28151f;border:1px solid #897040;border-radius:14px;padding:9px 12px;cursor:pointer}.luna-eye{margin:6px 0;width:fit-content}.luna-stats{margin:12px 0;white-space:pre-line}.luna-stats p{font-size:13px;overflow-wrap:anywhere}.luna-settings{padding-top:16px}.watermark-settings{margin-top:20px;display:grid;gap:12px;border-color:#887040}.watermark-settings label{display:grid;gap:4px}.wm-sample{position:relative;height:190px;background:linear-gradient(120deg,#5d3645,#201423);border-radius:14px;overflow:hidden}.wm-mark{position:absolute;white-space:pre-line;color:#fff;line-height:1.2}.luna-summary{padding:16px;background:#3d2030;border:1px solid #aa8b50;border-radius:16px;margin-bottom:20px;font-weight:bold}.luna-session-tabs{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}.luna-session{border:1px solid #8d7443;border-radius:12px;padding:5px;display:flex;flex-wrap:wrap;gap:5px}.luna-chat-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:15px}.luna-private-column{padding:12px;border:2px solid #a98b55;border-radius:16px;min-width:0;background:#25121d}.luna-private-column h3{overflow-wrap:anywhere}.luna-column-messages{height:360px;overflow:auto}.luna-column-message{border-radius:12px;padding:8px;margin-bottom:8px;background:#492736}.luna-column-message.model{background:#282337}.luna-column-message img{max-width:100%}.luna-private-column textarea,.luna-private-column input{width:100%;max-width:100%}.luna-digital-form{padding:24px 0;border-top:1px solid #a98b55}.luna-dialog{width:min(900px,95vw);max-height:92dvh;overflow:auto}.luna-dialog .dialog-card{width:100%;max-width:none;box-sizing:border-box}.product-preview,.purchase img,.purchase video{display:block;width:100%;max-height:75dvh;object-fit:contain;margin:12px 0}.purchase{border-top:1px solid #a98b55;margin:18px 0;padding-top:12px}.shop-card.digital-product video{max-width:100%;width:100%;max-height:220px}.shop-card p{overflow-wrap:anywhere}.shop-card button{max-width:100%;white-space:normal}.digital-meta{grid-column:1/-1}.purchases-link{margin-bottom:18px}.shopProducts{width:100%}.dialog{max-width:calc(100vw - 20px)}.compose input,.reply-form input{min-width:0!important}.compose{flex-wrap:wrap}.compose input{flex:1 1 160px!important}.reply-target{font-weight:bold;border-left:3px solid #d8b46b;padding-left:10px}meter{width:180px;vertical-align:middle}.luna-private-column .luna-font-controls{font-size:13px}
@media(max-width:900px){.top{width:100%;position:sticky}.studio-wrap,.studio-grid,.inbox-layout,.room-grid{grid-template-columns:1fr!important}.inbox-panel{grid-column:1/-1}.luna-chat-columns{grid-template-columns:1fr}.inbox-list{max-height:260px;overflow:auto}.form-grid{grid-template-columns:1fr!important}.shop-grid,#shopProducts{display:grid!important;grid-template-columns:1fr!important;width:100%;gap:18px}.shop-card{width:100%!important;max-width:none!important;grid-template-columns:140px minmax(0,1fr)!important;box-sizing:border-box}.shop-card>div{min-width:0}.shop-card .btn{width:100%;box-sizing:border-box}.theme-satin .top .actions{gap:6px}.dialog .chat-layout{grid-template-columns:1fr!important}.chat-side{max-height:none!important}.side-video{max-height:65dvh}.photo-crop-row{grid-template-columns:1fr!important}.luna-stats{max-width:100%}.studio-shop-product{grid-template-columns:100px minmax(0,1fr)!important}.studio-shop-product img{width:100%!important}.room-dialog .room{padding:10px}.room header{flex-wrap:wrap;gap:8px}}
@media(max-width:500px){.shop-card{grid-template-columns:1fr!important;display:grid!important;padding:18px!important}.shop-card>img,.shop-card .shop-thumb{width:100%!important;height:auto!important;max-height:300px;object-fit:contain!important}.shop-card>*{min-width:0;max-width:100%;width:auto}.shop-card h3{font-size:28px!important}.top{padding:10px!important}.top .btn{font-size:14px;padding:8px 12px}h1{font-size:clamp(34px,10vw,52px)!important}.studio-wrap{padding:12px!important}.panel{padding:15px!important}.reply-form{flex-wrap:wrap}.reply-form input{flex:1 1 150px}.chat-main{padding:0!important}.messages{min-height:240px}.model .portrait{min-height:0}.portrait .portrait-photo{max-height:none}.luna-session{width:100%}.room header b{font-size:13px}}

.studio-shop-product{display:grid!important;grid-template-columns:100px minmax(0,1fr)!important}.studio-shop-product>img{width:100%!important;height:82px!important}.studio-shop-product-copy .button-row{flex-wrap:wrap}.next-shop-card{display:grid!important;grid-template-columns:145px minmax(0,1fr);gap:18px}.next-shop-card>img{width:100%;height:160px;object-fit:cover;border-radius:12px}.next-shop-card .shop-card-copy{min-width:0}.next-shop-card video{width:100%;max-height:240px}.next-shop-card strong{font-size:23px;display:block}.top-right{flex-wrap:wrap;min-width:0}.top{height:auto!important;min-height:64px}.luna-summary{grid-column:1/-1}.luna-stats p{max-width:100%}.luna-camera-controls button{max-width:100%;white-space:normal}.luna-settings select{max-width:100%}.studio-pvt-messages{font-size:var(--chat-font,17px)!important}
@media(max-width:500px){.next-shop-card{grid-template-columns:1fr!important}.next-shop-card>img{height:auto;max-height:300px;object-fit:contain}.camera-picker{flex-wrap:wrap}.camera-picker select{max-width:100%;min-width:0;width:100%}.studio-header{height:auto;min-height:59px;flex-wrap:wrap;gap:8px;padding-block:8px}.studio-header>div{flex-wrap:wrap}.inbox-layout{grid-template-rows:auto minmax(260px,1fr)!important}.inbox-list{grid-template-columns:1fr!important}}
.messages .message,.conversation-messages .message,.room-chat .message,.studio-pvt-messages .message{font-size:inherit!important}.messages .message>div,.conversation-messages .message>div,.room-chat .message>div{font-size:inherit!important}.messages .message small,.conversation-messages .message small{font-size:.7em}

@media(max-width:900px){.studio-pvt-grid{grid-template-columns:1fr!important}.studio-pvt-dialog{width:calc(100vw - 16px)!important;max-height:96dvh}.studio-pvt-head{flex-wrap:wrap;gap:8px}.studio-pvt-chat{min-width:0}.studio-pvt-compose{flex-wrap:wrap}.studio-pvt-compose input{min-width:0;flex:1 1 130px}.luna-private-column .luna-font-controls{flex-wrap:wrap}}

/* Compact public shop cards match Studio proportions. */
#shopProducts{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px;width:100%;align-items:stretch}
#shopProducts .next-shop-card{display:grid!important;grid-template-columns:110px minmax(0,1fr)!important;align-items:start;gap:16px;width:100%!important;max-width:none!important;padding:16px!important;box-sizing:border-box}
#shopProducts .next-shop-card>img{display:block;width:110px!important;height:100px!important;max-height:none;aspect-ratio:auto;object-fit:cover;border-radius:12px}
#shopProducts .shop-card-copy{min-width:0;width:100%;box-sizing:border-box;padding:0;gap:8px}
#shopProducts .shop-card-copy h3{font-size:23px!important;line-height:1.2;overflow-wrap:anywhere}
#shopProducts .shop-card-copy p{font-size:15px!important;line-height:1.5;min-height:0;overflow-wrap:anywhere}
#shopProducts .shop-card-copy strong{font-size:21px;white-space:nowrap}
#shopProducts .shop-card-copy small{font-size:13px}
#shopProducts .shop-card-copy .btn{margin-top:6px;box-sizing:border-box}
@media(max-width:1250px){#shopProducts{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:850px){#shopProducts{grid-template-columns:1fr!important}}
@media(max-width:400px){#shopProducts .next-shop-card{grid-template-columns:85px minmax(0,1fr)!important;padding:12px!important;gap:12px}#shopProducts .next-shop-card>img{width:85px!important;height:85px!important}#shopProducts .shop-card-copy h3{font-size:21px!important}}

/* Compact, matching credit counters in the client and Studio video frames. */
#roomDialog .pvt-credit-panel,#studioPvtDialog .pvt-credit-panel{position:absolute;z-index:7;left:12px;display:flex;flex-direction:column;gap:2px;width:fit-content;max-width:calc(100% - 24px);padding:6px 10px;border:1px solid #e05260;border-radius:9px;background:#210d19e8;box-shadow:0 2px 10px #0005;pointer-events:none}
#roomDialog .pvt-credit-panel{top:48px}#studioPvtDialog .pvt-credit-panel{top:12px}
#roomDialog .pvt-credit-panel[hidden],#studioPvtDialog .pvt-credit-panel[hidden]{display:none!important}
#roomDialog .pvt-credit-panel span,#studioPvtDialog .pvt-credit-panel span{color:#f1d6d6;font-size:11px!important;line-height:1.3;font-weight:700}
#roomDialog .pvt-credit-panel strong,#studioPvtDialog .pvt-credit-panel strong{color:#ff4b55!important;font-family:Georgia,serif;font-size:22px!important;line-height:1.15;font-weight:700!important;font-variant-numeric:tabular-nums;white-space:nowrap}
#roomDialog .pvt-credit-panel small,#studioPvtDialog .pvt-credit-panel small{color:#ebc995;font-size:11px!important;line-height:1.3}
@media(max-width:620px){#roomDialog .pvt-credit-panel{top:40px}#roomDialog .pvt-credit-panel,#studioPvtDialog .pvt-credit-panel{left:8px;padding:5px 8px}#roomDialog .pvt-credit-panel strong,#studioPvtDialog .pvt-credit-panel strong{font-size:20px!important}}

/* Fullscreen fills the screen; preserve proportions by cropping excess edges. */
.preview-wrap:fullscreen,.side-video:fullscreen,#pvtRemote:fullscreen,#studioPvtVideoFrame:fullscreen{
 width:100vw!important;height:100vh!important;max-width:none!important;max-height:none!important;min-height:0!important;aspect-ratio:auto!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;overflow:hidden!important;
}
.preview-wrap:fullscreen #modelPreview,.side-video:fullscreen #freeVideo,#pvtRemote:fullscreen #remoteVideo,#studioPvtVideoFrame:fullscreen #modelPvtRemoteVideo{
 position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;min-height:0!important;object-fit:cover!important;
}
.live-wm-mark{font-family:Georgia,serif;font-size:18px;font-weight:bold;color:#fff0ce;text-shadow:0 1px 3px #180912,1px 0 2px #180912;line-height:1.35;pointer-events:none}
.live-watermark-settings p{margin:0;line-height:1.5}.live-watermark-settings select{width:100%}.live-watermark-settings output{font-size:13px;color:#e9c780}

/* Reserve usable space for PVT messages, even on shorter screens. */
#roomDialog .room-grid aside{min-height:0;min-width:0;display:flex;flex-direction:column;gap:6px;padding:12px;overflow:hidden}
#roomDialog aside>h3{margin:0;flex:0 0 auto;font-size:19px}
#roomDialog aside>.luna-font-controls{flex:0 0 auto;margin:0;gap:5px}
#roomDialog .luna-font-controls button{padding:5px 9px;font-size:12px}
#roomDialog .room-chat{flex:1 1 auto;min-height:100px;padding:8px;background:#140f1a;border:1px solid #ffffff18;border-radius:10px}
#roomDialog aside>.luna-speech{flex:0 0 auto;margin:0;gap:5px}
#roomDialog aside>.luna-speech button{padding:5px 9px;font-size:12px}
#roomDialog aside>.luna-speech select{max-width:100%;font-size:12px}
#roomDialog #roomMessageForm{flex:0 0 auto;margin:0;min-width:0}
#roomDialog #roomMessageText{min-width:0;padding:9px;font-size:15px}
#roomDialog aside>.pvt-quality{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:6px;margin:0;padding:4px 0;font-size:11px}
#roomDialog aside>.pvt-quality select{min-width:0;max-width:62%;font-size:11px;padding:5px}
#roomDialog .pvt-settings{flex:0 1 auto;min-height:30px;max-height:34%;overflow:auto;border:1px solid #897040;border-radius:10px;background:#28151f}
#roomDialog .pvt-settings>summary{position:sticky;top:0;z-index:1;background:#28151f;color:#e9c780;padding:5px 9px;font-size:12px;cursor:pointer}
#roomDialog .pvt-settings-body{padding:5px 9px}
#roomDialog .pvt-settings-body .luna-camera-controls{margin:6px 0}
#roomDialog .pvt-settings-body .luna-camera-controls button{padding:6px 9px;font-size:12px}
#roomDialog .pvt-settings-body .luna-stats{margin:6px 0}
@media(max-width:900px){
 #roomDialog .room-grid{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,32fr) minmax(0,68fr)!important;gap:7px;padding:7px}
 #roomDialog .remote{height:100%;max-height:100%;aspect-ratio:auto;align-self:stretch}
 #roomDialog .room-grid aside{padding:7px;gap:4px}
 #roomDialog aside>h3{font-size:16px}
 #roomDialog .room-chat{min-height:90px;padding:6px}
}

/* Studio PVT uses pvt-message bubbles; inherit the A− / A+ chat size. */
#studioPvtMessages .pvt-message,#studioPvtMessages .pvt-message>div{font-size:inherit!important}

/* Shared compact red counters for paid text chats. */
.paid-live-billing{min-width:0;color:#f8e3e3!important}
.paid-live-billing .billing-caption{display:block;font-size:10px!important;line-height:1.3;color:#ead4d4!important;margin-bottom:4px}
.paid-live-billing .billing-metrics{display:flex;flex-wrap:wrap;gap:7px 14px;padding:6px 9px;border:1px solid #e05260;border-radius:9px;background:#210d19e8;width:fit-content;max-width:100%}
.paid-live-billing .billing-cell{display:flex;flex-direction:column;gap:2px;min-width:0}
.paid-live-billing .billing-cell>span{font-size:10px!important;line-height:1.25;color:#f1d6d6!important;font-weight:700}
.paid-live-billing .billing-cell>strong{font-family:Georgia,serif;font-size:20px!important;line-height:1.2;font-weight:700!important;color:#ff4b55!important;font-variant-numeric:tabular-nums;white-space:nowrap}
.paid-live-billing .billing-spent>strong{font-size:15px!important}
.billing-compact .billing-caption,.billing-compact .billing-spent{display:none}
.billing-compact .billing-cell>strong{font-size:17px!important}
.billing-compact .billing-metrics{gap:6px 10px;padding:5px 7px;margin:5px 0}
#paidChatStatus.paid-live-billing{flex-basis:100%}
#chatDialog .paid-chat-panel:has(.paid-live-billing){padding:6px 10px;gap:5px}
#conversationHead>.paid-live-billing{margin-top:6px}
.luna-session>.paid-live-billing{flex:1 1 auto}
#studioPvtTimer{position:absolute;z-index:7;left:12px;top:12px;font-size:11px;line-height:1.3;padding:7px 10px;border-radius:999px;background:#120f1acc;color:#dfc18a;font-variant-numeric:tabular-nums}
#studioPvtTimer[hidden]{display:none!important}
#studioPvtDialog .pvt-credit-panel{top:48px}
/* Requests retain their colour while a slow glow draws attention. */
#incomingPvtAlert{--request-glow:#ff455566;border-color:#f05260;background:linear-gradient(100deg,#521922,#251321 80%)}
#incomingPaidChatAlert{--request-glow:#3bdf8666;border-color:#39cc7d;background:linear-gradient(100deg,#153e2a,#17291f 80%)}
#incomingPvtAlert .incoming-pvt-copy strong{color:#ff7a85}
#incomingPaidChatAlert .incoming-pvt-copy strong{color:#79eda6}
#incomingPvtAlert .btn.primary{background:#ffafb8;color:#34121b}
#incomingPaidChatAlert .btn.primary{background:#9beabb;color:#12311e}
#incomingPvtAlert:not([hidden]),#incomingPaidChatAlert:not([hidden]){animation:luna-request-pulse 2s ease-in-out infinite}
@keyframes luna-request-pulse{0%,100%{box-shadow:0 8px 22px #0007,0 0 0 0 var(--request-glow)}50%{box-shadow:0 8px 22px #0007,0 0 0 5px var(--request-glow),0 0 22px var(--request-glow)}}
@media(prefers-reduced-motion:reduce){#incomingPvtAlert,#incomingPaidChatAlert{animation:none!important}}
@media(max-width:620px){#studioPvtTimer{left:8px;top:8px;padding:5px 8px}#studioPvtDialog .pvt-credit-panel{top:40px}.paid-live-billing .billing-metrics{gap:5px 12px;padding:5px 7px}.paid-live-billing .billing-cell>strong{font-size:18px!important}#chatDialog .paid-chat-panel:has(.paid-live-billing){padding:5px 8px}}
@media(max-width:620px){
 /* In a paid text chat, give messages more height than the idle video preview. */
 #chatDialog:has(#paidChatStatus.paid-live-billing) .chat-shell{grid-template-rows:minmax(0,20fr) minmax(0,80fr)}
}

.chat-photo-expandable{cursor:zoom-in}.chat-photo-expandable:focus-visible{outline:2px solid #e9c780;outline-offset:3px}
#lunaChatPhotoDialog{width:min(1100px,96vw);max-width:96vw;max-height:96dvh;overflow:auto;background:#140c15;border:1px solid #c99b5a77}
.chat-photo-view{display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px}
.chat-photo-close{align-self:flex-end}
#lunaChatPhotoDialog .chat-photo-full{display:block;max-width:100%;width:auto;max-height:calc(96dvh - 110px);height:auto;object-fit:contain}
#lunaChatPhotoDialog .chat-photo-full[hidden]{display:none}
.chat-photo-caption{margin:0;color:#e9d4cf;font-size:12px}
.chat-photo-draft{display:flex;align-items:center;gap:10px;flex:0 0 auto;padding:7px 10px;margin:0;background:#201825;border:1px solid #b99a65;border-radius:9px;color:#fff2df;min-width:0}
.chat-photo-draft[hidden]{display:none!important}
.chat-photo-draft>img{width:70px;height:54px;object-fit:contain;border-radius:6px;flex:0 0 auto;background:#0e0b12}
.chat-photo-draft>img[hidden]{display:none}
.chat-photo-info{min-width:0;flex:1}.chat-photo-info>strong{display:block;font-size:12px;color:#94e0b4}.chat-photo-filename{display:block;font-size:11px;overflow-wrap:anywhere;color:#decfd9}
.chat-photo-draft-tools{display:flex;gap:5px;flex-wrap:wrap}.chat-photo-draft-tools .btn{font-size:11px;padding:5px 8px}
/* Studio messages have their own height; counters and attachments cannot compress them. */
.inbox-panel .conversation{height:auto;min-height:0}
.inbox-panel .conversation-messages{flex:0 0 auto;height:clamp(320px,48dvh,520px);min-height:320px}
.inbox-panel .conversation>.luna-font-controls{flex:0 0 auto;gap:6px;margin:6px 9px}
.inbox-panel .conversation>.luna-font-controls button{padding:6px 10px;font-size:12px}
.inbox-panel .conversation>.luna-speech{flex:0 0 auto;align-items:center;gap:6px;margin:6px 9px}
.inbox-panel .conversation>.luna-speech button{padding:6px 10px;font-size:12px}
.inbox-panel .conversation>.luna-speech select{width:auto;max-width:150px;padding:6px 9px;font-size:12px}
@media(max-width:620px){.chat-photo-draft{flex-wrap:wrap;gap:6px}.chat-photo-draft-tools{margin-left:auto}.inbox-panel .conversation-messages{height:clamp(260px,45dvh,440px);min-height:260px}}
/* Paid text chat uses the full client dialog; free chat retains its live preview. */
#chatDialog:has(#paidChatStatus.paid-live-billing) .chat-shell{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important}
#chatDialog:has(#paidChatStatus.paid-live-billing) .chat-side{display:none!important}
#chatDialog:has(#paidChatStatus.paid-live-billing) .chat-main{width:100%;height:100%;min-height:0}
#chatDialog:has(#paidChatStatus.paid-live-billing) .paid-chat-panel{align-items:center}
#chatDialog:has(#paidChatStatus.paid-live-billing) #paidChatStatus{flex:1 1 auto}
#chatDialog:has(#paidChatStatus.paid-live-billing) .chat-main>.luna-font-controls{margin:5px 8px;gap:5px;flex:0 0 auto}
#chatDialog:has(#paidChatStatus.paid-live-billing) .luna-font-controls button{padding:6px 9px;font-size:12px}
#chatDialog:has(#paidChatStatus.paid-live-billing) .chat-main>.luna-speech{margin:5px 8px;gap:5px;flex:0 0 auto}
#chatDialog:has(#paidChatStatus.paid-live-billing) .luna-speech button{padding:6px 9px;font-size:12px}
#chatDialog:has(#paidChatStatus.paid-live-billing) .compose{flex-wrap:nowrap;padding:8px;gap:5px}
#chatDialog:has(#paidChatStatus.paid-live-billing) .compose input{flex:1 1 0!important;min-width:0!important}
#chatDialog:has(#paidChatStatus.paid-live-billing) .compose .btn{padding:8px 10px;font-size:12px}

/* Local camera snapshots: neither video nor microphone is sent from this dialog. */
#lunaChatCameraDialog{width:min(760px,96vw);max-width:96vw;max-height:94dvh;overflow:auto;background:#140c15;border:1px solid #c99b5a77}
.chat-camera-wrap{padding:14px;display:flex;flex-direction:column;gap:10px;min-width:0}
.chat-camera-close{align-self:flex-end}.chat-camera-wrap h2{margin:0;font-size:21px}
.chat-camera-wrap video,.chat-camera-wrap img{display:block;width:100%;height:auto;max-height:55dvh;object-fit:contain;background:#08060b;border-radius:9px}
.chat-camera-wrap [hidden]{display:none!important}.chat-camera-status{margin:0;font-size:13px;overflow-wrap:anywhere}
.chat-camera-tools{display:flex;flex-wrap:wrap;gap:8px}.chat-camera-tools .btn{min-height:40px}.chat-camera-wrap select{max-width:100%}
#paidPhotoInput,#replyPhotoInput{display:none!important}.chat-camera-button{flex:0 0 auto}
@media(max-width:620px){.chat-camera-wrap{padding:10px}.chat-camera-wrap h2{font-size:18px}#chatDialog:has(#paidChatStatus.paid-live-billing) .compose .btn{padding:8px}.chat-photo-draft:has(img:not([hidden])){padding:5px 8px}.chat-photo-draft>img{width:56px;height:42px}}
@media(max-width:620px){#paidPhotoPreview{flex-wrap:nowrap;gap:6px}#paidPhotoPreview .chat-photo-filename{display:none}#paidPhotoPreview .chat-photo-info>strong{font-size:11px}#paidPhotoPreview .chat-photo-draft-tools{flex-wrap:nowrap;margin-left:0;flex:0 0 auto;gap:3px}#paidPhotoPreview .chat-photo-draft-tools .btn{font-size:10px;padding:5px 6px}}

/* 2026-10-16 complete fixes: smooth Studio scrolling, media state, shop galleries/reviews. */
.inbox-panel .conversation-messages,.luna-column-messages,.studio-pvt-messages{overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior-y:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;scroll-behavior:auto;contain:layout paint}
.inbox-panel,.conversation,.luna-private-column{overscroll-behavior:contain}
.preview-controls .media-active{background:#159a55!important;border-color:#46da86!important;color:#fff!important;box-shadow:0 0 0 2px #46da8633}
.shop-product-preview{display:flex!important;flex-wrap:wrap;gap:8px;align-items:flex-start}
.shop-product-thumb{position:relative;width:92px;height:92px;border-radius:10px;overflow:hidden;border:1px solid #ffffff22;background:#0c0910}
.shop-product-thumb img{width:100%;height:100%;object-fit:cover}
.shop-product-thumb button{position:absolute;right:3px;top:3px;width:25px;height:25px;padding:0;border:0;border-radius:999px;background:#160b10dd;color:#fff;font-size:18px;line-height:25px}
.shop-media{min-width:0}.shop-media>.shop-photo-button{display:block;width:100%;padding:0;border:0;background:transparent}.shop-media>.shop-photo-button>img{display:block;width:100%;height:160px;object-fit:cover;border-radius:12px}
.shop-thumbs{display:flex;gap:5px;overflow-x:auto;padding-top:6px;scrollbar-width:thin}.shop-thumb{flex:0 0 45px;width:45px;height:45px;padding:1px;border:1px solid #ffffff24;border-radius:7px;background:#120c13}.shop-thumb.active{border-color:#e5c27d;box-shadow:0 0 0 1px #e5c27d}.shop-thumb img{width:100%;height:100%;object-fit:cover;border-radius:5px}
.shop-social-proof{font-size:12px!important;color:#e5c27d!important;margin:2px 0!important}.shop-reviews{margin-top:8px;border-top:1px solid #ffffff18;padding-top:7px}.shop-reviews summary{cursor:pointer;color:#ead7ad;font-size:12px}.shop-review-list{display:grid;gap:7px;margin-top:7px}.shop-review{padding:7px 8px;border-radius:8px;background:#ffffff08}.shop-review b{font-size:11px;color:#efcf83}.shop-review p{font-size:12px!important;margin:3px 0 0!important}.review-button{font-size:11px!important;padding:7px 9px!important}
@media(max-width:620px){.preview-controls .media-active{background:#159a55!important;color:#fff!important}.shop-media>.shop-photo-button>img{height:auto;max-height:300px;object-fit:contain}.luna-speech{position:relative;z-index:2}.luna-speech button{min-height:40px}}

/* HOTFIX scroll Studia */
.inbox-panel .conversation-messages,
.inbox-panel .inbox-list,
.luna-column-messages,
.studio-pvt-messages{
  overscroll-behavior-y:auto!important;
}

.inbox-panel,
.inbox-layout,
.inbox-clients,
.inbox-panel .conversation,
.luna-private-column{
  overscroll-behavior:auto!important;
}


/* 2026-10-17 UI refinements */
.luna-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:14px 18px}
.luna-summary-item{min-width:0;text-align:center;padding:10px 14px;border:1px solid #c99b5a55;border-radius:12px;background:#190a1155}
.luna-summary-item span{display:block;font-size:14px;color:#f6deb3}
.luna-summary-item strong{display:block;margin-top:3px;font-size:24px;color:var(--green)}
.chat-audio-message{display:block;width:min(360px,100%);margin-top:8px}
.shop-product-form.shop-editing{outline:2px solid #e7c48b88;outline-offset:8px;border-radius:12px}
.studio-product-reviews{margin-top:12px;padding-top:8px;border-top:1px solid #ffffff18}
.studio-product-review{padding:10px 0;border-top:1px solid #ffffff12}.studio-product-review.is-hidden{opacity:.65}
.voice-record-button.is-recording{background:#7d3044!important;color:#fff!important;box-shadow:0 0 0 3px #ef9eaa33}
@media(max-width:600px){.luna-summary{grid-template-columns:1fr;gap:8px}.luna-summary-item{display:flex;align-items:center;justify-content:space-between;text-align:left}.luna-summary-item strong{margin:0}.shop-product-form{scroll-margin-top:72px}}

/* Permanent Studio scroll handoff fix */
.inbox-panel .conversation-messages,.inbox-panel .inbox-list,.luna-column-messages,.studio-pvt-messages{overscroll-behavior-y:auto!important}.inbox-panel,.inbox-layout,.inbox-clients,.inbox-panel .conversation,.luna-private-column{overscroll-behavior:auto!important}

/* ===== UX refresh 2026-10-19 ===== */
/* Homepage logo: smaller and lower so the intro text remains fully readable. */
.theme-satin .hero-art{transform:translate(0,55px)!important;min-height:430px!important}
.theme-satin .hero-main-logo{width:min(500px,78%)!important}
@media(max-width:900px){.theme-satin .hero-art{transform:none!important;min-height:230px!important;margin-top:4px}.theme-satin .hero-main-logo{width:min(420px,78vw)!important}}

/* Client chat: video and chat are peers, both generously sized. */
#chatDialog.wide{width:min(1320px,calc(100vw - 24px));height:min(820px,calc(100dvh - 24px))}
#chatDialog .chat-shell{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
#chatDialog .chat-side,#chatDialog .chat-main{min-width:0}
#chatDialog .chat-main{display:flex;flex-direction:column}
#chatDialog .messages{flex:1 1 auto;min-height:300px}
#chatDialog .compose{flex:0 0 auto}
#chatDialog .paid-chat-panel,#chatDialog .chat-bottom{flex:0 0 auto}
#chatDialog .client-control-btn,#chatDialog .client-chat-cta,#chatDialog #messageSendButton{border:1px solid #a17a45!important;background:#3b1d2b!important;color:#f3d89f!important;border-radius:14px!important;min-height:42px;font-weight:800}
#chatDialog .client-chat-cta{width:100%;font-size:14px!important;padding:13px 16px!important}
#chatDialog #paidChatPanel{gap:7px;padding-block:8px!important}
#chatDialog .chat-bottom{gap:8px}
#chatDialog #pvtButton{width:100%;margin-top:4px}
@media(max-width:900px){#chatDialog .chat-shell{grid-template-columns:1fr!important;grid-template-rows:auto minmax(420px,1fr)!important}#chatDialog .chat-side{max-height:48dvh;overflow:auto}#chatDialog .messages{min-height:280px}}

/* Studio: operation first, occasional configuration collapsed. */
.studio-priority-grid{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;width:100%}
.studio-priority-grid .inbox-panel{grid-column:1/-1}
.studio-collapsible{grid-column:1/-1;border:1px solid #8d744355;border-radius:15px;background:#170d14;margin:0;padding:0;overflow:hidden}
.studio-collapsible>summary{cursor:pointer;padding:15px 18px;font-size:17px;font-weight:800;color:#f1d398;list-style:none}
.studio-collapsible>summary::-webkit-details-marker{display:none}
.studio-collapsible>summary:after{content:' ▾';float:right}
.studio-collapsible[open]>summary:after{content:' ▴'}
.studio-collapsible-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:0 16px 16px}
.studio-collapsible-body>.panel{margin:0!important;min-width:0}
.studio-settings-hub .visitor-panel{grid-column:1/-1}
.luna-summary-item{cursor:pointer;transition:transform .15s ease,background .15s ease}
.luna-summary-item:hover,.luna-summary-item:focus{transform:translateY(-1px);background:#4c2738!important;outline:1px solid #d0a76688}
.older-chats{margin-top:8px;border-top:1px solid #ffffff14;padding-top:6px}
.older-chats>summary{cursor:pointer;font-weight:700;color:#d9c19a;padding:8px 4px}
.older-chat-list{display:grid;gap:6px}
.shop-admin-actions{display:flex;flex-wrap:wrap;gap:10px;margin:10px 0 14px}
#shopProductForm.ux-product-form-hidden{display:none!important}
.luna-digital-form{display:none!important}
.luna-digital-form.ux-digital-open{display:block!important}
.shop-product-thumb{width:112px!important;height:112px!important}
.shop-product-thumb .shop-main-badge{position:absolute;left:3px;bottom:3px;right:3px;padding:4px 5px;background:#170c12e8;color:#f4d69d;border:1px solid #a68145;border-radius:7px;font-size:10px;text-align:center;cursor:pointer;z-index:2}
.shop-product-thumb.is-main{box-shadow:0 0 0 2px #e6c36f}
.shop-product-thumb.is-main .shop-main-badge{background:#6b4d16;color:#fff}
.studio-shop-product{align-items:start!important}
.studio-shop-product-copy>p:not(.shop-social-proof){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media(max-width:900px){.studio-priority-grid,.studio-collapsible-body{grid-template-columns:1fr}.studio-priority-grid .inbox-panel{grid-column:1}.studio-collapsible-body>.panel{grid-column:1!important}}

/* Compact public shop overview: cover + title + price + short description only. */
#shopProducts .ux-shop-card{display:grid!important;grid-template-columns:150px minmax(0,1fr)!important;gap:16px!important;align-items:center!important;padding:14px!important}
#shopProducts .ux-shop-cover{width:150px!important;height:130px!important;object-fit:cover!important;border-radius:12px}
#shopProducts .ux-shop-head{min-width:0}
#shopProducts .ux-shop-head h3{margin:0 0 5px;font-size:22px!important}
#shopProducts .ux-shop-short{margin:0 0 8px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#c8bbc7}
#shopProducts .ux-shop-head strong{display:block;font-size:20px;color:#f0cd85;margin-bottom:8px}
.ux-shop-dialog .dialog-card{width:min(760px,calc(100vw - 30px))}
@media(max-width:520px){#shopProducts .ux-shop-card{grid-template-columns:110px minmax(0,1fr)!important;gap:10px!important}#shopProducts .ux-shop-cover{width:110px!important;height:105px!important}#shopProducts .ux-shop-head h3{font-size:19px!important}}
/* Unified bright client CTAs, matching the free-chat entry button. */
#chatDialog .client-chat-cta,#chatDialog #paidChatButton.client-chat-cta,#chatDialog #pvtButton.client-chat-cta{
 background:linear-gradient(180deg,#ffe768,#f3c928)!important;color:#4b1458!important;border:2px solid #6b2a75!important;
 box-shadow:0 0 14px rgba(255,225,80,.22);font-weight:900!important;border-radius:16px!important
}
#chatDialog .free-current{display:flex;align-items:center;justify-content:center;padding:12px 14px;margin:7px 8px 2px;text-align:center;pointer-events:none}

/* ===== LUNA UI polish 2026-10-19 R2 ===== */
/* Světlejší a jasně oddělená plocha historie chatu – klient i Studio. */
#chatDialog .messages,
.inbox-panel .conversation-messages,
.luna-column-messages,
.studio-pvt-messages,
#roomDialog .room-chat{
  background:linear-gradient(145deg,#5a3a5f 0%,#684266 52%,#553552 100%)!important;
  border:1px solid #d994c877!important;
  box-shadow:inset 0 0 26px #1a081633!important;
}
#chatDialog .messages{margin:0 8px;border-radius:14px}
.inbox-panel .conversation-messages,.luna-column-messages,.studio-pvt-messages{border-radius:12px}

/* Bubliny zpráv – jasně odlišený klient/modelka. */
#chatDialog .message,.conversation-messages .message,.studio-pvt-messages .pvt-message,
.luna-column-message{background:#a34f7c!important;color:#fff8f1!important;border:1px solid #e6a5c055!important;box-shadow:0 4px 12px #2107182c}
#chatDialog .message.mine,.conversation-messages .message.mine,
.luna-column-message.client{background:#8953a0!important;color:#fff!important;border-color:#d7a4ec55!important}
#chatDialog .message small,.conversation-messages .message small{color:#f0ddea!important}

/* Pole pro psaní – světlá levandulová plocha. */
#messageText,.reply-form input,#studioPvtMessageText,
.luna-private-column textarea,#roomMessageText{
  background:#eadcf6!important;
  color:#35182f!important;
  border:2px solid #d4a455!important;
  box-shadow:inset 0 0 0 2px #fff8ff55!important;
  font-weight:650!important;
}
#messageText::placeholder,.reply-form input::placeholder,#studioPvtMessageText::placeholder,
.luna-private-column textarea::placeholder,#roomMessageText::placeholder{color:#705d70!important;opacity:1}

/* Diktování + volba jazyka jako jedna designová rodina. */
.luna-speech{align-items:center!important}
.luna-speech button,.luna-speech select{
  min-height:44px!important;
  padding:9px 14px!important;
  border:1px solid #9a7b3f!important;
  border-radius:14px!important;
  background:#321723!important;
  color:#f2cf86!important;
  font:700 15px Georgia,serif!important;
  box-shadow:none!important;
}
.luna-speech select{appearance:auto!important;-webkit-appearance:menulist!important;width:auto!important;max-width:180px!important}
#messageSendButton,.reply-form .btn.primary,.studio-pvt-compose .btn.primary{
  min-height:44px!important;border:1px solid #9a7b3f!important;border-radius:14px!important;background:#321723!important;color:#f2cf86!important;font:700 15px Georgia,serif!important
}

/* Ceník pod profilem – výraznější a okamžitě čitelný. */
.chat-offer-prices{gap:0!important;padding:8px 16px!important;border:1px solid #d4a455!important;background:#1a0d14!important;box-shadow:0 0 18px #e8b95818!important}
.chat-offer-price{display:grid!important;grid-template-columns:44px minmax(0,1fr) auto!important;align-items:center!important;gap:12px!important;padding:11px 0!important;border-bottom:1px solid #8f713b88!important;font-size:16px!important}
.chat-offer-price:last-child{border-bottom:0!important}
.chat-offer-price::before{display:grid;place-items:center;width:34px;height:34px;border:1px solid #c99a42;border-radius:50%;color:#f0c76d;font-size:17px}
.chat-offer-price.video::before{content:'▣'}
.chat-offer-price.text::before{content:'●'}
.chat-offer-price.free::before{content:'✦'}
.chat-offer-price>span{color:#f3e2cd!important;font:600 17px Georgia,serif!important}
.chat-offer-price>b{min-width:112px;padding:8px 13px;border:1px solid #d09b34;border-radius:999px;background:linear-gradient(180deg,#ffe19a,#e8b857);color:#2f1523!important;text-align:center;font:800 17px Georgia,serif!important}
.chat-offer-price.free>b{background:#28131e;color:#f1d18b!important}

/* CTA – cena samostatně v kontrastním rámečku. */
.client-chat-cta-split{display:flex!important;align-items:center!important;justify-content:center!important;gap:14px!important;flex-wrap:wrap!important}
.client-chat-cta-split .cta-label{min-width:0}
.client-chat-cta-split .cta-price-badge{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;padding:8px 14px;border:2px solid #e2a531;border-radius:14px;background:#8d1736;color:#ffe8a4;font:900 18px Georgia,serif;box-shadow:0 3px 10px #4e081d55}
.client-chat-cta-split .cta-price-badge.free{background:#34152b;color:#f5d17d}

/* Detail produktu po rozkliknutí – větší okno, obrázek i text. */
.ux-shop-dialog{width:min(1120px,calc(100vw - 24px))!important;max-width:1120px!important}
.ux-shop-dialog .dialog-card{width:100%!important;max-width:none!important;padding:24px!important;font-size:16px!important}
.ux-shop-dialog .dialog-card h2{font-size:32px!important;margin-top:4px}
.ux-shop-dialog .product-preview{max-height:68dvh!important;border-radius:14px!important;background:#160b12}
.ux-shop-dialog .dialog-card>p{font-size:16px!important;line-height:1.55!important}
.ux-shop-dialog .dialog-card>strong{display:block;font-size:22px!important;color:#f1ce86!important;margin:10px 0}

@media(max-width:620px){
 #chatDialog .messages{margin:0 5px}
 .luna-speech button,.luna-speech select,#messageSendButton{min-height:42px!important;font-size:14px!important}
 .chat-offer-price{grid-template-columns:34px minmax(0,1fr) auto!important;gap:8px!important;font-size:14px!important}
 .chat-offer-price>span{font-size:15px!important}.chat-offer-price>b{min-width:90px;font-size:15px!important;padding:7px 10px}
 .client-chat-cta-split .cta-price-badge{font-size:16px;padding:7px 11px}
 .ux-shop-dialog .dialog-card{padding:14px!important}.ux-shop-dialog .dialog-card h2{font-size:26px!important}
}

#paidChatStatus:empty{
  display:none !important;
}

/* Profilová fotografie modelky u její zprávy */
.message:not(.mine){
  position:relative;
  margin-left:48px !important;
}

.message-model-avatar{
  position:absolute;
  left:-46px;
  bottom:2px;
  width:38px;
  height:38px;
  border-radius:50%;
  object-fit:cover;
  border:2px solid #d7a848;
  box-shadow:0 2px 8px rgba(0,0,0,.35);
}

/* Mobil - profilová fotka modelky u její zprávy */
@media (max-width:900px){
  #chatDialog .message:not(.mine){
    position:relative !important;
    margin-left:46px !important;
    overflow:visible !important;
  }

  #chatDialog .message-model-avatar{
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
    position:absolute !important;
    left:-42px !important;
    bottom:3px !important;
    width:34px !important;
    height:34px !important;
    min-width:34px !important;
    border-radius:50% !important;
    object-fit:cover !important;
    border:2px solid #d7a848 !important;
    z-index:20 !important;
  }

  #chatDialog .messages{
    overflow-x:visible !important;
  }
}

/* Studio - profilová fotografie modelky u jejích zpráv */
.luna-column-message.Vy{
  position:relative !important;
  margin-left:46px !important;
  overflow:visible !important;
}

.studio-message-model-avatar{
  position:absolute !important;
  left:-42px !important;
  bottom:3px !important;
  width:34px !important;
  height:34px !important;
  min-width:34px !important;
  border-radius:50% !important;
  object-fit:cover !important;
  border:2px solid #d7a848 !important;
  box-shadow:0 2px 8px rgba(0,0,0,.35) !important;
  z-index:20 !important;
}

@media (max-width:900px){
  .luna-column-message.Vy{
    margin-left:44px !important;
  }

  .studio-message-model-avatar{
    width:32px !important;
    height:32px !important;
    min-width:32px !important;
    left:-39px !important;
  }
}

/* Studio - profilová fotka modelky u jejích zpráv */
.luna-column-message.model{
  position:relative !important;
  margin-left:46px !important;
  overflow:visible !important;
}

.luna-column-message.model .studio-message-model-avatar{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  position:absolute !important;
  left:-42px !important;
  bottom:3px !important;
  width:34px !important;
  height:34px !important;
  min-width:34px !important;
  border-radius:50% !important;
  object-fit:cover !important;
  border:2px solid #d7a848 !important;
  box-shadow:0 2px 8px rgba(0,0,0,.35) !important;
  z-index:20 !important;
}

@media (max-width:900px){
  .luna-column-message.model{
    margin-left:44px !important;
  }

  .luna-column-message.model .studio-message-model-avatar{
    width:32px !important;
    height:32px !important;
    min-width:32px !important;
    left:-39px !important;
  }
}

/* Studio - avatar přímo uvnitř zprávy modelky */
.luna-column-message.model .studio-message-model-avatar-inline{
  display:inline-block !important;
  width:34px !important;
  height:34px !important;
  min-width:34px !important;
  border-radius:50% !important;
  object-fit:cover !important;
  border:2px solid #d7a848 !important;
  margin:0 8px 6px 0 !important;
  vertical-align:middle !important;
  visibility:visible !important;
  opacity:1 !important;
}

/* FIX: klientsky chat - prava cast musi jit normalne rolovat */
#chatDialog .chat-main{
  min-height:0 !important;
  overflow:hidden !important;
}

#chatDialog .messages{
  min-height:0 !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  overscroll-behavior-y:contain;
  -webkit-overflow-scrolling:touch;
}

#chatDialog .chat-shell{
  min-height:0 !important;
}


/* Studio - Zavřít CHAT */
.studio-chat-panel-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:10px;
}

.studio-chat-panel-head h3{
  margin:0;
}

.studio-close-chat{
  flex:0 0 auto;
  border:2px solid #d7a848 !important;
  border-radius:999px !important;
  background:rgba(75,20,39,.88) !important;
  color:#f6d77a !important;
  font-weight:800 !important;
  padding:8px 14px !important;
  cursor:pointer !important;
}

.studio-close-chat:hover{
  background:rgba(105,28,55,.96) !important;
}

@media(max-width:900px){
  .studio-close-chat{
    font-size:14px !important;
    padding:7px 11px !important;
  }
}
