/* 종 알림 창과 알림함 페이지. 줄 모양은 notifications.js의 rowHtml이 그린다. */
body.editorial .header-notification-panel{width:390px;padding:0;border:1px solid #e5e5e5!important;border-radius:10px!important;background:#fff;box-shadow:0 8px 28px rgba(0,0,0,.12)!important;overflow:hidden;font-family:"Pretendard Variable",Pretendard,"Gothic A1","Malgun Gothic",system-ui,sans-serif;letter-spacing:-.01em}
body.editorial .notification-heading{display:flex;align-items:center;gap:12px;padding:16px 16px 10px;border:0}
body.editorial .notification-back{display:none}
body.editorial .header-notification-panel .notification-heading h2{flex:1;margin:0;color:#0a0a0a;font-size:18px;font-weight:800;line-height:1.3}
body.editorial .notification-heading .notification-all{padding:4px 0;border:0;background:none;color:#737373;font-size:13px;font-weight:400;cursor:pointer}
body.editorial .notification-heading .notification-all:disabled{color:#c4c4c4;cursor:default}
body.editorial .notification-settings-link{display:inline-grid;place-items:center;width:28px;height:28px;margin-right:-5px;color:#404040;text-decoration:none}
body.editorial .notification-list{max-height:min(470px,60vh);overflow-y:auto;overscroll-behavior:contain}
body.editorial .notification-item,body.editorial .account-inbox .notification-item{position:relative;display:flex;align-items:center;gap:12px;width:100%;min-height:0;padding:11px 16px;border:0;border-radius:0;background:#fff;text-align:left;font:inherit;cursor:pointer}
body.editorial .notification-item:hover{background:#fafafa}
body.editorial .notification-unread{background:#fff}
body.editorial .notification-cover{display:block;flex:none;width:44px;height:64px;border-radius:4px;object-fit:cover;background:#f2f2f2}
body.editorial .notification-icon{display:grid;flex:none;place-items:center;width:44px;height:44px;border-radius:50%;background:#f2f2f2;color:#404040}
body.editorial .notification-text{display:grid;flex:1;gap:3px;min-width:0}
body.editorial .notification-item strong{color:#404040!important;font-size:14px;font-weight:500!important;line-height:1.4;overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere}
body.editorial .notification-unread strong{color:#0a0a0a!important;font-weight:700!important}
body.editorial .notification-item small,body.editorial .notification-item time{color:#8e8e8e!important;font-size:12.5px;line-height:1.4}
body.editorial .notification-dot{position:static;flex:none;width:8px;height:8px;border-radius:50%;background:#ff3040}
body.editorial .notification-empty{padding:38px 20px;color:#737373;font-size:14px;line-height:1.7;text-align:center}
body.editorial .notification-more{display:block;width:100%;height:44px;margin:0;padding:0;border:0;border-top:1px solid #efefef;border-radius:0;background:#fff;color:#404040;font:inherit;font-size:13.5px;font-weight:600;cursor:pointer}
body.editorial .notification-more:disabled{color:#a8a8a8;cursor:default}
body.editorial .notification-login{display:block;width:calc(100% - 32px);height:44px;margin:0 16px 16px;padding:0;border:0;border-radius:6px;background:#0a0a0a;background-image:none;color:#fff;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
body.editorial .notification-error{padding:12px 16px;background:#f5f5f5;color:#404040;font-size:13px}
body.editorial .notification-error button{padding:0;border:0;background:none;color:#0a0a0a;font:inherit;font-weight:600;text-decoration:underline;cursor:pointer}
body.editorial .notification-item:focus-visible,body.editorial .notification-heading button:focus-visible,body.editorial .notification-settings-link:focus-visible,body.editorial .notification-more:focus-visible{outline:2px solid #0a0a0a;outline-offset:-2px}
/* 알림함 페이지 */
body.editorial .account-inbox{display:block;border:0;border-radius:0;overflow:visible}
body.editorial .account-inbox .notification-item{padding:11px 0}
/* 휴대폰은 전체 화면. 머리글에 backdrop-filter가 있어 fixed의 기준이 머리글이 되므로 높이를 직접 준다. */
@media(max-width:700px){
 body.notifications-open{overflow:hidden}
 body.notifications-open .m-tabbar{display:none}
 body.editorial .header-notification-panel{position:fixed;top:0;left:0;right:0;z-index:130;display:flex;flex-direction:column;width:auto;height:100dvh;border:0!important;border-radius:0!important;box-shadow:none!important}
 body.editorial .notification-heading{display:grid;grid-template-columns:44px 1fr auto 44px;gap:0;min-height:52px;padding:0 6px;border-bottom:1px solid #efefef}
 body.editorial .notification-back{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;background:none;color:#0a0a0a;cursor:pointer}
 body.editorial .header-notification-panel .notification-heading h2{grid-column:2;grid-row:1;text-align:center;font-size:16px;font-weight:700;padding-left:66px}
 body.editorial .notification-heading .notification-all{grid-column:3;grid-row:1;font-size:12.5px}
 body.editorial .notification-settings-link{grid-column:4;grid-row:1;justify-self:center;width:44px;height:44px;margin:0}
 body.editorial .notification-list{flex:1;max-height:none}
 body.editorial .notification-more{flex:none;padding-bottom:env(safe-area-inset-bottom,0px);height:calc(48px + env(safe-area-inset-bottom,0px))}
}
