/* =========================================================
   MILK CITY v19 — shared feed structure + filter workflow
   ========================================================= */

:root {
  --milk-city-max: 960px;
  --milk-content-max: 720px;
  --milk-sidebar-min: 248px;
  --milk-sidebar-max: 260px;
  --milk-main-gap: 36px;
  --milk-main-right: clamp(24px, 5%, 48px);
  --post-avatar-size: 64px;
  --post-heading-row-size: 36px;
  --post-column-gap: 16px;
  --post-content-start-gap: 4px;
  --post-inline-gap: 4px;
  --post-section-gap: 12px;
  --post-major-gap: 20px;
  --post-separator-gap: 24px;
  --post-option-gap: 12px;
  --post-media-gap: 12px;
  --post-media-single-ratio: 1.9 / 1;
  --post-media-multiple-ratio: 1 / 1;
  --post-action-size: 20px;
  --post-action-hit-size: 32px;
  --post-like-width: 22px;
  --post-identity-size: 14px;
  --post-identity-line-height: 16px;
  --sidebar-feedback-shift: 2px;
  --sidebar-feedback-square: 4px;
  --sidebar-feedback-gap: 6px;
}

.page-milk-city,
.page-milk-city .milk-city-scroll,
.milk-city-shell {
  color: var(--blue);
  --milk-city-rule-color: #000;
}

.page-milk-city {
  background: var(--blue);
  overflow-x: clip;
}

.milk-city-scroll {
  background: var(--blue);
}

.milk-city-shell {
  --content-loading-surface: var(--cream);
  --content-loading-inline-start: max(24px, calc((100vw - var(--milk-city-max)) / 2));
  --content-loading-inline-end: var(--content-loading-inline-start);
  width: min(var(--milk-city-max), max(849px, calc(100% - 48px)));
  min-height: calc(100svh - var(--header-h));
  margin-inline: auto;
  display: block;
  background: var(--cream);
  font-family: var(--body-font);
  font-size: var(--body-text-size);
  font-weight: 400;
  font-synthesis: weight;
}

.milk-sidebar {
  display: none;
}

@media (min-width: 1200px) {
  .page-milk-city .nav-shell {
    position: sticky;
    top: 0;
  }
}

.milk-sidebar::after {
  content: "";
  position: absolute;
  top: 24px;
  right: 0;
  bottom: 0;
  width: 1px;
  background: var(--milk-city-rule-color);
}

.milk-sidebar__ad {
  width: 100%;
  aspect-ratio: 212 / 84;
  background: var(--pink);
}

.recommend-group h2,
.mobile-recommendations h2 {
  margin: 0;
  color: var(--blue);
  font-weight: 900;
}

.recommend-group--trending {
  margin-top: 25px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--milk-city-rule-color);
}

.recommend-group--trending h2 {
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 16px;
}

.desktop-trending-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.filter-option,
.account-option,
.clear-filters,
.post-author,
.post-filter-link,
.post-action,
.filter-pill button,
.mobile-recommend-trigger,
.mobile-filter-submit {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}

.filter-option,
.account-option,
.clear-filters,
.post-author,
.post-filter-link,
.post-action,
.filter-pill button,
.mobile-recommend-trigger,
.mobile-filter-submit {
  cursor: pointer;
}

.filter-option {
  display: inline-flex;
  align-items: center;
  min-height: 16px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  text-align: left;
}

.mobile-recommendations .filter-option,
.mobile-recommendations .account-option {
  color: var(--ink);
}

.recommend-group--accounts {
  padding-top: 24px;
}

.recommend-group--accounts h2 {
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 16px;
}

.account-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.account-option {
  width: 100%;
  min-width: 0;
  min-height: 36px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 12px;
  align-items: center;
  color: var(--blue);
  text-align: left;
}

.account-option__content,
.sidebar-recommend-option__content--account {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 12px;
  align-items: center;
}

.sidebar-recommend-option {
  position: relative;
}

.sidebar-recommend-option::before {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(-1 * (var(--sidebar-feedback-square) + var(--sidebar-feedback-gap)));
  width: var(--sidebar-feedback-square);
  height: var(--sidebar-feedback-square);
  background: var(--pink);
  opacity: 0;
  transform: translateY(-50%);
}

.sidebar-recommend-option__content {
  display: inline-flex;
  align-items: center;
  transform: translateX(0);
  transition: transform var(--motion-mechanical) steps(2, end);
}

.account-avatar,
.post-avatar {
  display: block;
  border-radius: 50%;
  background: var(--ink);
  object-fit: cover;
}

.account-avatar {
  width: 36px;
  height: 36px;
}

.account-option__text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--ink);
  font-size: 12px;
  line-height: 14px;
}

.account-option__text strong {
  font-weight: 600;
}

.account-option__text span {
  font-weight: 400;
}

.milk-feed-panel {
  width: min(100%, var(--milk-content-max));
  min-width: 0;
  margin-inline: auto;
  padding: 36px 0 72px;
}

.mobile-filter-control {
  display: block;
  position: relative;
  z-index: 20;
}

.desktop-filter-summary {
  display: none !important;
  min-height: 20px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border-bottom: 1px solid var(--milk-city-rule-color);
}

.desktop-filter-summary[hidden] {
  display: none;
}

.filter-pills {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.filter-pills--desktop {
  gap: 12px;
}

.filter-pill {
  height: 20px;
  padding: 0 4px 0 8px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.filter-pill button {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 400;
  line-height: 14px;
}

.clear-filters {
  height: 20px;
  flex: 0 0 auto;
  color: var(--blue);
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  white-space: nowrap;
}

.milk-feed {
  min-width: 0;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid var(--milk-city-rule-color);
}

.mobile-filter-bar {
  position: relative;
  z-index: 2;
  min-height: 36px;
  padding: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  gap: 8px;
  padding-right: 36px;
  border: 1px solid var(--milk-city-rule-color);
  background: var(--cream);
}

.mobile-recommend-trigger {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
}

.filter-pills--mobile {
  display: contents;
}

.filter-pills--mobile .filter-pill {
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.clear-filters--mobile {
  position: relative;
  z-index: 3;
}

.clear-filters--mobile[hidden] {
  display: none;
}

.mobile-filter-submit {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.mobile-filter-submit img {
  display: block;
  width: 20px;
  height: 20px;
}

.mobile-recommendations {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1;
  display: none;
  padding: 16px;
  margin-top: -1px;
  border: 1px solid var(--milk-city-rule-color);
  background: var(--cream);
}

.mobile-filter-control.is-open .mobile-recommendations {
  display: block;
}

.mobile-recommendations h2 {
  margin-bottom: 16px;
  font-size: 12px;
  line-height: 16px;
}

.mobile-recommendations section + section {
  margin-top: 16px;
}

.mobile-trending-list {
  display: flex;
  flex-wrap: wrap;
  column-gap: 12px;
  row-gap: 0;
}

.mobile-recommendations .account-list {
  gap: 12px;
}

.milk-post {
  min-width: 0;
  padding-bottom: var(--post-separator-gap);
  display: grid;
  grid-template-columns:
    var(--post-avatar-size)
    var(--post-column-gap)
    minmax(0, 1fr)
    auto;
  grid-template-rows: var(--post-heading-row-size) auto;
  border-bottom: 1px solid var(--milk-city-rule-color);
  transition:
    opacity var(--motion-base) var(--ease-standard),
    background-color var(--motion-slow) var(--ease-standard);
}

.milk-post + .milk-post {
  padding-top: var(--post-separator-gap);
}

.post-heading {
  display: contents;
}

.post-avatar {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: var(--post-avatar-size);
  height: var(--post-avatar-size);
}

.post-identity {
  min-width: 0;
  grid-column: 3 / -1;
  grid-row: 1;
  align-self: center;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.post-author {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--ink);
  font-size: var(--post-identity-size);
  line-height: var(--post-identity-line-height);
  text-align: left;
}

.post-author strong {
  font-weight: 600;
}

.post-author span {
  min-width: 0;
  overflow: hidden;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.post-heading time {
  min-width: 36px;
  padding-left: 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  text-align: right;
  white-space: nowrap;
}

.post-main {
  min-width: 0;
  grid-column: 3 / -1;
  grid-row: 2;
  padding-top: var(--post-content-start-gap);
  display: flow-root;
  /* Source Han Sans gives U+2019 a CJK punctuation advance by default. */
  font-feature-settings: "palt" 1;
}

.milk-post.is-reveal-pending .post-avatar,
.milk-post.is-reveal-pending .post-identity,
.milk-post.is-reveal-pending .post-main {
  opacity: 0;
}

.milk-post.is-reveal-pending .post-avatar,
.milk-post.is-reveal-pending .post-identity {
  transform: translateY(7px) scale(.97);
}

.milk-post.is-reveal-pending .post-main {
  transform: translateY(9px);
}

.milk-post .post-avatar,
.milk-post .post-identity,
.milk-post .post-main {
  transition:
    opacity 260ms ease-out,
    transform 420ms cubic-bezier(.2, .9, .25, 1.12);
}

.milk-post .post-main {
  transition-delay: 70ms;
}

.post-title,
.post-copy,
.post-hashtags,
.welcoming-question,
.post-media,
.post-actions {
  margin: 0;
}

.post-title,
.post-copy,
.post-hashtags {
  color: var(--ink);
  font-size: var(--body-text-size);
  line-height: var(--body-text-line-height);
}

.post-title {
  font-weight: 600;
}

.post-copy,
.post-hashtags {
  font-weight: 400;
}

.post-title span {
  display: block;
}

.post-copy + .post-copy {
  margin-top: var(--post-inline-gap);
}

.post-hashtags {
  margin-top: var(--post-section-gap);
}

.post-title + .post-copy {
  margin-top: var(--post-inline-gap);
}

.post-filter-link {
  display: inline;
  color: var(--blue);
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-align: left;
}

.post-media {
  width: 100%;
  min-width: 0;
  margin-top: var(--post-major-gap);
  display: grid;
  gap: var(--post-media-gap);
}

.post-media--single {
  grid-template-columns: 1fr;
}

.post-media--multiple {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.post-media--wallpapers {
  display: flex;
  flex-direction: column;
}

.wallpaper-row {
  display: grid;
  gap: var(--post-media-gap);
  align-items: start;
}

.wallpaper-row--desktop-first {
  grid-template-columns: minmax(0, 1.6fr) minmax(0, .45fr);
}

.wallpaper-row--mobile-first {
  grid-template-columns: minmax(0, .45fr) minmax(0, 1.6fr);
}

.wallpaper-row .post-media__item,
.wallpaper-row .post-badge-controls button.is-copied {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--blue);
  color: var(--cream);
  text-decoration: none;
}

.post-media__image {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
}

.post-download,
.post-link {
  margin-top: var(--post-section-gap);
}

.post-download a,
.post-link a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: .15em;
}

.post-download a::after {
  content: " ↓";
  display: inline-block;
  text-decoration: none;
}

#post-kiosk-2027-mini-calendar .post-media__item--image {
  border: 1px solid #000;
}

.post-media__item {
  min-width: 0;
  aspect-ratio: var(--post-media-single-ratio);
  background: var(--pink);
}

/* Media may opt into one shared clipping treatment in milk-city-data.js. */
.post-media__item--rounded {
  border-radius: 12px;
  overflow: hidden;
}

.post-media__item--placeholder {
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  line-height: 16px;
  text-align: center;
}

.post-media__item--image {
  margin: 0;
  aspect-ratio: auto;
  background: transparent;
}

.post-media__item--badge {
  width: min(256px, 100%);
}

.post-media__item--badge .post-badge-controls button.is-copied {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--blue);
  color: var(--cream);
  text-decoration: none;
}

.post-media__image {
  width: 100%;
}

.post-badge-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--post-section-gap);
}

.post-badge-controls a,
.post-badge-controls button {
  color: var(--blue);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: .15em;
}

.post-badge-controls button {
  appearance: none;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.post-badge-controls button.is-copied {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--blue);
  color: var(--cream);
  text-decoration: none;
}

.post-media__image {
  display: block;
  width: 100%;
  height: auto;
}

.post-media__item--game-embed {
  aspect-ratio: auto;
  background: transparent;
}

.post-card-game-frame {
  width: 100%;
  max-width: 100%;
  max-height: 600px;
  /* The embedded game keeps its own playable frame instead of media cropping. */
  aspect-ratio: 3 / 4;
}

.post-card-game-frame--phantom-trail {
  max-height: none;
  aspect-ratio: 2 / 3;
}

.post-card-game-frame--rock-paper-scissors {
  max-height: 640px;
  aspect-ratio: 45 / 64;
  background: var(--pink);
}

.post-card-game-frame--phantom-trail[data-content-height="true"] {
  height: var(--phantom-trail-content-height);
  aspect-ratio: auto;
}

.post-card-game-frame__iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.post-media--multiple .post-media__item {
  aspect-ratio: var(--post-media-multiple-ratio);
}

.post-media--multiple .post-media__item--image {
  aspect-ratio: auto;
}

.welcoming-question {
  min-width: 0;
  padding: 0;
  margin-top: var(--post-section-gap);
  border: 0;
}

.welcoming-package__form[hidden],
.welcoming-package__result[hidden] {
  display: none;
}

.welcoming-package__button {
  appearance: none;
  width: 100%;
  min-height: 28px;
  margin: var(--post-major-gap) 0 0;
  padding: 4px 12px;
  border: 0;
  border-radius: 0;
  background: var(--blue);
  color: var(--cream);
  font-family: var(--body-font);
  font-size: var(--body-text-size);
  font-weight: 400;
  line-height: var(--body-text-line-height);
  text-align: center;
  cursor: pointer;
}

.welcoming-package__button:disabled {
  cursor: default;
  opacity: .42;
}

.welcoming-package__button:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}

.welcoming-package__result > img,
.welcoming-package__scene {
  display: block;
  width: 100%;
  height: auto;
}

.welcoming-package__result > img {
  margin-top: var(--post-major-gap);
}

.welcoming-package__result .welcoming-package__button {
  margin-top: 12px;
}

.welcoming-package__scene {
  margin-top: var(--post-major-gap);
}

.welcoming-option {
  position: relative;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  color: var(--ink);
  cursor: pointer;
}

.welcoming-option + .welcoming-option {
  margin-top: var(--post-option-gap);
}

.welcoming-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.welcoming-option__marker {
  width: 16px;
  height: 16px;
  border: 1px solid var(--blue);
  border-radius: 50%;
}

.welcoming-option input:checked + .welcoming-option__marker {
  box-shadow: inset 0 0 0 4px var(--cream);
  background: var(--pink);
}

.welcoming-option input:focus-visible + .welcoming-option__marker {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.welcoming-option__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: var(--body-text-size);
  line-height: var(--body-text-line-height);
}

.welcoming-option__copy strong {
  font-weight: 400;
}

.post-actions {
  height: var(--post-action-size);
  margin-top: var(--post-major-gap);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.post-action {
  position: relative;
  height: var(--post-action-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  transition: opacity var(--motion-fast) var(--ease-standard);
}

.post-action::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--post-action-hit-size);
  height: var(--post-action-hit-size);
  transform: translate(-50%, -50%);
}

.post-action img {
  display: block;
  width: auto;
  height: var(--post-action-size);
  transition:
    opacity var(--motion-fast) var(--ease-standard),
    transform var(--motion-base) var(--ease-out),
    filter var(--motion-fast) var(--ease-standard);
}

.post-like__icon {
  position: relative;
  width: var(--post-like-width);
  height: var(--post-action-size);
  display: block;
}

.post-like .post-like__state {
  position: absolute;
  inset: 0;
  width: var(--post-like-width);
  height: var(--post-action-size);
  opacity: 1;
  transform: none;
  filter: none;
  transition: opacity var(--motion-fast) var(--ease-standard);
}

.post-like .post-like__state--filled {
  opacity: 0;
}

.post-like[aria-pressed="true"] .post-like__state--outline {
  opacity: 0;
}

.post-like[aria-pressed="true"] .post-like__state--filled {
  opacity: 1;
}

.feed-empty {
  margin: 0;
  color: var(--ink);
  font-size: var(--body-text-size);
  font-weight: 400;
  line-height: var(--body-text-line-height);
}

.milk-post.is-permalink-target {
  background: color-mix(in srgb, var(--pink) 10%, transparent);
}

.visually-hidden {
  position: fixed !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (hover: hover) and (pointer: fine) {
  .clear-filters:hover,
  .post-author:hover,
  .post-filter-link:hover {
    opacity: .68;
  }

  .sidebar-recommend-option:hover::before {
    opacity: 1;
  }

  .sidebar-recommend-option:hover .sidebar-recommend-option__content {
    transform: translateX(var(--sidebar-feedback-shift));
  }

  .sidebar-recommend-option:active .sidebar-recommend-option__content {
    transform: translateX(0);
  }

  .post-action:hover {
    opacity: .72;
  }

  .filter-pill button:hover {
    transform: scale(1.2);
  }
}

@media (max-width: 848px) {
  :root {
    --post-avatar-size: 36px;
    --post-heading-row-size: 36px;
    --post-column-gap: 12px;
    --post-content-start-gap: 12px;
    --post-major-gap: 16px;
    --post-separator-gap: 16px;
    --post-option-gap: 12px;
    --post-media-gap: 8px;
    --post-action-size: 16px;
    --post-action-hit-size: 40px;
    --post-like-width: 18px;
    --post-identity-size: 13px;
    --post-identity-line-height: 16px;
  }

  .page-milk-city,
  .page-milk-city .milk-city-scroll,
  .milk-city-shell {
    background: var(--cream);
  }

  .milk-city-shell {
    --content-loading-inline-start: 0px;
    --content-loading-inline-end: 0px;
    width: 100%;
    min-height: 100%;
    display: block;
  }

  .milk-sidebar,
  .desktop-filter-summary {
    display: none !important;
  }

  .milk-feed-panel {
    width: 100%;
    padding: 24px clamp(24px, calc(16.33vw - 73.98px), 64.5px) 64px;
  }

  .mobile-filter-control {
    display: block;
    position: relative;
    z-index: 20;
  }

  .mobile-filter-bar {
    position: relative;
    z-index: 2;
    min-height: 36px;
    padding: 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    gap: 8px;
    padding-right: 36px;
    border: 1px solid var(--milk-city-rule-color);
    background: var(--cream);
  }

  .mobile-recommend-trigger {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .filter-pills--mobile {
    display: contents;
  }

  .filter-pills--mobile .filter-pill {
    pointer-events: auto;
  }

  .mobile-filter-submit {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 3;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
  }

  .mobile-filter-submit img {
    display: block;
    width: 20px;
    height: 20px;
  }

  .mobile-recommendations {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1;
    display: none;
    padding: 16px;
    margin-top: -1px;
    border: 1px solid var(--milk-city-rule-color);
    background: var(--cream);
  }

  .mobile-filter-control.is-open .mobile-recommendations {
    display: block;
  }

  .mobile-recommendations h2 {
    margin-bottom: 16px;
    font-size: 12px;
    line-height: 16px;
  }

  .mobile-recommendations section + section {
    margin-top: 16px;
  }

  .mobile-trending-list {
    display: flex;
    flex-wrap: wrap;
    column-gap: 12px;
    row-gap: 0;
  }

  .mobile-recommendations .account-list {
    gap: 12px;
  }

  .milk-feed {
    padding-top: 24px;
    margin-top: 24px;
    border-top: 1px solid var(--milk-city-rule-color);
  }

  .milk-post {
    display: grid;
  }

  .post-heading {
    display: contents;
  }

  .post-avatar {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: var(--post-avatar-size);
    height: var(--post-avatar-size);
  }

  .post-identity {
    grid-column: 3 / -1;
    grid-row: 1;
    display: flex;
  }

  .post-author {
    align-self: center;
    flex-direction: column;
    justify-content: center;
    gap: 0;
  }

  .post-author span {
    max-width: 100%;
  }

  .post-heading time {
    align-self: start;
    font-size: 12px;
    line-height: 14px;
  }

  .post-main {
    grid-column: 3 / -1;
    grid-row: 2;
    margin-left: 0;
  }

  .post-media {
    gap: var(--post-media-gap);
  }

  .post-media__item--game-embed {
    aspect-ratio: auto;
  }

  .post-actions {
    gap: 20px;
  }

  .post-action,
  .post-action img {
    height: var(--post-action-size);
  }

}

@media (max-width: 600px) {
  :root {
    --post-media-single-ratio: 1.22 / 1;
    --post-media-multiple-ratio: 1.22 / 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .milk-post,
  .milk-post .post-avatar,
  .milk-post .post-identity,
  .milk-post .post-main,
  .post-action img {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
