/* Movie card (flat print poster, ticket-stub badge): poster, watchlist badge, shared button, body, saw-it buttons, overflow menu, skeleton */
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 12px;
  margin-top: 18px;
}
@media (min-width: 560px) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 720px) {
  .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.card {
  min-width: 0;
  position: relative;
}
.card.new {
  animation: in 0.25s ease both;
}
.ct {
  min-width: 0;
  overflow-wrap: anywhere;
  margin-top: 10px;
}
.post {
  display: block;
  aspect-ratio: 2/3;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-card);
  background: var(--sf2);
  box-shadow: 0 0 0 1px var(--bd);
}
.post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.3s;
}
.post img.ld {
  opacity: 1;
}
.post .ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 10px;
  text-align: center;
  font-size: 13px;
  color: var(--mut);
}
.tag {
  position: absolute;
  left: 6px;
  bottom: 6px;
  max-width: calc(100% - 12px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  border-radius: var(--radius-xs);
  display: inline-flex;
  align-items: center;
  background: var(--fg);
  color: var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  padding: 4px 7px;
}
.ct .ti {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ct .yr {
  color: var(--mut);
  font-weight: 400;
}
.ct .meta {
  font: 11.5px/1.5 var(--font-mono);
  color: var(--mut);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.svc {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
  min-width: 0;
}
.svc span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 500;
  background: transparent;
  color: var(--mut);
  box-shadow: inset 0 0 0 1px var(--bd);
  border-radius: var(--radius-xs);
  padding: 2px 6px;
}
.svc span.s {
  color: var(--fg);
  box-shadow: inset 0 0 0 1px var(--bd2);
}
.src {
  font-size: 12px;
  color: var(--mut);
  margin-top: 6px;
  line-height: 1.5;
}
.src i {
  font-style: normal;
  color: var(--fg);
}
.sk {
  aspect-ratio: 2/3;
  animation: sh 1.2s infinite linear;
  border-radius: var(--radius-card);
  background: linear-gradient(100deg, #1d1446 30%, #2b2063 50%, #1d1446 70%);
  background-size: 300% 100%;
}
.acts {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 36px;
  gap: 5px;
  margin-top: 10px;
}
.acts.solo {
  grid-template-columns: 1fr 36px;
}
.acts.solo .more {
  grid-column: 2;
}
.saw {
  min-width: 0;
  padding: 5px 4px;
  color: var(--fg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.15;
  min-height: 44px;
  background: var(--sf);
  border: 1px solid var(--bd);
  border-radius: var(--radius-control);
}
.saw b {
  font-size: 12.5px;
  font-weight: 700;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.saw span {
  font-size: 11px;
  font-weight: 500;
  color: var(--mut);
}
.saw.on {
  border-color: transparent;
  background: var(--acc);
  color: var(--ink);
}
.saw.on span {
  color: rgba(20, 10, 58, 0.75);
}
.more {
  position: static;
  flex: none;
}
.mbtn {
  width: 36px;
  height: 100%;
  min-height: 44px;
  padding: 0;
  font-size: 18px;
  line-height: 1;
  display: grid;
  place-items: center;
  background: var(--sf);
  border: 1px solid var(--bd);
  border-radius: var(--radius-control);
  color: var(--fg);
}
.mmenu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 6px);
  z-index: 15;
  min-width: 190px;
  animation: in 0.15s ease;
  width: max-content;
  max-width: calc(100vw - 24px);
  background: var(--sf);
  border: 1px solid var(--bd2);
  border-radius: var(--radius-menu);
  box-shadow: var(--sh-float);
  padding: 6px;
}
.mmenu button {
  width: 100%;
  text-align: left;
  background: none;
  color: var(--fg);
  font-weight: 500;
  font-size: 14px;
  padding: 11px 12px;
  min-height: 44px;
  display: flex !important;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
  border-radius: var(--radius-md);
}
.mmenu button .ic {
  margin-right: 8px;
  color: var(--mut);
}
.mmenu button:active {
  background: var(--sf2);
}
.card.mopen {
  z-index: 14;
}
.shc {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: var(--radius-control);
  line-height: 1;
  display: grid;
  place-items: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  background: var(--scrim);
  color: var(--fg);
  border: 1px solid var(--bd2);
}
.shc.on {
  border-color: transparent;
  background: var(--pink);
  color: #fff;
  box-shadow: 2px 2px 0 var(--ink);
}
.never {
  font-size: 12px;
  margin-top: 6px;
  color: var(--never);
}
.tag .ic {
  margin-right: 5px;
}
.shc .ic,
.mbtn .ic {
  margin: 0;
}
.saw b .ic {
  margin-right: 3px;
}