/* Round 6A.1: gallery-first next-day memories; Host tile actions without stage labels. */
/* Use exactly the same four real cookie-cover IDs and access-controlled image endpoint as the gallery. */
.party-celebration [hidden] { display:none!important; }
.party-celebration--gallery-first:not(.party-celebration--winner) { background:#fffdf9; }
.party-celebration--gallery-first:not(.party-celebration--winner) .party-celebration-main { padding:clamp(18px,3.5vw,28px); }
.party-afterparty-gallery { display:flex; flex-direction:column; align-items:stretch; gap:10px; }
.party-gallery-feature { width:100%; display:flex; flex-direction:column; text-align:left; border:1px solid #ded5c3; color:#173f35; text-decoration:none; background:#fff; overflow:hidden; }
.party-gallery-feature-photos { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:2px; background:#eee8df; width:100%; }
.party-gallery-feature-photos>img, .party-gallery-feature-placeholder { width:100%; height:auto; aspect-ratio:1 / 1; object-fit:cover; display:block; min-width:0; }
.party-gallery-feature-placeholder { display:flex; align-items:center; justify-content:center; background:#f5f0e6; }
.party-gallery-feature-placeholder img { max-width:46%; max-height:46%; width:auto; height:auto; }
.party-gallery-feature-copy { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:15px 16px; }
.party-gallery-feature-copy strong { font:500 clamp(1.38rem,4vw,1.85rem)/1.18 Fraunces,Georgia,serif; }
.party-gallery-feature-copy>span { font:600 .88rem/1.45 Inter,Arial,sans-serif; text-align:right; color:#173f35; }
.party-gallery-feature:focus-visible { outline:3px solid #173f35; outline-offset:3px; }
.party-gallery-feature:hover .party-gallery-feature-copy>span { text-decoration:underline; text-underline-offset:3px; }
.party-gallery-winners-link { display:inline-flex; align-self:center; align-items:center; justify-content:center; min-height:44px; padding:10px 16px; font-weight:600; color:#173f35; text-underline-offset:4px; }
/* No visual state badges in My Parties. Roles and upcoming/past sections provide context. */
.ocp-my-parties-page .ocp-party-tile-right { justify-content:center; align-items:flex-end; }
.ocp-my-parties-page .ocp-party-tile-right .ocp-6a-action { display:inline-flex; align-items:center; min-height:44px; padding:8px 2px; }
@media(min-width:650px) {
  .party-gallery-feature { flex-direction:row; align-items:stretch; min-height:126px; }
  .party-gallery-feature-photos { flex:0 0 45%; width:45%; }
  .party-gallery-feature-photos>img,.party-gallery-feature-placeholder { height:100%; aspect-ratio:auto; }
  .party-gallery-feature-copy { flex:1; padding:18px; }
  .party-gallery-feature-copy>span { max-width:125px; }
}
@media(max-width:380px) {
  .party-gallery-feature-copy { flex-wrap:wrap; }
  .party-gallery-feature-copy>span { text-align:left; }
}
