/* Conversation first: preserve room for messages in every embedding. */
.mvchat.pz-live-studio.mvchat--space .mvchat__shell{height:clamp(640px,82dvh,900px)!important;max-height:none!important;min-height:640px!important}
.mvchat.pz-live-studio.mvchat--space .mvchat__messages{flex:1 1 300px!important;min-height:280px!important}
.mvchat.pz-live-studio.mvchat--space .mvchat__conversation-head{min-height:60px;padding:10px 16px!important}
.mvchat.pz-live-studio.mvchat--space .pz-feed-controls{padding:7px 12px!important;flex-shrink:0;overflow-x:auto;flex-wrap:nowrap}
.mvchat.pz-live-studio.mvchat--space .mvchat__composer{padding:8px 14px!important}
.pz-composer-options{position:relative;margin-bottom:7px;color:#6630c9;font-size:12px}
.pz-composer-options summary{cursor:pointer;font-weight:700;min-height:30px;display:flex;align-items:center}
.pz-composer-options-panel{position:absolute;bottom:100%;left:0;right:0;max-height:260px;overflow:auto;padding:14px;background:#fff;border:1px solid #d7c9f4;box-shadow:0 -12px 35px #1c153322;border-radius:16px;z-index:12}
.pz-composer-options:not([open])>.pz-composer-options-panel{display:none!important}
.pz-profile-caption{flex-basis:100%;margin:0!important;font-size:12px;color:#d5ccf5!important}
.mvchat.pz-live-studio.mvchat--space .mvchat__profile-hero{flex-wrap:wrap;background:linear-gradient(125deg,#1b1639,#493080)!important;padding:22px!important}
.mvchat.pz-live-studio.mvchat--space .mvchat__profile-hero h3{color:#fff!important;font-size:26px!important}
.mvchat.pz-live-studio.mvchat--space .mvchat__profile-hero small{color:#cbb5ff!important}
.mvchat.pz-live-studio.mvchat--space .mvchat__profile-hero>div{flex:1;min-width:150px}
.pz-profile-shop{margin:16px 0;padding:18px;background:#faf8ff;border:1px solid #e4daf5;border-radius:18px}
.pz-profile-shop>small{font-size:10px;letter-spacing:1.2px;font-weight:800;color:#7955b1}
.pz-profile-shop h4{margin:6px 0;color:#24203b;font-size:20px;overflow-wrap:anywhere}
.pz-profile-effects summary{cursor:pointer;font-weight:700;color:#542a9c}
.mvchat.pz-live-studio.mvchat--space .mvchat__profile-meta{display:flex;flex-wrap:wrap;gap:10px;padding:8px 0}
.mvchat.pz-live-studio.mvchat--space .mvchat__dialog{width:min(720px,calc(100vw - 24px))!important;max-height:calc(100dvh - 24px)!important;padding:20px!important;box-sizing:border-box}
@media(max-width:700px){
 .mvchat.pz-live-studio.mvchat--space .mvchat__shell{height:max(620px,80dvh)!important;min-height:620px!important;grid-template-columns:minmax(0,1fr)!important}
 .mvchat.pz-live-studio.mvchat--space[data-panel=chat] .mvchat__rail{display:none!important}
 .mvchat.pz-live-studio.mvchat--space .mvchat__messages{padding:12px!important;min-height:260px!important}
 .pz-live-toolbar{flex-wrap:wrap;gap:6px;padding:8px}
 .pz-live-find{order:3;flex-basis:100%}
 .mvchat.pz-live-studio.mvchat--space .mvchat__conversation-head{gap:6px;padding:8px!important}
 .mvchat.pz-live-studio.mvchat--space .mvchat__profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .mvchat.pz-live-studio.mvchat--space .mvchat__dialog{padding:12px!important;border-radius:18px!important}
 .mvchat.pz-live-studio.mvchat--space .mvchat__profile-hero h3{font-size:22px!important}
 .pz-profile-shop{padding:12px}
}
.mvchat.pz-live-studio.mvchat--space .mvchat__profile-hero p{color:#ded5f6!important}
.mvchat.pz-live-studio.mvchat--space .mvchat__person{display:grid!important;grid-template-columns:40px minmax(0,1fr)!important;gap:10px!important;position:relative;overflow:visible!important}
.mvchat.pz-live-studio.mvchat--space .mvchat__person-avatar{width:40px!important;height:40px!important;flex:none!important;position:relative}
.mv101-person-copy{min-width:0!important;display:flex!important;flex-wrap:wrap;align-items:center;gap:3px}
.mv101-person-copy>strong{white-space:normal!important;overflow-wrap:anywhere;flex:1;min-width:65px}
.mv101-person-copy>small{width:100%}.mv101-person-copy>img{max-width:24px!important;max-height:28px!important;position:static!important}
.pz-identity-editor{margin:16px 0;border:1px solid #dfd4f3;border-radius:16px;padding:16px;background:#faf8ff}.pz-identity-editor summary{cursor:pointer;font-weight:700;color:#5c2ac0}.pz-identity-editor p{font-size:12px;line-height:1.6;color:#665c7a}.pz-identity-editor label{display:block;margin:12px 0;font-size:13px;color:#342749}.pz-identity-editor input,.pz-identity-editor select{display:block;width:100%;padding:12px;background:white;color:#29203d;border:1px solid #d5c7ed;border-radius:10px;box-sizing:border-box}.pz-identity-editor button,.pz-identity-unlock{padding:12px 18px;background:#6924e8;color:white;border:0;border-radius:10px;cursor:pointer}
[data-name-effect=glow]{color:#7025e0!important;text-shadow:0 0 10px #a47aff80}[data-name-effect=fire]{color:#b64613!important}[data-name-effect=cosmic]{color:#7441bc!important}[data-name-effect=aurora]{color:#007b72!important}[data-name-effect=gold]{color:#946009!important}[data-name-effect=matrix]{color:#177648!important;font-family:monospace!important}
.mvchat .mvchat__profile-hero [data-name-effect]:not([data-name-effect='']){color:#fff!important;text-shadow:0 0 12px #bd94ff}
.mvchat.pz-live-studio.mvchat--space .mvchat__profile-hero[data-cover=glow]{background:radial-gradient(ellipse at top right,#a22cff80,transparent 65%),linear-gradient(135deg,#16112d,#483176)!important}
.mvchat.pz-live-studio.mvchat--space .mvchat__profile-hero[data-cover=fire]{background:radial-gradient(ellipse at bottom right,#fb711a,transparent 70%),#351c28!important}
.mvchat.pz-live-studio.mvchat--space .mvchat__profile-hero[data-cover=cosmic]{background:radial-gradient(circle,#b7a7ff 1px,transparent 2px) 0 0/25px 25px,linear-gradient(135deg,#171432,#493b92)!important}
.mvchat.pz-live-studio.mvchat--space .mvchat__profile-hero[data-cover=aurora]{background:linear-gradient(125deg,#123b48,#286552,#403277)!important}
.mvchat.pz-live-studio.mvchat--space .mvchat__profile-hero[data-cover=gold]{background:linear-gradient(120deg,#221c29,#71522d,#25203a)!important}
.mvchat.pz-live-studio.mvchat--space .mvchat__profile-hero[data-cover=matrix]{background:repeating-linear-gradient(90deg,#1c7c4530 0 2px,transparent 2px 16px),#102d27!important}
.pz-avatar-preview{position:fixed;z-index:100000;width:180px;height:180px;border:3px solid white;border-radius:22px;box-shadow:0 12px 45px #100c3155;background:#ede7ff;object-fit:contain;pointer-events:none}
.mvchat.pz-live-studio.mvchat--space [data-pz-preview]{display:none!important}

/* Community refresh: compact controls, readable profiles, distinct effects. */
.pz-compose-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:10px 14px;background:#fff;border-top:1px solid #ece7f6;position:relative;z-index:5}
.pz-compose-tools [data-mvchat-seller-tools]{padding:0!important;border:0!important;gap:6px!important}
.pz-compose-tools .pz-quick-replies,.pz-compose-tools .pz-composer-options{margin:0!important;padding:0!important;border:0!important;position:static;background:transparent!important}
.pz-compose-tools summary{list-style:none;padding:9px 12px!important;min-height:34px;box-sizing:border-box;background:#f4f0ff;border:1px solid #e2d6ff;border-radius:10px;color:#6422cf;font-size:12px;font-weight:750;cursor:pointer}
.pz-compose-tools summary::-webkit-details-marker{display:none}
.pz-compose-tools summary:hover,.pz-compose-tools summary:focus-visible{background:#6925dd;color:#fff;outline:2px solid #c5a8ff;outline-offset:2px}
.pz-compose-tools .pz-quick-replies[open]>small,.pz-compose-tools .pz-quick-grid{background:white;padding:12px}
.pz-compose-tools .pz-quick-replies[open]{position:absolute!important;bottom:100%;left:14px;right:14px;border:1px solid #dacdf2!important;border-radius:16px;box-shadow:0 12px 40px #19112e22;overflow:hidden}
.pz-compose-tools .pz-composer-options-panel{bottom:100%;left:14px;right:14px;border-radius:18px}
.mvchat.pz-live-studio.mvchat--space .mvchat__composer{padding:10px 14px!important;background:#fff!important}
.mvchat .mvchat__composer-row{align-items:center!important;gap:9px!important}
.mvchat .mvchat__composer-row textarea{min-height:48px!important;max-height:130px;background:#f7f6fc!important;border:1px solid #dfd8ee!important;border-radius:15px!important;padding:13px!important;color:#251b3b!important}
.mvchat .mvchat__composer-row textarea:focus{border-color:#8543eb!important;box-shadow:0 0 0 3px #8b5cf618!important}
.mvchat .mvchat__composer-row>button[type=submit]{border-radius:15px!important;background:linear-gradient(135deg,#7625ee,#4d20bb)!important;box-shadow:0 5px 16px #7524df24}
.mvchat .mvchat__person:hover,.mvchat .mvchat__person:focus-visible{background:#f1eaff!important;border-color:#a77ae8!important;color:#25133f!important;box-shadow:0 5px 16px #6425ca12}
.mvchat .mvchat__person:hover strong,.mvchat .mvchat__person:focus-visible strong{color:#5420a4!important}
.mvchat .mvchat__message-actions button:hover{background:#e9ddff!important;color:#5420ad!important;border-radius:6px}
.mvchat.pz-live-studio.mvchat--space [data-mvchat-profile-dialog]{width:min(640px,calc(100vw - 24px))!important;padding:0!important;border:1px solid #d8caee!important;border-radius:26px!important;background:#fff!important;box-shadow:0 30px 100px #12092555!important}
.mvchat [data-mvchat-profile-dialog]::backdrop{background:#0b0823a6;backdrop-filter:blur(7px)}
.mvchat [data-mvchat-profile]{padding:18px}
.mvchat.pz-live-studio.mvchat--space .mvchat__profile-hero{position:relative;padding:30px 24px!important;gap:20px!important;border-radius:19px!important;min-height:155px;box-sizing:border-box;background:radial-gradient(ellipse at 95% 0,#8549db88,transparent 65%),linear-gradient(130deg,#151026,#302054)!important}
.mvchat .mvchat__profile-hero>span{width:84px!important;height:84px!important;border:3px solid #ffffffcc!important;box-shadow:0 10px 30px #08031555;border-radius:24px!important;overflow:hidden}
.mvchat .mvchat__profile-hero>span img{width:100%!important;height:100%!important;object-fit:cover}
.mvchat.pz-live-studio.mvchat--space .mvchat__profile-hero h3{font-size:clamp(20px,4vw,28px)!important;line-height:1.15!important;margin:6px 0 10px!important;overflow-wrap:anywhere}
.mvchat .mvchat__profile-hero small{font-size:10px!important;letter-spacing:1px}
.pz-profile-shop{background:#fff!important;border:1px solid #e6dff0!important;border-radius:18px!important;padding:18px!important;margin:14px 0!important}
.pz-profile-shop h4{font-size:19px!important;margin:7px 0 15px!important;font-weight:800}
.mvchat.pz-live-studio.mvchat--space .mvchat__profile-stats{gap:0!important;background:#f7f5fc;border:1px solid #eee8f6;border-radius:14px;overflow:hidden;margin:12px 0!important}
.mvchat .mvchat__profile-stats>span{border:0!important;border-right:1px solid #e8e0f2!important;border-radius:0!important;background:transparent!important;padding:15px 5px!important}
.mvchat .mvchat__profile-stats b{font-size:22px!important;color:#3c2267!important}
.mvchat .mvchat__profile-stats small{font-size:11px!important;color:#736586!important}
.mvchat .mvchat__profile-store{background:#f0e8ff!important;color:#6123c6!important;border:1px solid #dac8fa!important;min-height:44px;border-radius:12px!important}
.mvchat .mvchat__profile-store:hover{background:#6825d8!important;color:#fff!important}
.mvchat .mvchat__profile-edit{background:#241a39!important;color:#fff!important;border-radius:12px!important}
.mvchat .mvchat__profile-meta{font-size:11px!important;color:#786b89!important;justify-content:space-between;margin:10px 0!important}
.pz-profile-effects,.pz-identity-editor{padding:14px!important;border-radius:14px!important;border:1px solid #e5dcf0;background:#faf8fd;margin:12px 0}
.mvchat .has-effect-glow .mvchat__bubble{background:linear-gradient(135deg,#f5edff,#e9e1ff)!important;border:1px solid #a77af2!important;box-shadow:0 0 18px #9f68ed38!important}
.mvchat .has-effect-fire .mvchat__bubble{background:linear-gradient(120deg,#fff7ed,#ffe7d7)!important;border:1px solid #f7b17e!important;box-shadow:inset 4px 0 #ed7b35!important;color:#653014!important}
.mvchat .has-effect-cosmic .mvchat__bubble{background:radial-gradient(circle at 90% 20%,#b8a5f44d,transparent 45%),linear-gradient(140deg,#f4efff,#e9ecff)!important;border:1px solid #a596e0!important;box-shadow:inset 4px 0 #8764d9!important}
.mvchat .has-effect-aurora .mvchat__bubble{background:linear-gradient(120deg,#e6faf5,#e7f1ff,#f2eaff)!important;background-size:200% 200%!important;animation:pzAuroraDrift 8s ease infinite;border:1px solid #8dd5c7!important;color:#164b49!important}
.mvchat .has-effect-gold .mvchat__bubble{background:linear-gradient(115deg,#fff7dc,#fffdf5,#ffedbc)!important;border:1px solid #dcb75f!important;box-shadow:inset 4px 0 #c59a37!important;color:#624811!important}
.mvchat .has-effect-matrix .mvchat__bubble{background:linear-gradient(90deg,#e6f7ee,#f2fcf6)!important;border:1px solid #8ac4a2!important;box-shadow:inset 4px 0 #258954!important;color:#174e32!important;font-family:ui-monospace,monospace}
.mvchat [class*=has-effect-] .mvchat__bubble:before,.mvchat [class*=has-effect-] .mvchat__bubble:after{pointer-events:none!important}
.mvchat [data-mvchat-effect]{min-height:36px;border-radius:10px!important;transition:transform .15s,box-shadow .15s}
.mvchat [data-mvchat-effect]:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #6831b526}
@keyframes pzAuroraDrift{0%,100%{background-position:0 50%}50%{background-position:100% 50%}}
@media(prefers-reduced-motion:reduce){.mvchat [class*=has-effect-] .mvchat__bubble{animation:none!important}}
.pz-motion-off [class*=has-effect-] .mvchat__bubble{animation:none!important}
@media(max-width:600px){.mvchat [data-mvchat-profile]{padding:12px}.mvchat.pz-live-studio.mvchat--space .mvchat__profile-hero{padding:24px 15px!important;gap:13px!important}.mvchat .mvchat__profile-hero>span{width:64px!important;height:64px!important}.pz-compose-tools{gap:6px;padding:8px}.pz-compose-tools summary{font-size:11px;padding:8px!important}.mvchat .mvchat__profile-meta{display:grid!important;gap:8px!important}.pz-profile-shop{padding:12px!important}}
