/* 새 웹소설 등록·수정: 작품 정보 → 1화 쓰기 두 단계 */
.wu-page{background:#fff;color:#0a0a0a;padding:0;font-family:"Pretendard Variable",Pretendard,"Gothic A1","Malgun Gothic",system-ui,sans-serif;letter-spacing:-.01em}
.wu-wrap{width:min(1180px,calc(100% - 48px));margin:0 auto}
.wu-page [hidden]{display:none!important}
.wu-page small{display:block;color:#8e8e8e;font-size:12px;line-height:1.5}
.wu-top{display:flex;align-items:center;gap:14px;min-height:62px;border-bottom:1px solid #efefef}
.wu-back{display:inline-flex;align-items:center;gap:2px;color:#737373!important;font-size:13px;text-decoration:none}
.wu-name{font-size:17px;font-weight:800}
.wu-steps{margin-left:auto;display:flex;align-items:center;gap:7px}.wu-steps i{width:22px;height:1px;margin:0 3px;background:#dbdbdb}
.wu-step{display:inline-flex;align-items:center;gap:7px;min-height:0;padding:0;border:0;background:none;color:#737373;font-size:13px;cursor:pointer}
.wu-step b{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#efefef;color:#737373;font-size:11.5px;font-weight:700}
.wu-step.on,.wu-step.done{color:#0a0a0a}.wu-step.on b,.wu-step.done b{background:#0a0a0a;color:#fff}
.wu-count{display:none}
.wu-info{display:grid;grid-template-columns:270px minmax(0,1fr);gap:48px;max-width:980px;margin:0 auto;padding:30px 0 70px}
.wu-cover,.wu-cover-tools{display:grid;gap:10px;align-content:start;min-width:0}
.wu-page .wu-cover-now{width:100%;aspect-ratio:2/3;height:auto;border-radius:6px;overflow:hidden;background:#f5f5f5}
.wu-page .cover-swatches{display:grid;grid-template-columns:repeat(8,1fr);gap:5px;margin:0}
.wu-page .cover-swatch{display:block;min-height:0;padding:0;border:0;border-radius:3px;background:none;overflow:hidden;aspect-ratio:2/3;opacity:.85;cursor:pointer}
.wu-page .cover-swatch>span{display:none}.wu-page .cover-swatch.on{outline:2px solid #0a0a0a;outline-offset:1px;opacity:1}
.wu-form,.wu-group{display:grid;gap:22px;align-content:start;min-width:0}
.wu-field{display:grid;gap:7px;min-width:0}.wu-field>label,.wu-label{font-size:13px;font-weight:600;color:#0a0a0a}
.wu-two{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.wu-page .wu-input{display:block;width:100%;box-sizing:border-box;min-height:42px;padding:10px 12px;border:1px solid #dbdbdb;border-radius:6px;background:#fff;color:#0a0a0a;font:inherit;font-size:14.5px;line-height:1.4;box-shadow:none}
.wu-page .wu-input:focus{outline:0;border-color:#0a0a0a}.wu-page .wu-input::placeholder,.wu-ep-title::placeholder,.wu-ep-body::placeholder{color:#a8a8a8}
.wu-page .wu-title{font-size:17px;font-weight:700}.wu-page .wu-intro{min-height:110px;resize:vertical;line-height:1.6}
.wu-page .wu-select{appearance:none;-webkit-appearance:none;padding-right:34px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23737373' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center}
.wu-seg{display:inline-flex;width:max-content;max-width:100%;height:42px;border:1px solid #dbdbdb;border-radius:6px;overflow:hidden}
.wu-seg-btn{min-height:0;padding:0 14px;border:0;border-radius:0;background:#fff;color:#737373;font-size:13.5px;white-space:nowrap;cursor:pointer}.wu-seg-btn+.wu-seg-btn{border-left:1px solid #dbdbdb}
.wu-seg-btn.on{background:#0a0a0a;color:#fff;font-weight:600}
.wu-days{display:flex;gap:6px}.wu-day{width:38px;height:38px;min-height:0;padding:0;border:1px solid #dbdbdb;border-radius:6px;background:#fff;color:#737373;font-size:13.5px;cursor:pointer}.wu-day.on{border-color:#0a0a0a;background:#0a0a0a;color:#fff;font-weight:600}
.wu-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;box-sizing:border-box;height:38px;min-height:0;padding:0 16px;border:1px solid #dbdbdb;border-radius:6px;background:#fff;color:#0a0a0a;font-size:13.5px;font-weight:600;white-space:nowrap;cursor:pointer}
.wu-btn.wu-dark{border-color:#0a0a0a;background:#0a0a0a;color:#fff}.wu-btn.wu-wide{width:100%}.wu-btn:disabled{opacity:.5;cursor:default}
.wu-next{display:flex;justify-content:flex-end;gap:8px;padding-top:18px;border-top:1px solid #efefef}
.wu-note{margin:0;color:#8e8e8e;font-size:12.5px;line-height:1.6}
.wu-other{justify-self:end;margin-top:-10px;color:#8e8e8e!important;font-size:12.5px;text-decoration:underline}
.wu-editor{padding-bottom:84px}.wu-paper{max-width:720px;margin:0 auto;padding:30px 0 16px}
.wu-work{margin:0 0 8px;color:#737373;font-size:13px}
.wu-page .wu-ep-title{display:block;width:100%;box-sizing:border-box;padding:0 0 14px;border:0;border-bottom:1px solid #efefef;border-radius:0;outline:0;background:none;color:#0a0a0a;font:inherit;font-size:26px;font-weight:800;letter-spacing:-.02em;box-shadow:none}
.wu-page .wu-ep-body{display:block;width:100%;box-sizing:border-box;height:max(360px,calc(100vh - 340px));padding:20px 0;border:0;border-radius:0;outline:0;background:none;color:#0a0a0a;font:inherit;font-size:17px;line-height:1.9;resize:none;box-shadow:none}
.wu-page .wu-ep .writer-preview{display:none;box-sizing:border-box;min-height:360px;margin:0;padding:20px 0;border:0;background:none;color:#0a0a0a;font-size:17px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}
.wu-page .wu-ep .writer-preview.on{display:block}.wu-page .wu-ep .writer-preview.on+.wu-ep-body{display:none}
.wu-bar{position:fixed;left:0;right:0;bottom:0;z-index:40;border-top:1px solid #efefef;background:#fff}
.wu-bar-in{display:flex;align-items:center;gap:8px;width:min(1180px,calc(100% - 48px));min-height:60px;margin:0 auto}
.wu-metrics{margin-right:10px;color:#8e8e8e;font-size:12.5px}.wu-text{min-height:0;padding:0;border:0;background:none;color:#0a0a0a;font-size:13px;font-weight:500;cursor:pointer}
.wu-grow{flex:1}.wu-bar-btns{display:flex;gap:8px}
.wu-when{position:relative;margin-right:10px}.wu-when summary{display:inline-flex;align-items:center;gap:5px;color:#0a0a0a;font-size:13px;font-weight:500;list-style:none;cursor:pointer}.wu-when summary::-webkit-details-marker{display:none}
.wu-when-box{position:absolute;right:-120px;bottom:44px;display:grid;gap:12px;width:360px;padding:14px;border:1px solid #dbdbdb;border-radius:6px;background:#fff;box-shadow:0 6px 24px rgba(0,0,0,.1)}
.wu-when-box .wu-seg{height:38px}.wu-when-box .publish-datetime{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:6px;margin:0}.wu-when-box .publish-datetime-part{display:grid;gap:4px;color:#737373;font-size:11.5px}.wu-when-box .control{min-height:38px;height:38px;padding:0 8px;border:1px solid #dbdbdb;border-radius:6px;font-size:13px;background:#fff;color:#0a0a0a}
body:has(.wu-page) .toast{bottom:84px!important}
body:has(.wu-editor:not([hidden])) footer.site-foot{display:none}
@media(max-width:700px){
 body:has(.wu-page) .site-header,body:has(.wu-page) footer.site-foot{display:none}
 .wu-wrap{width:100%}
 .wu-top{position:sticky;top:0;z-index:30;display:grid;grid-template-columns:44px 1fr 44px;gap:0;min-height:52px;padding:0 6px;background:#fff}
 .wu-back{justify-content:center;height:44px;color:#0a0a0a!important}.wu-back span,.wu-steps{display:none}
 .wu-name{font-size:0;text-align:center}.wu-name::after{content:attr(data-phone);font-size:16px;font-weight:700}
 .wu-count{display:block;padding-right:10px;text-align:right;color:#737373;font-size:13px}
 .wu-info{display:flex;flex-direction:column;gap:16px;padding:16px 16px 28px}
 .wu-cover{display:grid;grid-template-columns:104px minmax(0,1fr);gap:14px;align-items:start}
 .wu-page .cover-swatches{grid-template-columns:repeat(4,1fr)}
 .wu-form,.wu-group{gap:16px}.wu-two{gap:10px}
 .wu-seg{display:flex;width:100%}.wu-seg-btn{flex:1;padding:0;font-size:13px}
 .wu-days{justify-content:space-between}.wu-day{flex:1;width:auto;height:44px}
 .wu-next{position:sticky;bottom:0;z-index:20;margin:0 -16px -28px;padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px));background:#fff}.wu-next .wu-btn{flex:1;height:44px}
 .wu-other{justify-self:center;order:9;margin:26px 0 0}
 .wu-editor{display:flex;flex-direction:column;min-height:calc(100dvh - 53px);padding-bottom:0}
 .wu-paper{flex:1;display:flex;flex-direction:column;width:100%;box-sizing:border-box;padding:16px 16px 10px}.wu-work{display:none}
 .wu-ep{flex:1;display:flex;min-height:0}.wu-page .wu-ep-title{font-size:22px}
 .wu-page .wu-ep-body{height:auto;min-height:220px;font-size:16px;line-height:1.85;padding:14px 0}
 .wu-page .wu-ep .writer-preview{width:100%;min-height:220px;font-size:16px;padding:14px 0}
 .wu-bar{position:sticky}
 .wu-bar-in{display:grid;grid-template-columns:minmax(0,1fr) auto auto;width:auto;gap:8px 12px;min-height:0;padding:8px 16px calc(10px + env(safe-area-inset-bottom,0px))}
 .wu-grow,.wu-prev{display:none}.wu-metrics{margin:0;font-size:12px}.wu-when{margin:0}.wu-text{order:2}.wu-when{order:3}.wu-metrics{order:1}
 .wu-bar-btns{order:4;grid-column:1/-1}.wu-bar-btns .wu-btn{flex:1;height:44px}
 .wu-when-box{position:fixed;left:12px;right:12px;bottom:112px;width:auto}
 body:has(.wu-page) .toast{bottom:120px!important}
}
/* 사이트 공통 스타일이 글자 크기·높이를 강하게 정하므로 이 화면에서 다시 맞춘다. */
body.editorial .wu-page{padding:0!important;min-height:0}
body.editorial .wu-page .wu-field>label,body.editorial .wu-page .wu-label{font-size:13px!important;font-weight:600!important}
body.editorial .wu-page small,body.editorial .wu-page .wu-hint{font-size:12px!important;color:#8e8e8e!important}
body.editorial .wu-page .wu-input{font-size:14.5px!important}
body.editorial .wu-page .wu-title{font-size:17px!important;font-weight:700!important}
body.editorial .wu-page .wu-intro{min-height:110px!important;height:110px}
body.editorial .wu-page .wu-seg-btn{min-height:0!important;font-size:13.5px!important}
body.editorial .wu-page .wu-day{min-height:0!important;font-size:13.5px!important}
body.editorial .wu-page .wu-btn{min-height:0!important;font-size:13.5px!important}
body.editorial .wu-page .wu-step{min-height:0!important;font-size:13px!important}
body.editorial .wu-page .wu-text{min-height:0!important;font-size:13px!important;font-weight:500!important}
body.editorial .wu-page .wu-ep-title{min-height:0!important;height:auto!important;font-size:26px!important;font-weight:800!important}
body.editorial .wu-page .wu-ep-body{min-height:360px!important;height:calc(100vh - 340px)!important;font-size:17px!important}
body.editorial .wu-page .wu-when-box small{margin-top:-4px}
@media(max-width:700px){
 body.editorial .wu-page .wu-seg-btn{padding:0!important;font-size:12.5px!important}
 body.editorial .wu-page .wu-day{height:44px}
 body.editorial .wu-page .wu-btn{height:44px}
 body.editorial .wu-page .wu-cover-tools .wu-btn{height:38px}
 body.editorial .wu-page .wu-ep-title{font-size:22px!important}
 body.editorial .wu-page .wu-ep-body{min-height:200px!important;height:auto!important;font-size:16px!important}
 body.editorial .wu-page .wu-intro{min-height:96px!important;height:96px}
}
body.editorial .wu-page .wu-title::placeholder{font-weight:500}
@media(max-width:700px){
 /* 16px보다 작으면 아이폰이 입력할 때 화면을 확대한다. */
 body.editorial .wu-page .wu-input,body.editorial .wu-page .wu-when-box .control{font-size:16px!important}
}
body.editorial .wu-page .wu-form textarea.wu-input.wu-intro{min-height:110px!important;height:110px!important;resize:none}
