.guest-single-page{width:min(100%,440px);aspect-ratio:var(--page-ratio);margin:20px auto;background:#fffef9;box-shadow:0 5px 24px #45544715;border:1px solid #e1e3d8;box-sizing:border-box;padding:22px 24px;display:grid;grid-template-rows:repeat(2,minmax(0,1fr));gap:18px;container-type:inline-size}
.guest-single-page .message-tile{display:flex;flex-direction:column;align-items:stretch;min-height:0;padding:0 0 12px;border-bottom:1px solid #e2e3d8;overflow:visible;outline:none!important;font-size:14px!important}
.guest-single-page .message-tile:last-child{border-bottom:0;padding-bottom:0}
.guest-single-page .message-tile p{font-size:clamp(12px,3.5cqw,14px)!important;line-height:1.65!important;white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal;margin:10px 0 8px;flex:1}
.guest-single-page .message-tile .memory-photo,.guest-single-page .message-tile .message-photo{width:65%!important;height:88px!important;max-height:88px!important;min-height:0!important;flex:none;margin:0 auto;object-fit:contain;aspect-ratio:auto}
.guest-single-page .message-tile .memory-photo{background-size:200% 400%;aspect-ratio:1.5;width:157px!important}
.guest-single-page .message-name{font-size:clamp(11px,3cqw,13px)!important;line-height:1.5!important;overflow-wrap:anywhere;margin:6px 0 0;text-align:right;flex:none}
.guest-single-page .little-gift,.own-message-preview .little-gift{font-size:clamp(11px,3cqw,13px)!important;line-height:1.6!important;padding:4px 7px;max-width:100%;width:fit-content;box-sizing:border-box;white-space:normal;overflow:visible;flex:none}
.guest-single-page .present-icon{font-size:16px!important;flex:none}.guest-single-page .sample-stamp{font-size:9px!important;position:static;text-align:right;margin-top:3px}
.guest-square-page{grid-template-rows:1fr;aspect-ratio:1;padding:20px}.guest-square-page .message-tile p{font-size:clamp(12px,3.8cqw,16px)!important}.guest-square-page .message-tile .message-photo,.guest-square-page .message-tile .memory-photo{height:115px!important;max-height:115px!important}
@media(max-width:480px){.guest-single-page{padding:18px 16px;gap:12px}.guest-single-page .message-tile .memory-photo,.guest-single-page .message-tile .message-photo{height:80px!important;max-height:80px!important}.guest-single-page .message-tile .memory-photo{width:120px!important}.guest-single-page .message-tile p{margin:7px 0}.guest-single-page .little-gift{padding:2px 4px}}

@media(max-width:480px){.guest-single-page{aspect-ratio:auto;min-height:640px}.guest-square-page{min-height:360px}}
