/* DG64 – real Instagram-like portrait feed and smooth reel presentation.
 * CSS-only additive layout: original content, API, age and moderation remain unchanged. */
#page-home .r121-feed-canvas,
body.dg55-social #page-home .r121-feed-canvas,
body.dg59-visual #page-home .r121-feed-canvas {
  display:grid;
  grid-template-columns:minmax(0,1fr)!important;
  gap:18px;
  width:100%;
  max-width:540px!important;
  margin-inline:auto;
  min-width:0;
}
#page-home .r121-feed-canvas :is(.u2-post,.u3-adult-post) {
  width:100%;
  max-width:540px!important;
  min-width:0;
  margin-inline:auto;
  overflow:hidden;
}
#page-home .r121-feed-canvas .u2-post-art {
  display:flex;
  width:100%;
  height:auto;
  min-height:0!important;
  aspect-ratio:4 / 5;
  padding:20px;
  border-radius:0;
  overflow:hidden;
}
#page-home .r121-feed-canvas .u2-post-art > :is(img,video) {
  width:100%;
  height:100%;
  max-height:100%;
  object-fit:contain;
}
#page-home .r121-feed-canvas .u3-adult-body :is(img,video) {
  width:100%;
  height:auto;
  max-height:none;
  aspect-ratio:4 / 5;
  object-fit:contain;
  background:#ece8f6;
}
#page-home .u3-adult-feed-zone {
  width:100%;
  max-width:540px!important;
  margin-inline:auto;
}
#page-home #adultOriginalFeed {
  grid-template-columns:minmax(0,1fr)!important;
}
#page-home .r121-feed-canvas .u3-more {width:100%}
#page-reels .dg4-frame {
  scroll-behavior:smooth;
  scroll-snap-type:y mandatory;
  overscroll-behavior-y:contain;
}
@media(max-width:600px){
  #page-home .r121-feed-canvas {gap:12px}
  #page-home .r121-feed-canvas .u2-post-art{padding:14px}
}
@media(prefers-reduced-motion:reduce){
  #page-reels .dg4-frame{scroll-behavior:auto!important}
}
