/* 꿈들의 서재 공통 뒤로 버튼 kd-back (11/02 f, specs/ux/common-back-button-1102.md A안, 이어하기 없음). 쿠키·서버 저장 없음 */
.kd-back,a.kx-home.kd-back,a.kb-home.kd-back{position:fixed!important;top:max(12px,env(safe-area-inset-top))!important;left:max(12px,env(safe-area-inset-left))!important;z-index:2147482000;display:inline-flex!important;align-items:center;gap:4px;box-sizing:border-box;min-height:48px!important;min-width:48px;margin:0!important;padding:8px 14px!important;border:2px solid #6B5A4A;border-radius:12px!important;background:#fff;color:#6B5A4A!important;font-family:inherit;font-size:18px!important;font-weight:700!important;line-height:1.2;text-decoration:none!important;white-space:nowrap;box-shadow:0 2px 8px rgba(61,47,36,.14);cursor:pointer;-webkit-tap-highlight-color:transparent}
.kd-back:hover{background:#FBF4E8}
.kd-back:active{transform:scale(.97)}
.kd-back:focus-visible{outline:3px solid #B5552A;outline-offset:3px}
.kd-back.kd-night{background:#2a2440;color:#e8dcc8!important;border-color:#4a4266;box-shadow:0 2px 8px rgba(0,0,0,.35);opacity:.85}
.kd-back.kd-night:hover{background:#352e50;opacity:1}
.kd-back.kd-night:focus-visible{outline-color:#e8dcc8}
html.kt-locked .kd-back,.kd-back[hidden]{display:none!important}
.kd-cf{position:fixed;inset:0;z-index:2147482500;background:rgba(61,47,36,.45);display:flex;align-items:center;justify-content:center;padding:16px;box-sizing:border-box}
.kd-cf .kd-box{background:#FFF8EC;color:#3d2f24;border-radius:18px;max-width:420px;width:100%;padding:22px 18px 18px;box-sizing:border-box;text-align:center;box-shadow:0 8px 28px rgba(0,0,0,.25);font-family:inherit}
.kd-cf .kd-msg{font-size:20px;font-weight:700;line-height:1.5;margin:0 0 16px;word-break:keep-all}
.kd-cf .kd-row{display:flex;flex-direction:column;align-items:center;gap:14px}
.kd-cf button{min-height:48px;min-width:120px;padding:10px 16px;border-radius:14px;border:2px solid #6B5A4A;background:#fff;color:#6B5A4A;font-family:inherit;font-size:18px;font-weight:700;cursor:pointer}
.kd-cf button.kd-stay{width:100%;max-width:300px;min-height:60px;font-size:22px;background:#6B5A4A;border-color:#6B5A4A;color:#fff;box-shadow:0 3px 0 #4a3d31}
.kd-cf button.kd-leave{min-height:48px;min-width:110px;font-size:16px;font-weight:600;border:1.5px solid #c9b9a6;background:transparent;color:#7A6856}
.kd-cf button:focus-visible{outline:3px solid #B5552A;outline-offset:2px}
@media (prefers-reduced-motion:reduce){.kd-back:active{transform:none}}
.kd-band{position:fixed;top:0;left:0;right:0;z-index:2147481999;pointer-events:none;border:0;box-shadow:none;display:none}
.kd-band.on{display:block}
html.kt-locked .kd-band{display:none!important}
html.kd-gn .kd-back,html.kd-gn a.kd-back{top:max(7px,env(safe-area-inset-top))!important;left:max(8px,env(safe-area-inset-left))!important;min-height:44px!important;height:44px;padding:4px 8px!important;font-size:16px!important}
html.kd-gn #top{flex-wrap:wrap}
html.kd-gn #top>#topbtns{order:1;margin-left:auto;min-height:44px;align-items:center}
html.kd-gn #top>#ttl{order:2;flex:1 0 100%}
html.kd-solid header.site{background:rgb(251,244,232)!important}
