/* 9:16 cards are exactly 202 x 360 */
.grid > li:has(.card-shell.is-portrait),
.card-shell.is-portrait {
  width: 202px !important;
  max-width: 202px !important;
  justify-self: center;
  margin-left: auto;
  margin-right: auto;
}
.card-shell.is-portrait .thumb-stage,
.card-shell.is-portrait .card,
.card-shell.is-portrait .thumb,
.card .thumb.is-portrait,
.thumb.is-portrait {
  width: 202px !important;
  height: 360px !important;
  max-width: 202px !important;
  max-height: 360px !important;
  aspect-ratio: 202 / 360 !important;
}
.card-shell.is-portrait .thumb img,
.thumb.is-portrait img {
  width: 202px !important;
  height: 360px !important;
  object-fit: cover;
}
.lightbox-stage [data-lb-media] img:not(.nest-mark),
.lightbox-stage [data-lb-media] video {
  max-width: min(96vw, 1100px);
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}
.lightbox-stage [data-lb-media].is-portrait img:not(.nest-mark),
.lightbox-stage [data-lb-media].is-portrait video,
.lightbox-stage [data-lb-media]:has(video[data-portrait]) video {
  max-width: min(420px, 92vw);
  max-height: 82vh;
}
[data-lb-media],
.item-still {
  position: relative;
}
.nest-mark {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 28%;
  max-width: 180px;
  height: auto !important;
  max-height: none !important;
  pointer-events: none;
  z-index: 4;
  object-fit: contain !important;
  margin: 0 !important;
  display: block;
  filter: drop-shadow(0 2px 4px rgb(28 58 24 / 0.45));
}
.item-still.is-portrait .nest-mark,
[data-lb-media]:has(video[data-portrait]) .nest-mark {
  width: 42%;
}
.nest-poll-pick img { background: transparent !important; }
.nest-poll-bar {
  display: block;
  height: 10px;
  margin: 0.35rem 0 0;
  background: #ead9b4;
  border-radius: 99px;
  overflow: hidden;
  max-width: 22rem;
}
.nest-poll-bar > span {
  display: block;
  height: 100%;
  background: #1e6b2a;
  border-radius: 99px;
}
.nest-poll-count, .nest-poll-picked { font-weight: 800; }
.nest-poll-pick.is-mine { outline: 2px solid #1e6b2a; outline-offset: 8px; border-radius: 8px; }
