/* Shared app layout rules; activate only with the Stage 4 native capability. */
@media (min-width:1025px){
            /* The compact More button opens Full View, not the desktop action sheet.
               Give the panel its own definite size on wide Android WebViews. */
            html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] .qa-d38c-overlay {
              display:flex!important;position:fixed!important;left:0!important;right:0!important;
              top:var(--sehaj-dialog-top,0px)!important;bottom:auto!important;
              height:var(--sehaj-dialog-height,100dvh)!important;max-height:none!important;
              align-items:center!important;justify-content:center!important;padding:8px!important;box-sizing:border-box!important;
            }
            html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] .qa-d38c-overlay>.qa-d38c-panel {
              display:flex!important;flex-direction:column!important;flex:0 1 900px!important;
              position:relative!important;inset:auto!important;width:100%!important;max-width:900px!important;
              height:100%!important;max-height:100%!important;min-height:0!important;
              visibility:visible!important;opacity:1!important;transform:none!important;
              margin:0!important;padding:0!important;background:white!important;overflow:hidden!important;
            }
            html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] .qa-d38c-panel>.qa-d38c-header {
              display:flex!important;flex:0 0 auto!important;position:static!important;
              min-height:48px!important;padding:2px 10px!important;box-sizing:border-box!important;
            }
            html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] .qa-d38c-panel>.qa-d38c-body {
              display:block!important;flex:1 1 0%!important;min-height:0!important;
              overflow-y:auto!important;padding:10px!important;
            }
            }

html:where([data-sehaj-shared-layouts="true"]) #mainPunjabiKeyboardBtn[aria-expanded="true"]{background:#dbeafe!important;color:#174ea6!important;border:2px solid #2563eb!important;box-shadow:0 0 0 2px #bfdbfe!important;white-space:normal!important;max-width:140px!important;line-height:1.25!important;padding:4px 6px!important;}
html:where([data-sehaj-shared-layouts="true"])[data-sehaj-punjabi-short="true"] .audio-player-bar{display:none!important;}
@media (orientation:landscape) {
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] #queueModal,
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] #settingsModal,
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] #privacyDialog,
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] #selfDeleteDialog {
  top:var(--sehaj-dialog-top,0px)!important;bottom:auto!important;
  height:var(--sehaj-dialog-height,100dvh)!important;max-height:var(--sehaj-dialog-height,100dvh)!important;
  padding:4px 8px!important;box-sizing:border-box!important;
 }
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] #queueModal>.queue-modal-content,
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] body #settingsModal.settings-modal.active>.settings-modal-content,
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] #privacyDialog>.legal-reader-panel,
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] #selfDeleteDialog>.self-delete-panel {
  width:100%!important;max-width:1100px!important;height:100%!important;max-height:100%!important;
  min-height:0!important;margin:0 auto!important;padding:0!important;box-sizing:border-box!important;
 }
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] #queueModal .queue-modal-header,
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] #settingsModal .settings-modal-header,
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] #privacyDialog .legal-reader-header,
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] #selfDeleteDialog .self-delete-header {
  min-height:48px!important;height:auto!important;max-height:none!important;
  padding:2px 10px!important;gap:8px!important;box-sizing:border-box!important;flex:0 0 auto!important;
 }
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] :is(#queueModal,#settingsModal,#privacyDialog,#selfDeleteDialog) :is(.queue-modal-header,.settings-modal-header,.legal-reader-header,.self-delete-header) :is(h2,h3,span) {
  margin:0!important;padding:0!important;line-height:1.25!important;font-size:18px!important;
 }
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] :is(#queueModal,#settingsModal,#privacyDialog,#selfDeleteDialog) :is(.queue-modal-header,.settings-modal-header,.legal-reader-header,.self-delete-header) button {
  width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;
  max-width:44px!important;max-height:44px!important;flex:0 0 44px!important;margin:0!important;padding:0!important;font-size:26px!important;
 }
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] #queueModal>.queue-modal-content {
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  grid-template-rows:auto auto auto minmax(0,1fr)!important;overflow:hidden!important;
 }
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] #queueModal .queue-modal-header {grid-column:1/-1;grid-row:1;}
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] #queueOfflineModalNotice {grid-column:1/-1;grid-row:2;margin:0!important;padding:4px 10px!important;}
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] #queueModal .settings-option-row {grid-column:1;grid-row:3;padding:4px 10px!important;margin:0!important;gap:8px!important;min-height:44px!important;align-self:center;}
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] #queueModal .settings-option-row input {width:22px!important;height:22px!important;flex:0 0 22px!important;}
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] #qaD38AEditControls {grid-column:2;grid-row:3;padding:4px 8px!important;min-width:0!important;}
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] #qaD38AEditControls button {min-height:44px!important;padding:4px 6px!important;font-size:14px!important;}
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] #qaD38AEditControls .qa-d38a-editor-bar {gap:4px!important;}
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] #qaD38AEditControls .qa-d38a-select-row {padding:0!important;margin:0!important;min-height:28px!important;}
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] #qaD38AEditControls .qa-d38a-select-row button {min-height:28px!important;}
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] #queueModalList {grid-column:1/-1;grid-row:4;min-height:0!important;overflow-y:auto!important;padding:0!important;}
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] #queueModalList+div:has(>#clearQueueBtn) {display:none!important;}
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] #settingsModal .settings-modal-body,
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] #privacyContent,
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] #selfDeleteDialog .self-delete-body {
  flex:1 1 0%!important;min-height:0!important;overflow-y:auto!important;padding:6px 12px 10px!important;
 }
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] #settingsModal[data-qa-d37-page="contact"] .settings-card {padding:0!important;margin:0!important;}
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] #settingsModal[data-qa-d37-page="contact"] .settings-card>h3 {display:none!important;}
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] #settingsModal[data-qa-d37-page="contact"] .settings-card>p:first-of-type {margin:0 0 6px!important;}
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] #settingsModal[data-qa-d37-page="contact"] form>label {margin:8px 0 4px!important;}
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] #qaD40Message {height:96px!important;height:clamp(72px,30dvh,160px)!important;min-height:72px!important;}
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] #privacyStatus:empty {display:none!important;}
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] #privacyContent>:first-child,
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] #privacyContent :is(h1,h2,h3):first-child,
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] #selfDeleteDialog .self-delete-body>:first-child {margin-top:0!important;padding-top:0!important;}
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] #selfDeleteDialog .self-delete-actions {padding:4px 10px!important;gap:8px!important;flex-direction:row!important;flex-wrap:nowrap!important;}
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] #selfDeleteDialog .self-delete-actions button {width:auto!important;min-height:44px!important;padding:6px 10px!important;flex:1 1 0;}
 /* With a landscape keyboard there may be less than 150px left. Keep the input
    and actions in one scroll flow rather than pinning a footer across the input. */
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-short-dialog="true"] #selfDeleteDialog>.self-delete-panel {
  display:block!important;overflow-y:auto!important;scroll-padding-top:56px!important;
 }
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-short-dialog="true"] #selfDeleteDialog .self-delete-header {
  position:sticky!important;top:0!important;z-index:2;background:white!important;
 }
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-short-dialog="true"] #selfDeleteDialog .self-delete-body {
  display:block!important;overflow:visible!important;flex:none!important;
 }
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-short-dialog="true"] #selfDeleteInput {min-height:48px!important;scroll-margin-top:56px;scroll-margin-bottom:12px;}
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-short-dialog="true"] #selfDeleteDialog .self-delete-actions {
  position:static!important;margin-top:8px!important;
 }
}
/* Compact phone landscape controls leave the remaining width to the seek row. */
html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets][data-sehaj-video-landscape="true"] body .audio-player-bar {
 gap:6px!important;padding-left:8px!important;padding-right:8px!important;
}
html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets][data-sehaj-video-landscape="true"] body .audio-player-bar #playerInfo {
 flex:0 0 auto!important;width:auto!important;min-width:0!important;max-width:64px!important;gap:2px!important;
}
html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets][data-sehaj-video-landscape="true"] body .audio-player-bar #playerInfo .player-text {
 flex:0 1 12px!important;width:12px!important;max-width:12px!important;min-width:0!important;
}
html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets][data-sehaj-video-landscape="true"] body .audio-player-bar #stopClosePlayerBtn {
 flex:0 0 48px!important;width:48px!important;min-width:48px!important;max-width:48px!important;
 min-height:44px!important;padding:6px 3px!important;white-space:nowrap!important;
}
html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets][data-sehaj-video-landscape="true"] body .audio-player-bar .player-controls-extra {
 flex:0 0 auto!important;width:auto!important;min-width:0!important;gap:4px!important;flex-wrap:nowrap!important;
}
html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets][data-sehaj-video-landscape="true"] body .audio-player-bar .player-controls-extra .player-btn {
 flex:0 0 auto!important;width:auto!important;min-width:44px!important;min-height:44px!important;
 padding:6px!important;white-space:nowrap!important;
}
html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets][data-sehaj-video-landscape="true"] body .audio-player-bar #mediaPlayerContainer {
 flex:1 1 0%!important;width:auto!important;min-width:0!important;max-width:none!important;
}
html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets][data-sehaj-video-landscape="true"] body .audio-player-bar #androidNativeControls {
 flex-wrap:nowrap!important;gap:5px!important;min-width:0!important;width:100%!important;
}
html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets][data-sehaj-video-landscape="true"] body .audio-player-bar #nativeSeekWrap {
 flex:1 1 0%!important;min-width:60px!important;
}
html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets][data-sehaj-video-landscape="true"] body .audio-player-bar :is(#nativeTime,#nativeDuration) {
 flex:0 0 auto!important;white-space:nowrap!important;
}
/* Use measured tablet portrait dimensions; WebView media-query dimensions can differ. */
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets][data-sehaj-tablet-player="two-row"] body .audio-player-bar {
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;gap:6px 8px!important;padding:8px 12px!important;
 }
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets][data-sehaj-tablet-player="two-row"] body .audio-player-bar #playerInfo {
  grid-column:1!important;grid-row:1!important;width:auto!important;min-width:0!important;
 }
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets][data-sehaj-tablet-player="two-row"] body .audio-player-bar .player-controls-extra {
  grid-column:2!important;grid-row:1!important;width:auto!important;min-width:0!important;
  display:flex!important;flex-wrap:wrap!important;justify-content:flex-end!important;
 }
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets][data-sehaj-tablet-player="two-row"] body .audio-player-bar #mediaPlayerContainer {
  grid-column:1/-1!important;grid-row:2!important;display:flex!important;
  width:100%!important;max-width:none!important;min-width:0!important;
 }
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets][data-sehaj-tablet-player="two-row"] body .audio-player-bar #androidNativeControls {
  width:100%!important;min-width:0!important;flex-wrap:nowrap!important;
 }
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets][data-sehaj-tablet-player="two-row"] body .audio-player-bar #nativeSeekWrap {
  flex:1 1 0%!important;min-width:0!important;min-height:44px!important;
 }
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets][data-sehaj-tablet-player="two-row"] body .audio-player-bar :is(#nativeTime,#nativeDuration) {
  flex:0 0 auto!important;white-space:nowrap!important;
 }
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets][data-sehaj-tablet-player="two-row"] body .audio-player-bar #queueOfflinePlayerNotice:not([hidden]) {grid-column:1/-1!important;grid-row:3!important;}
 html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets][data-sehaj-tablet-player="two-row"] body:has(.audio-player-bar) {padding-bottom:160px!important;}
/* Landscape Full View uses the shabad title row as its compact header. */
html:where([data-sehaj-shared-layouts="true"])[data-sehaj-fullview-landscape="true"] .qa-d38c-panel>.qa-d38c-header {
 display:none!important;
}
html:where([data-sehaj-shared-layouts="true"])[data-sehaj-fullview-landscape="true"] .qa-d38c-title-row {
 display:flex!important;align-items:center!important;gap:6px!important;min-width:0!important;
}
html:where([data-sehaj-shared-layouts="true"])[data-sehaj-fullview-landscape="true"] .qa-d38c-title-row>.qa-d38c-current-title {
 flex:1 1 0%!important;min-width:0!important;
}
html:where([data-sehaj-shared-layouts="true"])[data-sehaj-fullview-landscape="true"] .qa-d38c-title-row>.qa-d38c-x {
 position:static!important;flex:0 0 44px!important;width:44px!important;min-width:44px!important;
 height:44px!important;min-height:44px!important;margin:0!important;padding:0!important;
 align-self:flex-start!important;border:1px solid #94a3b8!important;background:#fff!important;color:#1e293b!important;
}
/* Short phone landscape: fit the complete video within the visible height.
   Keep details/transport below it in the existing scroll body. */
html:where([data-sehaj-shared-layouts="true"])[data-sehaj-video-landscape="true"] .qa-d38c-overlay:has(.qa-d38c-video-slot) {
 padding:4px!important;height:var(--sehaj-dialog-height,100dvh)!important;box-sizing:border-box!important;
}
html:where([data-sehaj-shared-layouts="true"])[data-sehaj-video-landscape="true"] .qa-d38c-overlay:has(.qa-d38c-video-slot)>.qa-d38c-panel {
 width:100%!important;max-width:none!important;height:100%!important;max-height:100%!important;min-height:0!important;
}
html:where([data-sehaj-shared-layouts="true"])[data-sehaj-video-landscape="true"] .qa-d38c-overlay:has(.qa-d38c-video-slot) .qa-d38c-header {
 min-height:44px!important;padding:2px 8px!important;font-size:18px!important;flex:0 0 auto!important;
}
html:where([data-sehaj-shared-layouts="true"])[data-sehaj-video-landscape="true"] .qa-d38c-overlay:has(.qa-d38c-video-slot) .qa-d38c-header button {
 width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;margin:0!important;
}
html:where([data-sehaj-shared-layouts="true"])[data-sehaj-video-landscape="true"] .qa-d38c-overlay:has(.qa-d38c-video-slot) .qa-d38c-body {
 padding:4px 8px!important;min-height:0!important;overflow-y:auto!important;
}
html:where([data-sehaj-shared-layouts="true"])[data-sehaj-video-landscape="true"] .qa-d38c-video-slot {
 height:max(60px,calc(var(--sehaj-dialog-height,100dvh) - 72px))!important;
 min-height:0!important;margin:0 0 8px!important;
}
html:where([data-sehaj-shared-layouts="true"])[data-sehaj-video-landscape="true"] .qa-d38c-video-slot #videoModal.qa-d38c-embedded-video,
html:where([data-sehaj-shared-layouts="true"])[data-sehaj-video-landscape="true"] .qa-d38c-video-slot #videoModal .video-modal-content {
 height:100%!important;max-height:100%!important;min-height:0!important;aspect-ratio:auto!important;padding:0!important;
}
html:where([data-sehaj-shared-layouts="true"])[data-sehaj-video-landscape="true"] .qa-d38c-video-slot #videoModal :is(video,iframe) {
 width:100%!important;height:100%!important;min-height:0!important;
 max-height:100%!important;aspect-ratio:auto!important;object-fit:contain!important;background:#000!important;
}
/* Cloud Sync and its age gate must have a definite panel height on tablets.
   The catalog's auto-height flex chain can otherwise collapse inside the backdrop. */
html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] :is(#authModal,#cloudAgeModal).active {
 display:flex!important;position:fixed!important;left:0!important;right:0!important;bottom:auto!important;
 top:var(--sehaj-dialog-top,0px)!important;height:var(--sehaj-dialog-height,100dvh)!important;
 max-height:var(--sehaj-dialog-height,100dvh)!important;min-height:0!important;
 padding:8px!important;margin:0!important;box-sizing:border-box!important;
 align-items:center!important;justify-content:center!important;overflow:hidden!important;
}
html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] :is(#authModal,#cloudAgeModal)>.auth-modal-content {
 display:flex!important;flex-direction:column!important;flex:0 1 auto!important;
 position:relative!important;inset:auto!important;transform:none!important;
 width:100%!important;max-width:650px!important;height:100%!important;max-height:700px!important;
 min-height:0!important;margin:0 auto!important;padding:0!important;box-sizing:border-box!important;
 background:white!important;visibility:visible!important;opacity:1!important;overflow:hidden!important;
}
html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] #cloudAgeModal>.auth-modal-content {max-width:470px!important;max-height:440px!important;}
html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] :is(#authModal,#cloudAgeModal) .auth-modal-header {
 display:flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:space-between!important;
 min-height:48px!important;padding:2px 10px!important;gap:8px!important;font-size:18px!important;
 line-height:1.3!important;box-sizing:border-box!important;
}
html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] :is(#authModal,#cloudAgeModal) .close-auth-modal-btn {
 flex:0 0 44px!important;width:44px!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0!important;
}
html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] :is(#authModal,#cloudAgeModal) .auth-modal-body {
 display:block!important;flex:1 1 0%!important;min-height:0!important;height:auto!important;
 overflow-y:auto!important;overflow-x:hidden!important;padding:12px 16px!important;box-sizing:border-box!important;
 overscroll-behavior:contain;scroll-padding:12px;
}
html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] :is(#authModal,#cloudAgeModal) .auth-modal-body>:first-child {margin-top:0!important;}
html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] #authModal #cloudOtpActionDock:not([hidden]) {flex:0 0 auto!important;}
/* Gallery thumbnails need a definite scroll track on tablet flex layouts.
   Apply in both orientations; only the thumbnail list scrolls under the header. */
html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] #photoGalleryModal.active {
 display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;
 grid-template-rows:44px minmax(0,1fr)!important;gap:8px!important;
 position:fixed!important;left:0!important;right:0!important;bottom:auto!important;
 top:var(--sehaj-dialog-top,0px)!important;
 height:var(--sehaj-dialog-height,100dvh)!important;max-height:var(--sehaj-dialog-height,100dvh)!important;
 min-height:0!important;padding:8px 12px!important;margin:0!important;
 box-sizing:border-box!important;overflow:hidden!important;align-items:stretch!important;justify-content:stretch!important;
}
html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] #photoGalleryModal>h3 {
 grid-column:1;grid-row:1;align-self:center!important;text-align:left!important;
 margin:0!important;padding:0!important;font-size:20px!important;line-height:1.3!important;
}
html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] #photoGalleryModal>#closePhotoGalleryBtn {
 grid-column:2;grid-row:1;position:static!important;inset:auto!important;
 width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;
 margin:0!important;padding:0!important;align-self:center!important;justify-self:end!important;
}
html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] #photoGalleryModal>#pswpGalleryContainer {
 grid-column:1/-1;grid-row:2;display:grid!important;
 grid-template-columns:repeat(auto-fill,minmax(130px,1fr))!important;
 grid-auto-rows:max-content!important;align-content:start!important;gap:10px!important;
 width:100%!important;max-width:1200px!important;height:100%!important;max-height:none!important;
 min-height:0!important;min-width:0!important;justify-self:center!important;box-sizing:border-box!important;
 overflow-y:auto!important;overflow-x:hidden!important;padding:10px!important;margin:0!important;
 -webkit-overflow-scrolling:touch;overscroll-behavior:contain;
}
html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] #pswpGalleryContainer>a {
 display:block!important;width:100%!important;height:140px!important;min-height:140px!important;
 box-sizing:border-box!important;overflow:hidden!important;
}
html:where([data-sehaj-shared-layouts="true"])[data-sehaj-native-insets] #pswpGalleryContainer>a img {
 display:block!important;width:100%!important;height:100%!important;min-height:0!important;object-fit:cover!important;
}

