/* TEMO PLAY 300F — final polish */
html[data-temo-build="300F"] .temo-version-badge{color:#67e8f9!important}
/* Bell must remain visible to normal APK/web users. Magic Eye is still controlled by admin auth JS. */
#tpNotifications,.tp-icon-btn.tp-notifications{display:grid!important;visibility:visible!important;opacity:1!important}
@media(max-width:390px){
  .tp-header .tp-actions,.tp-header-actions{gap:5px!important}
  .tp-icon-btn{width:42px!important;height:42px!important;min-width:42px!important}
  #tpNotifications{display:grid!important}
}
/* truthful visitor presence */
.v300f-visitor-presence-summary{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin:0 0 10px;padding:10px 11px;border:1px solid #22d3ee44;border-radius:12px;background:#071225cc;color:#cbd5e1;font-size:11px}
.v300f-visitor-presence-summary b{color:#34d399}.v300f-visitor-presence-summary span{padding:4px 7px;border-radius:999px;background:#ffffff0b}
.tp-guest-time-card.v300f-active-guest{box-shadow:0 0 0 1px #22c55e33,0 0 22px #22c55e13}
/* automatic push scheduler */
.v300f-auto-schedule{display:flex;flex-direction:column;gap:4px;padding:10px 12px;margin:8px 0;border:1px solid #22d3ee55;border-radius:12px;background:linear-gradient(135deg,#08233a99,#29124a88)}
.v300f-auto-schedule b{color:#67e8f9}.v300f-auto-schedule span{font-weight:900;color:#fff;direction:ltr}.v300f-auto-schedule small{color:#a5b4fc;line-height:1.6}
/* notification center: desktop rows no longer collapse */
#notifModal .v300f-notif-modal{width:min(900px,94vw)!important;max-width:900px!important;max-height:88vh!important;padding:24px!important}
#notifList.v300f-notif-list{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;max-height:70vh!important;overflow:auto!important;padding:4px!important}
#notifList .v300-rich-notif{display:grid!important;grid-template-columns:94px minmax(0,1fr)!important;align-items:center!important;min-height:126px!important;height:auto!important;padding:10px!important;border-radius:16px!important;overflow:hidden!important}
#notifList .v300-rich-notif .v300-notif-image{width:94px!important;height:118px!important;object-fit:cover!important;border-radius:12px!important;display:block!important}
#notifList .v300-rich-notif .temo-notif-copy{min-width:0!important;display:flex!important;flex-direction:column!important;gap:5px!important;align-items:flex-start!important}
#notifList .v300-rich-notif .temo-notif-copy b{font-size:16px!important;white-space:normal!important;line-height:1.4!important}
#notifList .v300-rich-notif .temo-notif-copy p{font-size:13px!important;line-height:1.55!important;margin:0!important;white-space:normal!important;display:block!important}
@media(max-width:620px){#notifModal .v300f-notif-modal{width:94vw!important;padding:18px 13px!important}#notifList .v300-rich-notif{grid-template-columns:72px minmax(0,1fr)!important;min-height:100px!important}#notifList .v300-rich-notif .v300-notif-image{width:72px!important;height:94px!important}}
/* WWME mic tester stays visible even while mic is off; tap it to request permission. */
#wwmeMicTestPanelV238{display:flex!important;opacity:1!important}
#wwmeMicTestPanelV238:not(.is-on){--mic-ring:#64748b;border-color:#64748b66!important}
/* Guest room members see the current host-controlled server, not a misleading independent picker. */
body.wwme-in-room #wsSrcBtn{min-width:128px}
/* close/back must stay clickable above room/player layers */
body.wwme-in-room .ws-close-main,body.wwme-in-room #wwmeBackFab,body.wwme-in-room .wwme-back,body.wwme-in-room .wwme-leave{pointer-events:auto!important;z-index:10060!important}


/* Global Audience V301 */
.v301-global-audience,.v301-member-global-summary{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;margin:0 0 10px;border:1px solid rgba(52,211,153,.28);border-radius:12px;background:linear-gradient(135deg,rgba(16,185,129,.10),rgba(33,212,253,.07));color:#d1fae5;font-size:12px}
.v301-global-audience b,.v301-member-global-summary b{color:#6ee7b7;margin-inline-end:auto}.v301-global-audience span,.v301-member-global-summary span{padding:4px 7px;border-radius:999px;background:rgba(2,6,23,.55);white-space:nowrap}
.v301-country-controls{margin-bottom:9px}


/* ===== GLOBAL QA2 — mobile header action drawer ===== */
@media (max-width:768px){
  header.tp-header{grid-template-columns:minmax(0,1fr) auto!important;overflow:visible!important}
  header.tp-header .tp-desktop-nav{display:none!important}
  .tp-header-actions{position:relative!important;display:flex!important;align-items:center!important;justify-self:end!important;gap:0!important;direction:ltr!important;min-width:38px!important;z-index:40!important}
  .tp-hamburger{position:relative!important;z-index:45!important;display:grid!important;flex:0 0 auto!important;background:linear-gradient(145deg,rgba(18,29,52,.98),rgba(11,18,36,.98))!important;box-shadow:0 0 0 1px rgba(70,221,255,.08),0 8px 24px rgba(0,0,0,.28)!important}
  .tp-hamburger.drawer-open{border-color:rgba(56,220,255,.62)!important;color:#61e7ff!important;box-shadow:0 0 18px rgba(56,220,255,.22)!important}
  .tp-action-drawer{position:absolute!important;top:50%!important;right:calc(100% + 7px)!important;transform:translate3d(18px,-50%,0) scaleX(.72)!important;transform-origin:right center!important;display:flex!important;align-items:center!important;gap:5px!important;padding:5px!important;max-width:calc(100vw - 118px)!important;overflow:hidden!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;border:1px solid rgba(87,219,255,.14)!important;border-radius:15px!important;background:linear-gradient(90deg,rgba(8,14,29,.98),rgba(13,20,39,.97))!important;box-shadow:0 10px 32px rgba(0,0,0,.38),inset 0 1px 0 rgba(255,255,255,.03)!important;transition:transform .34s cubic-bezier(.2,.82,.2,1),opacity .22s ease,visibility .22s ease!important}
  .tp-action-drawer.open{transform:translate3d(0,-50%,0) scaleX(1)!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important}
  .tp-action-drawer .tp-search-pill,.tp-action-drawer .tp-icon-btn,.tp-action-drawer .tp-avatar{flex:0 0 auto!important;margin:0!important}
  .tp-action-drawer .tp-search-pill{min-width:35px!important;width:35px!important;padding:0!important}
  .tp-action-drawer .tp-search-pill span{display:none!important}
  .tp-brand{min-width:0!important;max-width:calc(100vw - 58px)!important;overflow:visible!important}
  .tp-brand-copy{width:min(150px,42vw)!important;max-width:min(150px,42vw)!important}
}
@media (max-width:390px){
  .tp-action-drawer{gap:3px!important;padding:4px!important;max-width:calc(100vw - 94px)!important}
  .tp-action-drawer .tp-icon-btn,.tp-action-drawer .tp-search-pill{width:32px!important;height:32px!important;min-width:32px!important}
  .tp-action-drawer .tp-avatar{width:34px!important;height:34px!important}
  .tp-brand-copy{width:min(132px,39vw)!important;max-width:min(132px,39vw)!important}
}
#gRequests.tp-request-shell{padding:12px!important;border-style:solid!important;border-color:rgba(251,191,36,.28)!important;background:linear-gradient(145deg,rgba(14,17,31,.94),rgba(10,12,25,.9))!important}
.tp-request-card{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.tp-request-card:active{transform:scale(.975)}
.tp-request-card:hover{border-color:rgba(74,222,255,.55);box-shadow:0 8px 24px rgba(0,0,0,.25)}
#wsFrame[data-temo-protection="compat-player"]{isolation:isolate}


/* ===== GLOBAL QA3 — one-tap details close + chrome stack recovery ===== */
#moOv .mdl-x{pointer-events:auto!important;touch-action:manipulation!important;z-index:2147483000!important}
body:not(.tp-focus-mode):not(.watching):not(.tp-live-cinema):not(.wwme-in-room) header.tp-header{
  transform:translate3d(0,0,0)!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;filter:none!important
}
@media(max-width:768px){
  body:not(.tp-focus-mode):not(.watching):not(.tp-live-cinema):not(.wwme-in-room) #bottomTabbar{
    transform:translate3d(0,0,0)!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;filter:none!important
  }
}
#moOv[aria-hidden="true"]{pointer-events:none!important}

/* ===== GLOBAL QA9 — reliable mobile header drawer ===== */
@media (max-width:768px){
  header.tp-header{overflow:visible!important;z-index:12080!important;isolation:isolate!important}
  .tp-header-actions{position:relative!important;overflow:visible!important;z-index:12090!important}
  .tp-hamburger{position:relative!important;z-index:12120!important}
  .tp-action-drawer{
    position:absolute!important;
    top:calc(100% + 12px)!important;
    right:0!important;
    left:auto!important;
    width:max-content!important;
    max-width:calc(100vw - 28px)!important;
    min-height:48px!important;
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:7px!important;
    padding:6px!important;
    overflow:visible!important;
    transform:translate3d(calc(100% + 28px),0,0)!important;
    transform-origin:right center!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    z-index:12110!important;
    border-radius:16px!important;
    background:linear-gradient(90deg,rgba(7,13,27,.99),rgba(16,22,43,.99))!important;
    border:1px solid rgba(73,220,255,.27)!important;
    box-shadow:0 16px 38px rgba(0,0,0,.5),0 0 24px rgba(43,209,255,.10)!important;
    transition:transform .28s cubic-bezier(.2,.82,.2,1),opacity .18s ease,visibility .18s ease!important;
  }
  .tp-action-drawer.open{
    transform:translate3d(0,0,0)!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }
  .tp-action-drawer .tp-icon-btn,
  .tp-action-drawer .tp-search-pill,
  .tp-action-drawer .tp-avatar{
    display:grid!important;
    visibility:visible!important;
    opacity:1!important;
    flex:0 0 auto!important;
  }
  .tp-action-drawer .tp-owner-eye:not(.show){display:none!important}
  .tp-action-drawer .tp-owner-eye.show{display:grid!important}
  .tp-action-drawer .tp-search-pill span{display:none!important}
  .tp-action-drawer .tp-music-mute{display:grid!important}
}
@media (max-width:390px){
  .tp-action-drawer{right:-2px!important;gap:5px!important;padding:5px!important;max-width:calc(100vw - 20px)!important}
  .tp-action-drawer .tp-icon-btn,.tp-action-drawer .tp-search-pill{width:36px!important;height:36px!important;min-width:36px!important}
  .tp-action-drawer .tp-avatar{width:38px!important;height:38px!important}
}

/* ===== GLOBAL QA9 — navigation responsiveness ===== */
html{scroll-behavior:auto!important}
@media (max-width:768px){
  .more-backdrop,.srv-sheet,.modal,.tp-series-picker{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
  #secPage,.sec-page,.tp-home-hero,.bottom-tabbar,header.tp-header{will-change:auto!important}
  html.tp-route-busy .tp-home-hero *,html.tp-route-busy #secPage *{animation-play-state:paused!important}
  .tp-action-drawer,.srv-sheet,.side-menu.temo-more-sheet{transition-duration:.22s!important}
}
/* Member server sheet is read-only, but must be fully visible and never clipped. */
body.wwme-in-room #srvSheet{z-index:12180!important}
body.wwme-in-room #srvSheet .srv-panel{max-height:min(78dvh,760px)!important;overflow:auto!important;overscroll-behavior:contain!important}


/* ===== GLOBAL QA11 — WWME premium chat + slide voice controls ===== */
body.wwme-in-room .wwme-dock{overflow:visible!important}
.wwme-dock-head{min-height:64px;padding:8px 12px!important;gap:8px!important;overflow:visible!important}
.wwme-dock-head .ttl{flex:none}
.wwme-speakers{min-width:0!important;flex:1 1 auto!important;gap:9px!important;padding:3px 2px 2px!important;scrollbar-width:none}
.wwme-speakers::-webkit-scrollbar{display:none}
.wwme-spk{width:48px!important}.wwme-spk .nm{max-width:48px!important;font-size:9px!important}
.wwme-voice-toggle{position:relative;flex:0 0 46px;width:46px;height:46px;border-radius:15px;border:1px solid rgba(34,211,238,.36);background:linear-gradient(160deg,rgba(14,24,43,.96),rgba(8,12,25,.94));color:#dffcff;display:grid;place-items:center;cursor:pointer;box-shadow:0 8px 24px rgba(0,0,0,.32),inset 0 0 0 1px rgba(255,255,255,.035)}
.wwme-voice-toggle .ico{font-size:19px}.wwme-voice-toggle .dot{position:absolute;width:8px;height:8px;border-radius:50%;inset-inline-end:6px;top:6px;background:#64748b;box-shadow:0 0 0 3px rgba(100,116,139,.12)}
.wwme-voice-toggle.on{border-color:rgba(34,197,94,.55);box-shadow:0 0 20px rgba(34,197,94,.16),0 8px 24px rgba(0,0,0,.32)}
.wwme-voice-toggle.on .dot{background:#22c55e;box-shadow:0 0 12px rgba(34,197,94,.8)}
.wwme-voice-drawer{position:absolute;z-index:34;inset-inline-end:10px;top:68px;width:min(310px,calc(100vw - 20px));padding:12px;border-radius:20px;border:1px solid rgba(34,211,238,.24);background:linear-gradient(165deg,rgba(9,16,32,.98),rgba(17,10,33,.97));box-shadow:0 22px 56px rgba(0,0,0,.52),0 0 34px rgba(168,85,247,.08);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);opacity:0;pointer-events:none;transform:translateY(-12px) scale(.96);transform-origin:top right;transition:opacity .18s ease,transform .22s cubic-bezier(.2,.8,.2,1)}
.wwme-voice-drawer.open{opacity:1;pointer-events:auto;transform:translateY(0) scale(1)}
.qa11-voice-title{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#e7fbff;font-size:12px;font-weight:900;margin-bottom:10px}.qa11-voice-close{width:30px;height:30px;border:1px solid rgba(255,255,255,.1);border-radius:10px;background:rgba(255,255,255,.06);color:#dbeafe;cursor:pointer}
.qa11-voice-tools{display:grid;grid-template-columns:78px minmax(0,1fr);align-items:center;gap:10px}
.qa11-voice-tools .wwme-mic-btn{width:100%!important;height:48px!important;border-radius:15px!important;font-size:12px!important;margin:0!important;padding:8px 10px!important}
.qa11-voice-tools .wwme-mic-test-v238{display:flex!important;position:relative!important;inset:auto!important;transform:none!important;margin:0!important;width:68px!important;height:68px!important;min-width:68px!important;min-height:68px!important;z-index:1!important}
.qa11-voice-tools .wwme-mic-test-v238.expanded{position:relative!important;inset:auto!important;transform:none!important;width:68px!important;height:68px!important;min-width:68px!important;min-height:68px!important;padding:0!important;border-radius:50%!important}
.qa11-voice-tools .wwme-mic-test-v238.expanded:after,.qa11-voice-tools .wwme-mic-test-v238 .v238-mic-copy,.qa11-voice-tools .wwme-mic-test-v238 .v238-mic-badge{display:none!important}
.qa11-voice-tools .wwme-mic-test-v238 .v238-mic-ring,.qa11-voice-tools .wwme-mic-test-v238.expanded .v238-mic-ring{width:58px!important;height:58px!important}
.qa11-voice-note{margin-top:9px;padding-top:8px;border-top:1px solid rgba(255,255,255,.07);font-size:9.5px;line-height:1.55;color:#8ea3bd;text-align:center}

.wwme-chat-body{padding:10px 13px 8px!important;gap:8px!important}
.wwme-msg{max-width:88%!important;min-width:0!important}.wwme-msg-wrap{max-width:min(82vw,560px)!important}.wwme-bub{padding:8px 12px!important;border-radius:16px!important;font-size:13px!important;line-height:1.58!important;background:linear-gradient(145deg,rgba(23,31,52,.9),rgba(13,18,34,.9))!important;border:1px solid rgba(124,144,177,.18)!important;box-shadow:0 8px 20px rgba(0,0,0,.12)}
.wwme-msg.me .wwme-bub{background:linear-gradient(135deg,rgba(0,229,255,.14),rgba(184,58,255,.14))!important;border-color:rgba(34,211,238,.27)!important}
.wwme-msg-text{font-weight:600;color:#edf4ff}
.wwme-emoji-row{padding:7px 12px 2px!important;gap:7px!important}.wwme-emoji-row button{width:38px!important;height:38px!important;border-radius:13px!important;background:linear-gradient(145deg,rgba(22,29,49,.86),rgba(13,18,31,.9))!important}
.wwme-chat-input{position:relative;display:grid!important;grid-template-columns:minmax(0,1fr) 50px;align-items:end!important;gap:9px!important;padding:9px 12px 10px!important;background:linear-gradient(180deg,rgba(8,13,25,.15),rgba(8,13,25,.76));border-top:1px solid rgba(255,255,255,.035)}
.wwme-chat-input textarea{box-sizing:border-box!important;width:100%!important;min-width:0!important;min-height:48px!important;height:48px;max-height:118px!important;padding:12px 14px!important;border-radius:17px!important;border:1px solid rgba(34,211,238,.20)!important;background:linear-gradient(145deg,rgba(18,25,43,.94),rgba(11,16,29,.96))!important;color:#f4f8ff!important;font-size:13px!important;font-weight:600!important;line-height:1.55!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 7px 20px rgba(0,0,0,.16);outline:none!important;caret-color:#22d3ee;transition:border-color .16s ease,box-shadow .16s ease}
.wwme-chat-input textarea::placeholder{color:#667a96!important;font-weight:600}.wwme-chat-input textarea:focus{border-color:rgba(34,211,238,.48)!important;box-shadow:0 0 0 3px rgba(34,211,238,.07),inset 0 1px 0 rgba(255,255,255,.04)!important}
.wwme-chat-input button{width:50px!important;height:50px!important;border-radius:17px!important;background:linear-gradient(145deg,#22d3ee 0%,#8b5cf6 52%,#ec4899 100%)!important;color:#06111a!important;font-size:19px!important;font-weight:950!important;box-shadow:0 8px 24px rgba(139,92,246,.22),0 0 18px rgba(34,211,238,.14)!important}
.wwme-e2e-lock{padding:1px 10px 7px!important;font-size:9px!important;color:#7dd3fc!important;opacity:.9}.wwme-e2e-lock.verified{color:#86efac!important}
@media(max-width:520px){.wwme-dock-head{min-height:60px!important}.wwme-spk{width:44px!important}.wwme-spk .nm{max-width:44px!important}.wwme-voice-toggle{flex-basis:44px;width:44px;height:44px}.wwme-voice-drawer{top:64px;inset-inline:8px;width:auto}.wwme-msg{max-width:92%!important}.wwme-chat-input{grid-template-columns:minmax(0,1fr) 48px;padding-inline:10px!important}.wwme-chat-input button{width:48px!important;height:48px!important}}


/* GLOBAL QA13 — six-tab mobile nav hit-area + original More sheet behavior */
@media(max-width:768px){
  #bottomTabbar{display:flex!important;direction:rtl!important;justify-content:space-around!important;overflow:visible!important}
  #bottomTabbar>.tabbar-item{display:flex!important;visibility:visible!important;opacity:1!important;flex:1 1 0!important;max-width:none!important;width:auto!important;min-width:0!important;pointer-events:auto!important}
  #tabMore{position:relative!important;z-index:2!important;pointer-events:auto!important}
  #sideMenu.temo-more-sheet{z-index:12000!important}
  #moreBackdrop{z-index:11990!important}
}


/* ================================================================
   GLOBAL QA14 TEST PATCH — WWME final small fixes
   fullscreen fallback + chat composer + member names + local sources
   ================================================================ */
html.qa14-ws-fs,body.qa14-ws-fs{overflow:hidden!important;overscroll-behavior:none!important;background:#000!important}
#wsEl.qa14-fs-fallback{
  position:fixed!important;inset:0!important;left:0!important;top:0!important;
  width:100vw!important;width:100dvw!important;height:100vh!important;height:100dvh!important;
  max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;
  transform:none!important;border-radius:0!important;z-index:2147481000!important;background:#000!important;
}
#wsEl.qa14-fs-fallback .ws-frame{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:100%!important}
#wsEl.qa14-fs-fallback #wsFrame,#wsEl.qa14-fs-fallback #wsDirectVideo{width:100%!important;height:100%!important;object-fit:contain!important}
#wsEl.qa14-fs-fallback .ws-ctrls{z-index:2147481200!important}
#wsEl.qa14-fs-fallback #wwmeMediaQuick{z-index:2147481250!important}
body.qa14-ws-fs #wwmeDock{z-index:2147481300!important}

/* Member names remain readable instead of being hidden under voice controls. */
.wwme-speakers{align-items:flex-start!important;gap:10px!important}
.wwme-spk{flex:0 0 62px!important;width:62px!important;min-width:62px!important}
.wwme-spk .nm{display:block!important;width:62px!important;max-width:62px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;text-align:center!important;font-size:9px!important;line-height:1.2!important}

/* Floating movie chat: show all current member names above messages. */
.wwme-media-members{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding:7px 10px 4px;flex:none;border-bottom:1px solid rgba(255,255,255,.06)}
.wwme-media-members::-webkit-scrollbar{display:none}
.wwme-media-member{flex:none;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:5px 9px;border-radius:999px;border:1px solid rgba(34,211,238,.18);background:rgba(34,211,238,.07);color:#dcecff;font:800 10px/1.2 'Cairo',system-ui,sans-serif}
.wwme-media-member.me{border-color:rgba(236,72,153,.34);background:rgba(236,72,153,.10);color:#fbcfe8}

/* Make all three WWME composers comfortable on phone and landscape. */
.wwme-chat-input textarea,#wwmeHeadPanel .hp-in textarea,#wwmeMediaPanel .hp-in textarea{
  box-sizing:border-box!important;width:100%!important;min-width:0!important;
  min-height:54px!important;height:54px;max-height:144px!important;resize:none!important;
  padding:13px 15px!important;border-radius:18px!important;
  border:1px solid rgba(34,211,238,.28)!important;
  background:linear-gradient(145deg,rgba(17,25,44,.97),rgba(8,13,25,.98))!important;
  color:#f6f8ff!important;font:700 13px/1.6 'Cairo',system-ui,sans-serif!important;
  overflow-y:auto!important;overflow-wrap:anywhere!important;word-break:break-word!important;unicode-bidi:plaintext!important;
  outline:none!important;caret-color:#22d3ee!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 8px 22px rgba(0,0,0,.18)!important;
}
#wwmeHeadPanel .hp-in,#wwmeMediaPanel .hp-in{display:grid!important;grid-template-columns:minmax(0,1fr) 54px!important;align-items:end!important;gap:9px!important;padding:10px!important}
#wwmeHeadPanel .hp-in button,#wwmeMediaPanel .hp-in button{width:54px!important;height:54px!important;min-width:54px!important;border-radius:18px!important;background:linear-gradient(145deg,#22d3ee,#8b5cf6 55%,#ec4899)!important;color:#07101a!important;font-size:20px!important;font-weight:950!important}
.wwme-bub .who{display:block!important;margin-bottom:3px!important;font-size:10px!important;font-weight:950!important;line-height:1.25!important;color:#67e8f9!important;opacity:1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%!important}
.wwme-msg.me .wwme-bub .who{color:#f472b6!important}
.wwme-msg-text{font-size:13px!important;line-height:1.65!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;word-break:break-word!important}

/* Floating chat should not be a tiny card on landscape/fullscreen. */
#wwmeMediaQuick .wwme-media-panel{width:min(92vw,430px)!important;max-height:92dvh!important}
@media (orientation:landscape) and (max-height:650px){
  #wwmeMediaQuick .wwme-media-panel{top:3%!important;bottom:3%!important;width:min(48vw,520px)!important;min-width:360px!important}
  #wwmeMediaQuick .hp-body{min-height:110px!important}
}
@media(max-width:520px){
  .wwme-spk{flex-basis:54px!important;width:54px!important;min-width:54px!important}.wwme-spk .nm{width:54px!important;max-width:54px!important}
  #wwmeMediaQuick .wwme-media-panel{width:calc(100vw - 18px)!important;inset-inline:9px!important;right:auto!important;left:auto!important}
}

/* Server menu is TEMO UI, not provider/debug text. Do not translate its technical labels. */
#srvSheet[translate="no"] .temo-server-safe-note{display:none!important}
body.wwme-in-room #srvSheet .srv-sub{color:#9fb2ca!important;line-height:1.55!important}


/* ================================================================
   GLOBAL QA15 — F button: FORCE landscape + fullscreen
   ================================================================ */
#fsBtn.ws-force-f-btn{
  position:relative!important;display:inline-grid!important;place-items:center!important;
  width:48px!important;height:48px!important;min-width:48px!important;padding:0!important;
  border:1px solid rgba(103,232,249,.48)!important;border-radius:13px!important;
  background:linear-gradient(145deg,rgba(8,18,33,.97),rgba(13,15,31,.98))!important;
  color:#ecfeff!important;font:950 20px/1 'Orbitron','Cairo',system-ui,sans-serif!important;
  letter-spacing:0!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.04),0 0 18px rgba(34,211,238,.18)!important;
  -webkit-tap-highlight-color:transparent!important;touch-action:manipulation!important;
}
#fsBtn.ws-force-f-btn::before{
  content:"";position:absolute;inset:8px;border:1.5px solid currentColor;border-radius:4px;opacity:.72;pointer-events:none;
}
#fsBtn.ws-force-f-btn::after{
  content:"↻";position:absolute;inset-inline-end:3px;top:1px;font:900 9px/1 system-ui,sans-serif;color:#67e8f9;
  text-shadow:0 0 7px rgba(34,211,238,.8);pointer-events:none;
}
#fsBtn.ws-force-f-btn.is-forced-fullscreen{
  color:#fff!important;border-color:rgba(236,72,153,.75)!important;
  background:linear-gradient(145deg,rgba(29,9,45,.98),rgba(7,27,39,.98))!important;
  box-shadow:0 0 20px rgba(168,85,247,.32),0 0 16px rgba(34,211,238,.22)!important;
}
html.qa15-force-fs-root,body.qa15-force-fs-root{overflow:hidden!important;background:#000!important;overscroll-behavior:none!important}
/* Portrait browsers/WebViews that refuse ScreenOrientation.lock: rotate the whole TEMO watch surface. */
#wsEl.qa15-force-landscape{
  position:fixed!important;top:50%!important;left:50%!important;right:auto!important;bottom:auto!important;
  width:100vh!important;width:100dvh!important;height:100vw!important;height:100dvw!important;
  max-width:none!important;max-height:none!important;margin:0!important;border-radius:0!important;
  transform:translate(-50%,-50%) rotate(90deg)!important;transform-origin:center center!important;
  z-index:2147481000!important;background:#000!important;
}
#wsEl.qa15-force-landscape .ws-frame{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}
#wsEl.qa15-force-landscape #wsFrame,#wsEl.qa15-force-landscape #wsDirectVideo{width:100%!important;height:100%!important;object-fit:contain!important}
#wsEl.qa15-force-landscape .ws-ctrls{z-index:2147481200!important}
#wsEl.qa15-force-landscape #wwmeMediaQuick{z-index:2147481250!important}
body.qa15-force-landscape-root #wwmeDock{z-index:2147481300!important}
@media(max-width:520px){#fsBtn.ws-force-f-btn{width:46px!important;height:46px!important;min-width:46px!important;border-radius:12px!important}}
