/* v1.11.58 – Profile-only white full-screen share editor */
.evsm .evs-profile-compose-launch{display:flex;align-items:center;gap:10px;width:100%;min-width:0;background:#fff!important;border:1px solid #e1e8e8;border-radius:19px;padding:9px 11px;margin:0 0 14px;box-sizing:border-box;box-shadow:0 3px 12px rgba(16,63,72,.035)}
.evsm .evs-profile-compose-launch>.evsm-avatar{display:block;width:37px;height:37px;flex:0 0 37px;margin:0;border-radius:50%;object-fit:cover}
.evsm .evs-profile-compose-open{appearance:none;display:block;flex:1;min-width:0;max-width:100%;height:43px;min-height:43px;padding:0 12px;margin:0;border:1px solid #e0e8eb;border-radius:14px;background:#fff!important;color:#738393!important;text-align:left;font:400 15px/43px system-ui,-apple-system,Segoe UI,sans-serif;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;box-sizing:border-box;cursor:text}.evsm .evs-profile-compose-open::before{content:none}
.evsm .evs-profile-compose-open:focus-visible{outline:2px solid #1274bb!important;outline-offset:2px}
.evs-profile-compose-overlay[hidden],.evs-profile-compose-overlay [hidden]{display:none!important}
.evs-profile-compose-overlay{position:fixed!important;z-index:2147483600!important;inset:0;width:100%;height:100dvh;display:flex;flex-direction:column;background:#fff!important;color:#152438!important;box-sizing:border-box;padding:env(safe-area-inset-top,0px) 0 env(safe-area-inset-bottom,0px);font-family:system-ui,-apple-system,Segoe UI,sans-serif;isolation:isolate}
.evs-profile-compose-overlay *, .evs-profile-compose-overlay *::before, .evs-profile-compose-overlay *::after{box-sizing:border-box}
.evs-profile-compose-overlay .evs-profile-compose-form{display:flex;flex-direction:column;flex:1;min-width:0;min-height:0;width:100%;padding:0;margin:0;border:0!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;overflow:hidden}
.evs-profile-compose-overlay .evs-profile-compose-top{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 18px;min-height:68px;background:#fff}
.evs-profile-compose-overlay .evs-profile-compose-close{width:40px;height:40px;flex:0 0 40px;border:0!important;background:transparent!important;color:#1b2736!important;font-size:34px;line-height:1;display:grid;place-items:center;padding:0;cursor:pointer}
.evs-profile-compose-overlay .evs-profile-compose-heading{flex:1;min-width:0;font-size:16px;font-weight:700;color:#27364b}
.evs-profile-compose-overlay .evs-profile-compose-submit{flex:0 0 auto;min-width:94px;min-height:42px;padding:8px 20px;border:0;border-radius:999px;background:#1675b9!important;color:white!important;font:700 15px/1.3 system-ui,-apple-system,Segoe UI,sans-serif;cursor:pointer}
.evs-profile-compose-overlay .evs-profile-compose-submit:disabled{opacity:.45;cursor:default}
.evs-profile-compose-overlay .evs-profile-compose-editor{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;overflow-y:auto;padding:21px 22px 10px;background:#fff}
.evs-profile-compose-overlay textarea[name="content"]{display:block;flex:1 0 140px;width:100%;min-width:0;min-height:140px;max-height:none!important;margin:0;padding:0;background:#fff!important;border:0!important;border-radius:0!important;outline:0!important;box-shadow:none!important;color:#192635!important;resize:none!important;font:400 22px/1.4 system-ui,-apple-system,Segoe UI,sans-serif;overflow-y:auto}
.evs-profile-compose-overlay textarea[name="content"]::placeholder{color:#7c8795;opacity:1}
.evs-profile-compose-overlay .evs-compose-preview{position:relative;flex:0 0 auto;max-width:100%;margin:12px 0 0}
.evs-profile-compose-overlay .evs-compose-preview img,.evs-profile-compose-overlay .evs-compose-preview video{display:block;max-width:100%;width:auto;max-height:240px;border-radius:12px;object-fit:contain}
.evs-profile-compose-overlay .evs-compose-preview button[data-compose-remove]{position:absolute;top:6px;right:6px;display:grid;place-items:center;border:0;border-radius:50%;width:32px;height:32px;font-size:24px;color:#fff;background:#263648}
.evs-profile-compose-overlay .evs-profile-compose-footer{position:relative;flex:0 0 auto;min-width:0;padding:12px 19px 14px;border-top:1px solid #e6eaef;background:#fff;box-shadow:0 -3px 12px rgba(0,0,0,.018)}
.evs-profile-compose-overlay .evs-audience{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:5px;width:max-content;max-width:100%;margin:0 0 6px;padding:0;font-size:11px;font-weight:500;color:#768493}
.evs-profile-compose-overlay .evs-audience .evs-audience-icon{font-size:12px;line-height:1;filter:grayscale(.75);opacity:.7}
.evs-profile-compose-overlay .evs-audience select{border:1px solid #e8eef2!important;border-radius:7px;background:#fff!important;color:#516779!important;min-height:28px;max-width:190px;width:auto;margin:0;padding:3px 5px;font:500 11px/1.2 system-ui,-apple-system,Segoe UI,sans-serif}
.evs-profile-compose-overlay .evs-profile-compose-media{position:relative;display:flex;align-items:center;gap:8px;min-height:40px}
.evs-profile-compose-overlay button[data-compose-add]{display:grid;place-items:center;width:41px;height:41px;padding:5px;border:0!important;border-radius:50%;background:transparent!important;color:#0b84ca!important;cursor:pointer}
.evs-profile-compose-overlay .evs-compose-sources{position:absolute;bottom:calc(100% + 6px);left:0;z-index:4;display:grid;grid-template-columns:1fr 1fr;gap:6px;width:min(320px,calc(100vw - 38px));padding:9px;background:#fff!important;border:1px solid #dfe7ef;border-radius:15px;box-shadow:0 5px 25px rgba(19,51,79,.14)}
.evs-profile-compose-overlay .evs-compose-sources .evs-compose-source-option{position:relative;display:flex;align-items:center;justify-content:center;min-height:44px;padding:9px 10px;margin:0;border:0;border-radius:10px;background:#eef6fb!important;color:#174e71!important;font:600 13px/1.3 system-ui,-apple-system,Segoe UI,sans-serif;cursor:pointer;text-align:center}/* Keep native file inputs physically touchable: Android WebView needs the
   actual input to receive the gesture to launch its gallery/camera picker. */
.evs-profile-compose-overlay .evs-compose-sources .evs-compose-source-option input[type="file"]{position:absolute!important;inset:0!important;z-index:2!important;display:block!important;visibility:visible!important;width:100%!important;height:100%!important;max-width:none!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;opacity:0!important;pointer-events:auto!important;cursor:pointer!important;font-size:0!important}
.evs-profile-compose-overlay .evs-compose-status{margin:4px 0 0;color:#43556b;font-size:13px;line-height:1.4;overflow-wrap:anywhere}
.evs-profile-compose-overlay .evs-compose-status:empty{display:none}
@media(max-width:430px){.evs-profile-compose-overlay .evs-profile-compose-top{min-height:58px;padding:8px 13px}.evs-profile-compose-overlay .evs-profile-compose-editor{padding:15px 16px 8px}.evs-profile-compose-overlay textarea[name="content"]{font-size:20px}.evs-profile-compose-overlay .evs-profile-compose-footer{padding:10px 15px 12px}.evs-profile-compose-overlay .evs-profile-compose-heading{font-size:14px}}

/* v1.11.61 – Keep the profile composer prompt visible across Android WebView and WordPress themes. */
.evsm .evs-profile-compose-launch > button.evs-profile-compose-open {
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  color:#687b8f!important;-webkit-text-fill-color:#687b8f!important;opacity:1!important;
  font-size:16px!important;line-height:1.35!important;text-indent:0!important;
}
.evsm .evs-profile-compose-launch > button.evs-profile-compose-open > .evs-profile-compose-prompt {
  display:block!important;position:static!important;visibility:visible!important;opacity:1!important;
  color:#687b8f!important;-webkit-text-fill-color:#687b8f!important;
  font:400 16px/1.35 system-ui,-apple-system,Segoe UI,sans-serif!important;
  text-align:left!important;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;
  pointer-events:none;
}

/* v1.11.64: Full WebView editor with native advertisement suspended. */
.evs-profile-compose-overlay:not([hidden]){
  inset-inline:0!important;
  overflow:hidden!important;
}

/* No AdSense or APK Create advertisement may overlap the profile composer.
   These HTML rules complement the native setDrawerOpen(true) suspension. */
html.evs-compose-open #apk-create-native-banner-slot,
html.evs-compose-open .ev2-banner-host,
html.evs-compose-open .ev-apk-ad-anchor,
html.evs-compose-open [data-ev-ad-anchor],
html.evs-compose-open ins.adsbygoogle,
html.evs-compose-open .google-auto-placed,
html.evs-compose-open iframe[id^="google_ads_iframe"]{
  visibility:hidden!important;pointer-events:none!important;
}
html.evs-compose-open .evs-profile-compose-overlay:not([hidden]){
  z-index:2147483640!important;background:#fff!important;
  left:0!important;right:0!important;bottom:auto!important;
  margin:0!important;border:0!important;border-radius:0!important;
}

/* v1.11.65: menu stays visible until a selected file arrives / cancellation. */
.evs-profile-compose-overlay .evs-compose-sources .evs-compose-source-option:focus-within{outline:2px solid #117bb9;outline-offset:2px}

/* v1.11.67: native details menu survives delayed JavaScript in Android WebView. */
.evs-profile-compose-overlay .evs-profile-media-picker{position:relative;display:flex;align-items:center;min-width:46px;min-height:44px}
.evs-profile-compose-overlay .evs-profile-media-picker>summary{display:grid!important;place-items:center;width:44px;height:44px;cursor:pointer;list-style:none;color:#0b84ca!important;background:#fff!important;border-radius:50%;touch-action:manipulation}
.evs-profile-compose-overlay .evs-profile-media-picker>summary::-webkit-details-marker{display:none}
.evs-profile-compose-overlay .evs-profile-media-picker:not([open])>.evs-compose-sources{display:none!important}
.evs-profile-compose-overlay .evs-profile-media-picker[open]>.evs-compose-sources{display:grid!important;position:absolute;bottom:calc(100% + 6px);left:0;z-index:10}
.evs-profile-compose-overlay .evs-profile-media-picker .evs-compose-source-option{position:relative;overflow:hidden;cursor:pointer;touch-action:manipulation}
.evs-profile-compose-overlay .evs-profile-media-picker .evs-compose-source-option input[type=file]{position:absolute!important;inset:0!important;opacity:0!important;z-index:3!important;display:block!important;width:100%!important;height:100%!important;pointer-events:auto!important;touch-action:manipulation}


/* v1.11.68: Keep all four native media choices IN the visible composer footer.
   In v1.11.67 the popup was absolutely positioned, and APK WebView could
   paint it below the visible viewport or clip it through a flex/overflow layer.
   Let opening <details> expand the footer upwards while the editor shrinks. */
.evs-profile-compose-overlay .evs-profile-compose-footer {
  max-height:min(350px,calc(var(--evs-compose-visible-height,100dvh) - 75px))!important;
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
}
.evs-profile-compose-overlay .evs-profile-compose-media {
  display:block!important;
  width:100%!important;
  min-height:44px!important;
}
.evs-profile-compose-overlay .evs-profile-media-picker {
  display:block!important;
  width:100%!important;
  min-width:0!important;
  position:static!important;
}
.evs-profile-compose-overlay .evs-profile-media-picker > summary {
  display:inline-grid!important;
  vertical-align:middle!important;
  margin:0!important;
}
.evs-profile-compose-overlay .evs-profile-media-picker[open] > .evs-compose-sources {
  display:grid!important;
  position:static!important;
  left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;
  width:100%!important;
  margin:8px 0 0!important;
  padding:8px!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
  box-shadow:none!important;
  max-height:190px!important;
  overflow-y:auto!important;
  transform:none!important;
}
.evs-profile-compose-overlay .evs-profile-media-picker .evs-compose-source-option {
  min-width:0!important;
  min-height:54px!important;
  white-space:normal!important;
}


/* v1.11.69: Compact selected-media thumbnail with a tap-to-enlarge viewer.
   Only the profile's new-post editor is affected; existing published posts keep
   their original media layout. */
.evs-profile-compose-overlay .evs-profile-compose-editor .evs-compose-preview:not([hidden]){
  position:relative!important;display:inline-block!important;flex:0 0 auto!important;
  width:116px!important;height:116px!important;max-width:116px!important;
  margin:12px 0 4px!important;padding:0!important;overflow:visible!important;
}
.evs-profile-compose-overlay .evs-compose-preview .evs-compose-thumb{
  position:relative!important;display:block!important;width:116px!important;height:116px!important;
  max-width:116px!important;min-width:0!important;min-height:0!important;
  padding:0!important;margin:0!important;border:1px solid #d8e2ea!important;
  border-radius:14px!important;overflow:hidden!important;
  background:#eff4f7!important;cursor:zoom-in!important;
  -webkit-tap-highlight-color:transparent;touch-action:manipulation;
}
.evs-profile-compose-overlay .evs-compose-preview .evs-compose-thumb img:not([hidden]),
.evs-profile-compose-overlay .evs-compose-preview .evs-compose-thumb video:not([hidden]){
  display:block!important;width:100%!important;height:100%!important;max-height:none!important;
  max-width:none!important;margin:0!important;border-radius:0!important;object-fit:cover!important;
  pointer-events:none!important;
}
.evs-profile-compose-overlay .evs-compose-preview .evs-compose-expand-hint{
  position:absolute;left:7px;bottom:7px;display:grid;place-items:center;
  width:27px;height:27px;border-radius:8px;background:#122334bc;color:white;
  font:23px/1 system-ui,sans-serif;pointer-events:none;
}
.evs-profile-compose-overlay .evs-compose-preview button[data-compose-remove]{
  position:absolute!important;z-index:3!important;top:-9px!important;right:-9px!important;
  width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;
  background:#25364b!important;color:white!important;display:grid!important;
  place-items:center!important;padding:0!important;border:2px solid white!important;
  border-radius:50%!important;cursor:pointer;
}
.evs-profile-compose-overlay .evs-compose-zoom[hidden]{display:none!important}
.evs-profile-compose-overlay .evs-compose-zoom:not([hidden]){
  position:absolute!important;inset:0!important;z-index:200!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  padding:60px 16px 22px!important;background:#0b1119f5!important;
  color:#fff!important;overflow:hidden!important;
}
.evs-profile-compose-overlay .evs-compose-zoom .evs-compose-zoom-close{
  position:absolute!important;z-index:3!important;top:12px!important;right:16px!important;
  width:44px!important;height:44px!important;min-height:44px!important;
  border:0!important;border-radius:50%!important;background:#ffffff24!important;color:white!important;
  font:34px/1 system-ui,sans-serif!important;display:grid!important;place-items:center!important;
  padding:0!important;cursor:pointer;
}
.evs-profile-compose-overlay .evs-compose-zoom .evs-compose-zoom-stage{
  width:100%!important;height:100%!important;display:flex!important;align-items:center!important;
  justify-content:center!important;min-width:0!important;min-height:0!important;
}
.evs-profile-compose-overlay .evs-compose-zoom .evs-compose-zoom-stage img:not([hidden]),
.evs-profile-compose-overlay .evs-compose-zoom .evs-compose-zoom-stage video:not([hidden]){
  display:block!important;max-width:100%!important;max-height:100%!important;width:auto!important;
  height:auto!important;object-fit:contain!important;border-radius:8px!important;
  background:#111!important;
}
.evs-profile-compose-overlay .evs-compose-zoom .evs-compose-zoom-stage video:not([hidden]){
  width:100%!important;max-height:80dvh!important;
}
