/* Fixed fictional family samples: warm hanok and ivory interiors. */
#memorial-proposal .connected-portrait img[src*="/family-20261020/"]{object-position:50% 15%}
body[data-linked-sample="dohyeon"]{--family-ink:#4c3929;--family-line:#cfb58e;--family-paper:#fbf5e9}
body[data-linked-sample="jungho"]{--family-ink:#4d574a;--family-line:#d9cdb8;--family-paper:#fffcf5}
body[data-linked-sample] #memorial-proposal #museum-original .cs-profile-wrap{position:relative;isolation:isolate;margin-top:-18px;padding-bottom:48px;overflow:visible}
body[data-linked-sample] #memorial-proposal #museum-original .cs-inscription-stage{position:relative;z-index:2}
body[data-linked-sample] #memorial-proposal #museum-original .cs-inscription-ground{display:block!important;position:absolute;z-index:1;left:50%;bottom:0;width:min(100%,920px);height:auto;aspect-ratio:3/1;max-width:100%;margin:0;transform:translateX(-50%);background:var(--asset-inscription-garden) center bottom/contain no-repeat;pointer-events:none;filter:drop-shadow(0 8px 8px #26332320)}
body[data-linked-sample] #memorial-proposal #museum-original .cs-inscription-flower-bridge{display:none!important}
body[data-linked-sample="jungho"] #memorial-proposal #museum-original .cs-inscription-ground{width:min(96%,860px);aspect-ratio:3/1;bottom:5px}
body[data-linked-sample] #memorial-proposal :is(.gallery-placard,.exhibit-label,.connected-nameplate){color:var(--family-ink);border-color:var(--family-line)}
body[data-linked-sample="jungho"] #memorial-proposal .gallery-frame .frame-material{filter:brightness(1.13) saturate(.65)}
/* A quiet photographic mount preserves each original composition and softens
   the scale of the sitter without synthesising or stretching the photograph. */
body[data-linked-sample] #memorial-proposal #museum-original .cs-template-portrait{object-fit:cover!important;box-sizing:border-box;padding:clamp(3px,1vw,14px);background:#e9e1d3;box-shadow:inset 0 0 0 1px #8d77572b}
/* Eunju's photographs fill the frame openings at every screen size. */
body[data-linked-sample="jungho"] #memorial-proposal #museum-original .cs-template-portrait{padding:0;background:none;box-shadow:none}
body[data-linked-sample="dohyeon"] #memorial-proposal .welcome-wall-portrait img{object-position:37% 50%}
body[data-linked-sample="jungho"] #memorial-proposal .welcome-wall-portrait img{inset:2.8%;width:94.4%;height:94.4%;object-position:50% 50%}
@container museum-size (min-width:821px){body[data-linked-sample="dohyeon"] #memorial-proposal .news-photo-board .news-photo-papers{inset:20% 19% 32%}}
@container museum-size (max-width:820px){
 body[data-linked-sample="dohyeon"] #memorial-proposal .news-photo-board{grid-template-rows:20fr 47.62fr 32.38fr}
 body[data-linked-sample] #memorial-proposal #museum-original .cs-profile-wrap{margin-top:8px;padding-bottom:36px}
 body[data-linked-sample] #memorial-proposal #museum-original .cs-inscription-ground{width:100%;bottom:7px}
}
