.night-market .memory-kitchen-badge,.memory-kitchen-badge { display:inline-flex; align-items:center; gap:6px; max-width:100%; min-height:44px; padding:3px 12px 3px 4px; background:#fcf1da; color:#4f3525; border:1px solid #d8b57c; border-radius:12px; font-size:.81rem; font-weight:700; text-align:start; line-height:1.2; }
.memory-kitchen-badge img { display:block; flex:none; width:34px; height:34px; object-fit:contain; }
.kitchen-certificate { width:min(23rem,calc(100% - 32px)); max-height:90vh; max-height:90dvh; margin:auto; padding:6px; overflow:auto; overscroll-behavior:contain; color:#253e32; background:#f9f1df; border:1px solid #b39663; border-radius:10px; box-shadow:0 18px 64px #091c1cb3; }
.kitchen-certificate::backdrop { background:#0d201dcc; }
.certificate-paper { position:relative; padding:30px 15px 27px; border:3px double #ae8b56; text-align:center; }
.certificate-paper p,.certificate-paper h2 { margin:0; }
.certificate-close { position:absolute; inset:6px 6px auto auto; width:44px; height:44px; padding:0; border:0; border-radius:50%; background:transparent; color:#4d5041; font:1.4rem var(--sans,system-ui,sans-serif); cursor:pointer; }
.certificate-close:focus-visible { outline:2px solid #855f34; outline-offset:-4px; }
.certificate-brand { font:800 .82rem/1.25 var(--sans,system-ui,sans-serif); letter-spacing:.14em; }
.certificate-brand sup { font-size:.55em; vertical-align:top; }
.certificate-kind { padding-top:5px; color:#675b47; font-size:.79rem; }
#certificate-portrait { display:block; width:min(69%,12rem,32vh); height:auto; margin:15px auto 7px; }
#certificate-title { color:#62402b; font:600 clamp(1.65rem,6vw,2.4rem)/1.15 Georgia,"Songti SC","SimSun",serif; overflow-wrap:anywhere; }
#certificate-recipient { display:inline-flex; flex-wrap:wrap; align-items:baseline; justify-content:center; gap:4px 9px; margin-top:17px; padding:11px 12px 0; border-top:1px solid #cbb58a; font-size:.86rem; color:#66553d; }
#certificate-restaurant { color:#253e32; font-size:1.05rem; font-weight:700; overflow-wrap:anywhere; }
.memory-kitchen-badge[hidden] { display:none; }
button.memory-kitchen-badge { cursor:pointer; font-family:inherit; }
.memory-kitchen-badge:focus-visible { outline:2px solid #8a6235; outline-offset:2px; }
.honored-signature { display:flex; align-items:center; flex-wrap:wrap; gap:3px 10px; min-width:0; }
.demo-mast .honored-signature > .demo-signature { max-width:100%; }
.honored-signature .restaurant-name { white-space:normal; overflow-wrap:anywhere; overflow:visible; }
.honored-signature .memory-kitchen-badge { min-height:40px; }
.chef-copy:has(> .chef-byline) { flex:1 1 0; }
.chef-byline { display:flex; align-items:center; flex-wrap:wrap; gap:.35rem .7rem; margin-top:.4rem; }
.chef-copy .chef-byline > .chef-name { margin:0; }
.service-heading + .memory-kitchen-badge { margin-block:0 12px; }
.public-poster > .memory-kitchen-badge { margin:8px auto; }
@media(max-width:480px) { .honored-signature { column-gap:6px; } .honored-signature .memory-kitchen-badge { min-height:44px; padding-inline-end:8px; font-size:.75rem; } .honored-signature .memory-kitchen-badge img { width:25px; height:25px; } }
