html{overflow-y:scroll;scrollbar-gutter:stable}body{margin:0}.wrap{box-sizing:border-box;width:100%;max-width:1120px;padding-left:32px;padding-right:32px;margin:0 auto}.wrap>header{box-sizing:border-box;position:sticky!important;top:0!important;inset:auto!important;top:0!important;width:100%;height:88px;min-height:88px;padding:0;margin:0;display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--paper);z-index:100}.wrap>header .brand{margin:0;padding:0;display:inline-flex;align-items:center;gap:12px;flex-shrink:0;text-decoration:none;line-height:1.2;white-space:nowrap}.wrap>header .brand-logo{display:block;width:74px;height:37px;object-fit:contain;transform:none}.wrap>header .brand-name{font-size:23px;font-weight:750;letter-spacing:-.8px;line-height:1.2}.wrap>header .nav{display:flex;align-items:center;gap:20px;margin:0;padding:0}.wrap>header .nav a{display:inline-flex;align-items:center;min-height:44px;margin:0;padding:0;font-size:12px;line-height:1.4;white-space:nowrap;text-decoration:none}.timeline-preview{border-radius:18px}.about-page .return-link{border-radius:12px;align-items:center;min-height:44px}.age-list button{border-radius:9px}
@media(max-width:640px){.wrap{padding-left:20px;padding-right:20px}.wrap>header{height:72px;min-height:72px;gap:8px}.wrap>header .brand{gap:6px}.wrap>header .brand-logo{width:46px;height:24px}.wrap>header .brand-name{font-size:16px;letter-spacing:-.7px}.wrap>header .nav{gap:10px}.wrap>header .nav a{font-size:10px}.timeline-preview{border-radius:14px}.about-page .return-link{border-radius:11px}}
@media(max-width:360px){.wrap{padding-left:16px;padding-right:16px}.wrap>header .brand-name{font-size:15px}.wrap>header .brand-logo{width:40px}.wrap>header .nav{gap:7px}}

@media(max-width:640px){.wrap>header .nav{gap:8px}.wrap>header .nav a{font-size:10px}}

/* Shared header divider across all service pages. */
.wrap>header{border-bottom:1px solid #d0cbbf!important}

/* Keep every destination visible on compact screens: brand above, four links below. */
@media(max-width:760px){
 .wrap>header{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:30px 44px;height:104px;min-height:104px;align-content:center;justify-content:stretch;gap:4px;padding:10px 0}
 .wrap>header .brand{justify-self:start;gap:8px}
 .wrap>header .brand-logo{width:54px;height:27px}
 .wrap>header .brand-name{font-size:18px;letter-spacing:-.7px}
 .wrap>header .nav{display:grid;width:100%;min-width:0;grid-template-columns:.95fr .8fr .9fr 1.25fr;gap:0;align-items:stretch}
 .wrap>header .nav a,.wrap>header .nav a:nth-child(3),.wrap>header .nav a:last-child{display:inline-flex!important;justify-content:center;min-width:0;min-height:44px;padding:0 2px;font-size:11px;letter-spacing:-.3px;line-height:1.4;white-space:nowrap}
}

.source-details{margin-top:14px;padding-top:10px;border-top:1px solid #ded8cc;font-size:11px;color:#68695f}.source-details>summary{display:inline-flex;align-items:center;min-height:40px;padding:5px 12px;border:1px solid #cfc7b9;border-radius:9px;cursor:pointer;list-style:none}.source-details>summary::-webkit-details-marker{display:none}.source-details-body{padding:9px 0;overflow-wrap:anywhere}.source-details-body a{margin-right:16px}.source-details-body p{font-size:11px;line-height:1.7}@media print{.source-details>summary{display:none}.source-details>.source-details-body{display:block!important}.source-details{break-inside:avoid}}

.press-dialog select:focus,.press-dialog select:focus-visible{outline:2px solid #727c72;outline-offset:2px;box-shadow:none}.site-source-bar{display:flex;justify-content:flex-end;padding:18px 0}.site-source-bar button,.site-source-dialog button{background:transparent;color:#555e53;border:1px solid #c9c3b6;border-radius:9px;padding:10px 16px;font:inherit;font-size:12px;cursor:pointer}.site-source-dialog{background:#f2eee5;color:#252b29;border:1px solid #d2ccbe;border-radius:18px;padding:26px;width:min(720px,calc(100% - 32px));max-height:80vh;overflow:auto}.site-source-dialog::backdrop{background:#252b2980}.site-source-dialog h2{margin:0 0 12px;font-size:23px}.site-source-dialog>p{font-size:13px}.site-source-list{list-style:none;padding:0}.site-source-list li{border-top:1px solid #d8d1c4;padding:16px 0;overflow-wrap:anywhere}.site-source-list strong{display:block;font-size:14px;margin-bottom:8px}.site-source-list a{display:inline-block;margin-right:14px;font-size:12px;line-height:2}.site-source-list p{font-size:11px}.site-source-bar{break-inside:avoid}@media print{.site-source-bar,.site-source-dialog{display:none}}

.memory-return-nav{margin:0 0 22px}.memory-return-nav a{display:inline-flex;align-items:center;min-height:44px;font-size:13px;text-underline-offset:4px}.change-birth{margin-top:12px;padding:7px 12px;min-height:38px;font-size:11px;border:1px solid #c9c3b6;border-radius:9px;background:transparent;color:#555e53;cursor:pointer}@media print{.memory-return-nav,.change-birth{display:none}}

/* Common service footer. */
.site-footer{display:block!important;border-top:1px solid #d0cbbf;padding:30px 0 24px;margin-top:20px;color:#68695f;font-family:Arial,'Noto Sans KR',sans-serif}.site-footer .footer-top{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.site-footer .footer-brand>a{font-size:18px;font-weight:700;letter-spacing:-.6px;color:#252b29;text-decoration:none}.site-footer .footer-brand p{font-size:12px;line-height:1.8;margin:9px 0 0}.site-footer .footer-links{display:flex;align-items:center;flex-wrap:wrap;gap:6px 20px}.site-footer .footer-links a,.site-footer .footer-links button{display:inline-flex;align-items:center;min-height:44px;padding:0;border:0;border-radius:0;background:transparent;color:#555e53;font:inherit;font-size:12px;text-decoration:none;cursor:pointer;white-space:nowrap}.site-footer .footer-links a:hover,.site-footer .footer-links button:hover{text-decoration:underline;text-underline-offset:4px}.site-footer .footer-bottom{display:flex;justify-content:space-between;gap:12px;margin-top:25px;font-size:10px;line-height:1.8}.site-footer .footer-bottom a{color:inherit;text-decoration:none;letter-spacing:.5px}.site-footer a:focus-visible,.site-footer button:focus-visible{outline:2px solid #b8472d;outline-offset:4px}@media(max-width:640px){.site-footer{padding:26px 0 22px}.site-footer .footer-top{flex-direction:column;gap:14px}.site-footer .footer-links{gap:4px 18px}.site-footer .footer-bottom{flex-direction:column;gap:5px;margin-top:18px}}@media print{.site-footer{display:none!important}}

.site-footer.site-footer-simple{display:flex!important;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 24px;font-size:11px;line-height:1.8;padding:24px 0}.site-footer-simple>span{display:block}@media(max-width:640px){.site-footer.site-footer-simple{flex-direction:column;align-items:flex-start;gap:6px;font-size:10px}}@media print{.site-footer.site-footer-simple{display:none!important}}

.site-footer .footer-source-link{display:inline-block;margin-left:14px;text-decoration:underline;text-underline-offset:3px;min-height:32px;padding-top:5px}@media(max-width:640px){.site-footer .footer-source-link{margin-left:8px}}

/* Consistent mobile navigation size and immediate tap feedback. */
@media(max-width:760px){.wrap>header .nav a,.wrap>header .nav a:nth-child(3),.wrap>header .nav a:last-child{font-size:clamp(10px,3vw,12px)!important;touch-action:manipulation;-webkit-tap-highlight-color:rgba(184,71,45,.18)}.wrap>header .nav a:active{color:#b8472d;opacity:.75}}

.memory-return-bottom{margin:24px 0 0}.memory-return-bottom a{display:inline-flex;align-items:center;min-height:44px;padding:10px 15px;border:1px solid #c9c3b6;border-radius:10px;background:#faf8f1;color:#555e53;text-decoration:none;font-size:13px}.memory-return-bottom a:hover{background:#e8e3d7}@media print{.memory-return-bottom{display:none}}
