/* Centrl native WebView: Android may draw edge-to-edge; force a separate dark band above the complete PDA. */
html.centrl-android-wrapper, html.centrl-android-wrapper body {background:#020716!important;}
html.centrl-android-wrapper body.centrl-pda-standalone #centrl-pda{
  padding-top:28px!important;
  background:#020716!important;
  box-sizing:border-box!important;
}
/* v0.3.1 applies a real system-status-bar inset to the native parent view. */
html.centrl-android-wrapper.centrl-insets-fixed body.centrl-pda-standalone #centrl-pda{
  padding-top:9px!important;
}
html.centrl-android-wrapper body.centrl-pda-standalone #centrl-pda .centrl-pda-device{
  padding-top:9px!important;
}
/* Browser WebView still receives native system inset padding from MainActivity. */

.centrl-native-notif-settings{padding:12px 14px;border:1px solid rgba(62,181,255,.25);background:rgba(8,20,38,.8);border-radius:12px;margin:12px 0;color:#ecf6ff}
.centrl-native-notif-button{width:100%;border:1px solid #40bbf9;background:#092743;color:#fff;padding:12px;font-size:14px;font-weight:700;border-radius:9px;cursor:pointer}
.centrl-native-notif-settings small{display:block;margin-top:6px;opacity:.8}

/* Media upload progress - stays visible while the chat polls/re-renders. */
.centrl-upload-overlay{position:fixed;inset:0;z-index:2147483500;background:rgba(0,5,17,.75);display:flex;align-items:center;justify-content:center;padding:22px;box-sizing:border-box;}
.centrl-upload-card{width:min(100%,340px);display:flex;flex-direction:column;align-items:center;gap:13px;background:linear-gradient(160deg,#132d4d,#071122);border:1px solid rgba(77,169,255,.7);border-radius:19px;box-shadow:0 22px 60px rgba(0,0,0,.55);padding:25px 22px;text-align:center;color:#f0f8ff;font:14px/1.4 system-ui,-apple-system,sans-serif;}
.centrl-upload-card strong{font-size:18px;letter-spacing:.015em;}.centrl-upload-description{color:#bed8f1;font-size:13px;}
.centrl-upload-indicator{width:32px;height:32px;border-radius:50%;border:3px solid rgba(71,161,242,.25);border-top-color:#4ecbff;animation:centrlUploading 1s linear infinite;}
@keyframes centrlUploading{to{transform:rotate(360deg)}}
.centrl-upload-track{width:100%;height:9px;border-radius:99px;background:#233b56;overflow:hidden;}
.centrl-upload-fill{width:0%;height:100%;border-radius:99px;background:linear-gradient(90deg,#27aaff,#7b7cff);transition:width .18s ease;}
.centrl-upload-percent{font-size:21px;font-variant-numeric:tabular-nums;color:#a3e7ff;}.centrl-upload-card small{font-size:11px;color:#adc3de;}
.centrl-media-unavailable{display:block;max-width:220px;padding:16px 12px;color:#b8d8ec;border:1px dashed #40688f;border-radius:10px;font-size:12px;text-align:center;}

/* Centrl v1.0.39 - reliable mobile grid fullscreen button and DOM portal. */
.centrl-pda-shell .pda-grid-toolbar{display:flex;justify-content:flex-end;align-items:center;margin:0 0 10px;position:relative;z-index:3}
.centrl-pda-shell .pda-grid-toolbar .centrl-btn{min-height:40px;white-space:nowrap;background:#102b51;color:#f3f8ff;border:1px solid #3989da;border-radius:11px;padding:8px 15px;font-weight:800;cursor:pointer}
.centrl-grid-fullscreen-overlay{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;z-index:2147483640!important;display:flex!important;flex-direction:column!important;background:#041027!important;color:#f8fbff!important;margin:0!important;padding:0!important;box-sizing:border-box!important;overflow:hidden!important;filter:none!important;transform:none!important;backdrop-filter:none!important}
.centrl-grid-fullscreen-bar{flex:0 0 auto!important;min-height:58px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;padding:10px 14px!important;background:#061a36!important;border-bottom:1px solid #247dd8!important;box-sizing:border-box!important}
.centrl-grid-fullscreen-bar strong{font-size:14px!important;font-weight:800!important;letter-spacing:.03em!important;color:#f0f8ff!important}
.centrl-grid-fullscreen-close{background:#10376b!important;color:#fff!important;border:1px solid #59b5ff!important;border-radius:9px!important;padding:10px 13px!important;font-size:13px!important;font-weight:800!important;cursor:pointer!important;min-height:42px!important}
.centrl-grid-fullscreen-map{position:relative!important;flex:1 1 auto!important;min-height:0!important;width:100%!important;overflow:hidden!important}
.centrl-grid-fullscreen-map .pda-grid-map-host{width:100%!important;height:100%!important;min-height:0!important}
