/* Preserve every original layout rule; only migration utilities live here. */
html{scrollbar-width:none}html::-webkit-scrollbar{display:none}
#mn-saved-dialog{border:1px solid #e1ccba;border-radius:22px;padding:24px;width:calc(100% - 30px);max-width:420px;color:#5c301f;background:#fffaf0;box-sizing:border-box}#mn-saved-dialog::backdrop{background:#27140f88}.mn-close{float:right;width:36px;height:36px;border:0;background:none;font-size:28px}.mn-saved-items a{display:block;padding:12px;border-bottom:1px solid #e8d5c6;color:#733018}.mn-saved-items button{margin:0 0 8px 12px}.mn-empty{padding:15px;font-size:14px}
.home-restored .home-board-label{position:absolute;z-index:25;display:flex;align-items:center;justify-content:center;color:#733018;font:700 7px/1 'Noto Sans JP',sans-serif;white-space:nowrap;pointer-events:none}
.mn-policy{padding:24px 16px;max-width:680px;margin:auto;color:#4c382e;font:15px/1.8 'Noto Sans JP',sans-serif}.mn-policy h1{font-size:27px}.mn-policy h2{font-size:21px;margin-top:28px}.mn-header,.mn-footer{padding:16px;background:#733018;color:#fff}.mn-header a,.mn-footer a{color:white}.mn-header small{display:block}.mn-footer nav{display:flex;gap:12px;flex-wrap:wrap}
/* Requested cleanup: no empty photo slot or orphan line on the farewell card. */
@media(max-width:680px){
html body .guide-memory:has(.guide-memory__layout:not(:has(.guide-memory__photo))) .guide-memory__layout{display:block!important;min-height:0!important;height:auto!important}
html body #guide-memory-title{font-family:'Noto Sans JP',sans-serif!important;font-size:clamp(18px,5vw,20px)!important;line-height:1.5!important;letter-spacing:-.04em!important}
html body .guide-memory__choices a{font-size:12px!important;line-height:1.5!important;padding:12px 6px!important;min-width:0!important}
}
