/* 공모전(#/contest). 첫 화면은 네이비 + ALONA 로고 모양, 1~25화 트랙. 사이트 글꼴 색 규칙(body.editorial)을 이기려고 앞에 붙인다. */
.cts-page{--cts-ink:#111;--cts-sub:#6b6b70;--cts-mute:#a1a1a6;--cts-line:#e7e7e9;--cts-pink:#FF3D5E;--cts-pink2:#ec3352;--cts-navy:#1e2a4a;
 background:#fff;color:var(--cts-ink);font-family:"Pretendard Variable",Pretendard,"Gothic A1","Malgun Gothic",system-ui,sans-serif;letter-spacing:-.01em;word-break:keep-all;overflow-wrap:break-word;-webkit-font-smoothing:antialiased;padding-bottom:40px}
.cts-page [id]{scroll-margin-top:80px}
body.editorial .cts-page a{text-decoration:none;color:inherit}
.cts-in{width:min(1180px,calc(100% - 48px));margin:0 auto}

/* 위쪽 메뉴의 '공모전'(공개 전에는 숨김) */
body.editorial .main-nav a#navContest[hidden]{display:none!important}

/* 관리자 미리보기 줄 */
.cts-admin{background:#fff7d6;border-bottom:1px solid #f0e2a6}
.cts-admin .cts-in{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;padding:6px 0;font-size:13.5px;color:#5b4a00}
body.editorial .cts-admin b{color:#3d3200!important}
body.editorial .cts-admin button{flex:none;width:auto;min-height:0;margin:0;padding:7px 14px;border:0;border-radius:6px;background:#111;color:#fff;font:inherit;font-size:13px!important;font-weight:700!important;cursor:pointer}

/* 첫 화면 */
.cts-hero{position:relative;overflow:hidden;padding:44px 0 0;background:var(--cts-navy) url('/assets/alona-default-cover-20261106.jpg') right -140px top -170px/900px auto no-repeat;color:#fff}
.cts-hero>.cts-in{position:relative;z-index:1}
.cts-top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:40px;align-items:end}
body.editorial .cts-state{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:700;color:#fff!important}
.cts-state i{width:7px;height:7px;border-radius:50%;background:#fff;animation:cts-pulse 1.6s infinite}
@keyframes cts-pulse{50%{opacity:.35}}
body.editorial .cts-hero h1{margin:12px 0 0;font-size:54px!important;line-height:1.1!important;font-weight:800!important;letter-spacing:-.045em;color:#fff!important}
body.editorial .cts-sub{margin:14px 0 0;font-size:17px;line-height:1.55;color:rgba(255,255,255,.82)!important}
.cts-acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
body.editorial .cts-btn{display:inline-flex;align-items:center;justify-content:center;height:46px;padding:0 22px;border-radius:999px;background:#fff;color:#111!important;font-size:15px;font-weight:700;white-space:nowrap}
body.editorial .cts-btn.l{background:transparent;color:#fff!important;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.85)}
body.editorial .cts-btn.is-off{background:rgba(255,255,255,.16);color:rgba(255,255,255,.9)!important}
.cts-cd{text-align:right}
body.editorial .cts-cd span{display:block;font-size:13px;font-weight:700;color:rgba(255,255,255,.82)!important}
body.editorial .cts-cd b{display:block;margin-top:2px;font-size:44px;font-weight:800;line-height:1.1;letter-spacing:-.03em;font-variant-numeric:tabular-nums;color:#fff!important}
body.editorial .cts-cd small{display:block;margin-top:6px;font-size:14px!important;color:rgba(255,255,255,.82)!important}

/* 25화 트랙 */
.cts-trk-wrap{margin-top:34px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.cts-trk-wrap::-webkit-scrollbar{display:none}
.cts-trk{position:relative;height:270px;min-width:100%}
.cts-col{position:absolute;bottom:44px;display:flex;flex-direction:column-reverse;align-items:center;gap:4px;transform:translateX(-50%)}
.cts-tcv{display:block;width:36px;aspect-ratio:2/3;border-radius:3px;overflow:hidden;background:#2b3858;box-shadow:0 4px 12px rgba(0,0,0,.35);outline:1px solid rgba(255,255,255,.28);transition:transform .15s}
.cts-tcv:hover{transform:translateY(-3px)}
.cts-tcv img{display:block;width:100%;height:100%;object-fit:cover}
.cts-tcv.me{outline:3px solid var(--cts-pink);outline-offset:1px}
body.editorial .cts-more{font-size:11px;font-weight:800;color:rgba(255,255,255,.8)!important}
.cts-rule{position:absolute;left:0;right:0;bottom:30px;height:2px;background:#fff}
body.editorial .cts-tk{position:absolute;bottom:0;transform:translateX(-50%);font-size:12px;font-weight:700;font-variant-numeric:tabular-nums;color:rgba(255,255,255,.55)!important}
.cts-tk::before{content:"";position:absolute;left:50%;bottom:20px;width:1.5px;height:8px;background:rgba(255,255,255,.45)}
body.editorial .cts-tk.b{color:#fff!important}
.cts-fin{position:absolute;top:0;bottom:30px;width:0;border-left:2px dashed var(--cts-pink)}
body.editorial .cts-fin span{position:absolute;top:-6px;right:10px;text-align:right;white-space:nowrap;font-size:13px;font-weight:800;color:var(--cts-pink)!important}
body.editorial .cts-fin span small{display:block;font-size:12px!important;font-weight:600;color:rgba(255,255,255,.8)!important}
body.editorial .cts-trk-empty{position:absolute;left:0;right:0;bottom:86px;margin:0;text-align:center;font-size:15px;font-weight:700;color:rgba(255,255,255,.75)!important}
.cts-trk-hint{display:none}
.cts-leg{display:flex;flex-wrap:wrap;gap:6px 20px;align-items:center;padding:14px 0 20px}
body.editorial .cts-leg span{font-size:13.5px;line-height:1.5;color:rgba(255,255,255,.82)!important}
body.editorial .cts-leg b{color:#fff!important}
.cts-leg-me{display:inline-flex;align-items:center;gap:6px}
.cts-leg-me i{width:12px;height:16px;border-radius:2px;outline:2.5px solid var(--cts-pink);background:rgba(255,255,255,.3)}

/* 방금 올라온 회차 */
.cts-tick{position:relative;z-index:1;display:flex;align-items:center;height:46px;background:#fff;border-bottom:1px solid var(--cts-line);overflow:hidden;white-space:nowrap}
body.editorial .cts-tick>b{flex:none;height:100%;display:flex;align-items:center;padding:0 16px 0 max(24px,calc((100% - 1180px)/2));background:#fff;color:var(--cts-pink2)!important;font-size:13px;font-weight:800;position:relative;z-index:1}
.cts-mv{flex:1;min-width:0;overflow:hidden}
.cts-mv-in{display:inline-flex;gap:36px;animation:cts-mq 40s linear infinite}
body.editorial .cts-mv span{font-size:14px;color:var(--cts-sub)!important}
body.editorial .cts-mv strong{font-weight:700;color:var(--cts-ink)!important}
@keyframes cts-mq{to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.cts-mv-in,.cts-state i{animation:none}}

/* 아래 */
.cts-low{padding-top:28px}
.cts-mine{display:flex;align-items:center;gap:16px;margin-bottom:22px;padding:14px 16px;border:1px solid var(--cts-line);border-radius:8px}
.cts-mine-cv{flex:none;width:44px;aspect-ratio:2/3;object-fit:cover;border-radius:3px;background:#eee}
.cts-mine-tx{flex:1;min-width:0;display:grid;gap:2px}
body.editorial .cts-mine-tx b{font-size:14.5px;color:var(--cts-ink)!important}
body.editorial .cts-mine-tx span{font-size:13px;color:var(--cts-sub)!important}
body.editorial .cts-mine-go{flex:none;font-size:14px;font-weight:700;color:var(--cts-sub)!important}
.cts-tabs{display:flex;gap:28px;border-bottom:1px solid var(--cts-line)}
body.editorial .cts-tabs a{padding:12px 0 10px;font-size:15.5px;font-weight:700;color:var(--cts-mute)!important;border-bottom:2px solid transparent;margin-bottom:-1px}
body.editorial .cts-tabs a.on{color:var(--cts-ink)!important;border-color:var(--cts-ink)}
body.editorial .cts-tabs small{font-size:13px!important;color:inherit!important}
.cts-panel{padding-top:4px}
.cts-sort{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 0 4px}
.cts-sort-by{display:flex;gap:14px}
body.editorial .cts-sort-by button{flex:none;white-space:nowrap;width:auto;min-height:0;margin:0;padding:0;border:0;background:none;font:inherit;font-size:14px!important;font-weight:600!important;color:var(--cts-mute)!important;cursor:pointer}
body.editorial .cts-sort-by button.on{color:var(--cts-ink)!important;font-weight:800!important}
body.editorial .cts-genre{width:auto;min-height:0;margin:0;padding:4px 8px;border:1px solid var(--cts-line);border-radius:6px;background:#fff;font:inherit;font-size:14px!important;color:var(--cts-ink)}
body.editorial .cts-note{margin:2px 0 0;font-size:12.5px;color:var(--cts-mute)!important}
.cts-rows{list-style:none;margin:8px 0 0;padding:0;display:grid;grid-template-columns:1fr 1fr;column-gap:40px}
.cts-rows li{border-bottom:1px solid var(--cts-line)}
body.editorial .cts-rows a{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:16px;align-items:center;padding:14px 0;color:var(--cts-ink)}
.cts-row-cv{width:64px;aspect-ratio:2/3;object-fit:cover;border-radius:3px;background:#eee}
.cts-row-tx{display:grid;gap:2px;min-width:0}
body.editorial .cts-row-tx strong{font-size:16px;font-weight:700;color:var(--cts-ink)!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.editorial .cts-row-tx small{font-size:13px!important;color:var(--cts-sub)!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.editorial .cts-rows em{font-style:normal;font-size:13px;color:var(--cts-mute)!important;white-space:nowrap}
/* 조회수순: 분량 막대 자리에 조회수 */
.cts-views{display:block;margin-top:6px;font-size:12px;font-weight:600;color:var(--cts-sub)}.cts-views b{font-weight:800;font-size:13px;color:var(--cts-ink);font-variant-numeric:tabular-nums}
.cts-prog{display:flex;align-items:center;gap:8px;max-width:300px;margin-top:6px;font-size:12px;font-weight:800;font-variant-numeric:tabular-nums;color:var(--cts-ink)}
.cts-bar{flex:1;height:3px;background:var(--cts-line);border-radius:2px;overflow:hidden}
.cts-bar i{display:block;height:100%;background:var(--cts-ink)}
.cts-prog.ok{color:var(--cts-pink2)}.cts-prog.ok .cts-bar i{background:var(--cts-pink2)}
body.editorial .cts-empty{margin:0;padding:48px 0;text-align:center;font-size:15px;color:var(--cts-sub)!important}

/* 안내 */
.cts-sec{padding:36px 0;border-bottom:1px solid var(--cts-line)}
body.editorial .cts-sec h2{margin:0 0 14px;font-size:20px!important;font-weight:800!important;letter-spacing:-.03em;color:var(--cts-ink)!important}
body.editorial .cts-cap{margin:10px 0 0;font-size:14px;line-height:1.6;color:var(--cts-sub)!important}
body.editorial .cts-cap b{color:var(--cts-ink)!important}
.cts-prize{width:100%;border-collapse:collapse;font-size:16px}
.cts-prize td{padding:15px 0;border-bottom:1px solid var(--cts-line)}
.cts-prize tr:first-child td{border-top:2px solid var(--cts-ink)}
.cts-prize td:nth-child(2){width:120px;color:var(--cts-sub)}
.cts-prize td:last-child{text-align:right;font-size:20px;font-weight:800;font-variant-numeric:tabular-nums}
.cts-prize tr.big td:last-child{color:var(--cts-pink2)}
.cts-cond{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:16px;border-top:2px solid var(--cts-ink)}
.cts-cond div{padding:16px 16px 16px 0;border-bottom:1px solid var(--cts-line)}
.cts-cond div+div{padding-left:16px;border-left:1px solid var(--cts-line)}
body.editorial .cts-cond b{display:block;font-size:26px;font-weight:800;letter-spacing:-.03em;line-height:1.3;color:var(--cts-ink)!important}
body.editorial .cts-cond span{display:block;margin-top:4px;font-size:14px;line-height:1.5;color:var(--cts-sub)!important}
.cts-tl{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:relative}
.cts-tl::before{content:"";position:absolute;left:0;right:0;top:9px;height:2px;background:var(--cts-line)}
.cts-tl li{position:relative;padding:30px 12px 0 0}
.cts-tl li::before{content:"";position:absolute;left:0;top:3px;width:14px;height:14px;border-radius:50%;background:#fff;border:2px solid var(--cts-line)}
.cts-tl li.done::before{border-color:var(--cts-ink);background:var(--cts-ink)}
.cts-tl li.now::before{border-color:var(--cts-pink);box-shadow:0 0 0 4px rgba(255,61,94,.15)}
body.editorial .cts-tl b{display:block;font-size:16px;font-weight:800;font-variant-numeric:tabular-nums;color:var(--cts-ink)!important}
body.editorial .cts-tl span{display:block;font-size:14px;color:var(--cts-sub)!important}
body.editorial .cts-tl li.now span{color:var(--cts-pink2)!important;font-weight:700}
.cts-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.cts-steps li{padding-top:18px;border-top:2px solid var(--cts-ink)}
body.editorial .cts-steps em{font-style:normal;font-size:13px;font-weight:800;color:var(--cts-pink2)!important}
body.editorial .cts-steps b{display:block;margin-top:4px;font-size:16.5px;color:var(--cts-ink)!important}
body.editorial .cts-steps span{display:block;margin-top:4px;font-size:14px;color:var(--cts-sub)!important}
.cts-score{display:flex;height:40px;margin-top:16px;border-radius:4px;overflow:hidden}
body.editorial .cts-score span{display:flex;align-items:center;padding:0 12px;white-space:nowrap;font-size:13px;font-weight:700;color:#fff!important}
.cts-score span:nth-child(1){background:#111}.cts-score span:nth-child(2){background:#3d3d42}.cts-score span:nth-child(3){background:#68686e}.cts-score span:nth-child(4){background:#8e8e94}
.cts-judge{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}
.cts-judge div{padding:14px 0;border-top:1px solid var(--cts-line)}
body.editorial .cts-judge b{display:block;color:var(--cts-ink)!important}
body.editorial .cts-judge span{font-size:14px;color:var(--cts-sub)!important}
body.editorial .cts-link{display:inline-block;margin-top:22px;font-size:14px;font-weight:700;color:var(--cts-sub)!important}

/* 요강 */
.cts-rules{max-width:760px;padding:8px 0 20px;font-size:15px;line-height:1.75;color:#2b2b2e}
body.editorial .cts-rules .cts-meta{margin:20px 0 0;font-size:13px;color:var(--cts-sub)!important}
body.editorial .cts-rules h3{margin:30px 0 6px;font-size:17px!important;font-weight:800!important;letter-spacing:-.02em;color:var(--cts-ink)!important}
.cts-rules p{margin:6px 0}
.cts-rules ul,.cts-rules ol{margin:6px 0;padding-left:20px}
.cts-rules li{margin:3px 0}
body.editorial .cts-rules b{color:var(--cts-ink)!important}
.cts-rules table{border-collapse:collapse;margin:8px 0;font-size:14px}
.cts-rules td{padding:6px 18px 6px 0;border-bottom:1px solid var(--cts-line);vertical-align:top}
.cts-rules td:first-child{color:var(--cts-sub);white-space:nowrap}

/* 묻고 답하기 */
.cts-faq{border-top:2px solid var(--cts-ink);margin-top:16px}
.cts-faq details{border-bottom:1px solid var(--cts-line)}
.cts-faq summary{display:flex;justify-content:space-between;align-items:center;padding:15px 0;font-size:15px;font-weight:700;cursor:pointer;list-style:none}
.cts-faq summary::-webkit-details-marker{display:none}
.cts-faq summary::after{content:"";width:8px;height:8px;margin-right:4px;border-right:2px solid var(--cts-mute);border-bottom:2px solid var(--cts-mute);transform:rotate(45deg) translateY(-3px);transition:transform .15s}
.cts-faq details[open] summary::after{transform:rotate(225deg)}
body.editorial .cts-faq p{margin:0 0 16px;font-size:14.5px;line-height:1.7;color:var(--cts-sub)!important}

/* 휴대폰 아래 고정 줄 */
.cts-dock{display:none}

@media (max-width:700px){
 .cts-in{width:calc(100% - 32px)}
 .cts-hero{padding-top:26px;background-size:560px auto;background-position:right -150px top -40px}
 .cts-top{grid-template-columns:1fr;gap:18px}
 body.editorial .cts-hero h1{font-size:32px!important}
 body.editorial .cts-sub{font-size:14.5px;margin-top:10px}
 .cts-acts{display:none}
 .cts-cd{text-align:left;padding-top:14px;border-top:1px solid rgba(255,255,255,.25)}
 body.editorial .cts-cd b{font-size:32px}
 .cts-trk-wrap{margin-top:18px}
 .cts-trk{min-width:900px;height:230px}
 .cts-tcv{width:26px}
 body.editorial .cts-trk-empty{right:auto;left:0;bottom:96px;text-align:left;font-size:14px}
 .cts-sort-by{flex:1;min-width:0;gap:12px;overflow-x:auto;scrollbar-width:none}
 .cts-sort-by::-webkit-scrollbar{display:none}
 .cts-genre{flex:none}
 body.editorial .cts-trk-hint{display:block;margin:6px 0 0;font-size:12px;color:rgba(255,255,255,.6)!important}
 .cts-leg{padding:10px 0 14px}
 body.editorial .cts-leg span{font-size:12.5px}
 body.editorial .cts-tick>b{padding-left:16px}
 .cts-mine{gap:12px;padding:12px}
 .cts-tabs{gap:22px;overflow-x:auto;scrollbar-width:none}
 body.editorial .cts-tabs a{white-space:nowrap;font-size:15px}
 .cts-rows{grid-template-columns:1fr}
 body.editorial .cts-rows a{grid-template-columns:56px minmax(0,1fr);gap:12px}
 .cts-row-cv{width:56px}
 .cts-rows em{display:none}
 .cts-sec{padding:28px 0}
 .cts-cond{grid-template-columns:1fr 1fr}
 .cts-cond div,.cts-cond div+div{padding:14px 12px 14px 0;border-left:0}
 .cts-cond div:nth-child(even){padding-left:14px;border-left:1px solid var(--cts-line)}
 body.editorial .cts-cond b{font-size:21px}
 .cts-tl{grid-template-columns:1fr}
 .cts-tl::before{left:6px;right:auto;top:6px;bottom:6px;width:2px;height:auto}
 .cts-tl li{padding:0 0 18px 30px}
 .cts-tl li::before{top:4px}
 .cts-steps{grid-template-columns:1fr;gap:0}
 .cts-steps li{padding:14px 0;border-top:1px solid var(--cts-line)}
 .cts-steps li:first-child{border-top:2px solid var(--cts-ink)}
 body.editorial .cts-score span{padding:0 7px;font-size:12px}
 .cts-judge{grid-template-columns:1fr;gap:0}
 .cts-dock{display:flex;align-items:center;justify-content:space-between;gap:12px;position:fixed;left:0;right:0;bottom:0;z-index:40;padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid var(--cts-line)}
 body.has-tabbar .cts-dock{bottom:calc(56px + env(safe-area-inset-bottom,0px));padding-bottom:10px}
 body.editorial .cts-dock span{font-size:14px;font-weight:700;color:var(--cts-ink)!important}
 body.editorial .cts-dock b{color:var(--cts-pink2)!important}
 body.editorial .cts-dock a{flex:none;padding:10px 18px;border-radius:999px;background:var(--cts-pink);color:#fff!important;font-size:14.5px;font-weight:700}
 .cts-page{padding-bottom:84px}
}

/* 작품 등록 화면의 공모전 안내 칸 (접수 기간에, 공모전 화면에서 들어왔거나 이미 응모한 작품만). 응모는 작업실에서 한다. */
.wu-contest{margin:0 0 18px;padding:14px 16px;border:1px solid #e3e3e6;border-radius:10px;background:#fff}
.wuc-row{display:flex;align-items:center;gap:12px}
.wuc-on{cursor:pointer}
body.editorial .wuc-row input[type=checkbox],body.editorial .wuc-agree input[type=checkbox]{flex:none;width:18px;height:18px;min-height:0;margin:0;accent-color:#111}
.wuc-tx{flex:1;min-width:0;display:grid;gap:2px}
body.editorial .wuc-tx b{font-size:15px;font-weight:800;color:#111!important}
body.editorial .wuc-tx small{font-size:13px!important;line-height:1.5;color:#6b6b70!important}
body.editorial .wuc-badge{flex:none;padding:2px 7px;border-radius:4px;background:#FF3D5E;color:#fff!important;font-size:12px;font-weight:800}
body.editorial .wuc-link{flex:none;font-size:13px;font-weight:700;color:#6b6b70!important;text-decoration:underline;text-underline-offset:3px}
body.editorial .wuc-off{flex:none;width:auto;min-height:0;margin:0;padding:6px 12px;border:1px solid #d9d9dd;border-radius:6px;background:#fff;color:#111;font:inherit;font-size:13px!important;font-weight:700!important;cursor:pointer}
.wuc-more{margin:12px 0 0;padding:12px 0 0 18px;border-top:1px solid #eee}
body.editorial .wuc-more li{margin:2px 0;font-size:13.5px;line-height:1.6;color:#444!important}

/* 휴대폰 홈의 공모전 줄(배너 바로 아래). 홈 글꼴 색 규칙(body.editorial .hmp)을 이기려고 같은 앞머리를 붙인다. */
.hmp .hmp-contest{padding-top:0}
.hmp .hmp-contest.no-shelf{padding-bottom:0}
body.editorial .hmp .hmc-band{display:flex;align-items:center;gap:12px;min-height:92px;padding:16px 16px 16px 18px;background:#1e2a4a url('/assets/alona-default-cover-20261106.jpg') right -70px top -60px/240px auto no-repeat;color:#fff}
.hmp .hmp-contest:not(.no-shelf) .hmc-band{margin-bottom:14px}
.hmc-tx{flex:1;min-width:0;display:grid;gap:3px}
body.editorial .hmp .hmc-tx em{font-style:normal;font-size:11.5px;font-weight:800;color:rgba(255,255,255,.75)!important}
body.editorial .hmp .hmc-tx strong{font-size:18px;font-weight:800;line-height:1.3;letter-spacing:-.03em;color:#fff!important}
body.editorial .hmp .hmc-tx small{font-size:12.5px!important;line-height:1.4;color:rgba(255,255,255,.82)!important}
.hmp .hmc-band svg{flex:none;fill:none;stroke:#fff;stroke-width:2}
body.editorial .hmp .hmc-preview{margin:0;padding:6px 16px;background:#fff7d6;font-size:12px;color:#5b4a00!important}
.hmp .hmp-contest .hmp-cover img{display:block;width:100%;aspect-ratio:2/3;object-fit:cover;border-radius:4px}

/* 조회수순 순위 숫자 */
body.editorial .cts-rk{font-style:normal;margin-right:7px;font-weight:900;color:var(--cts-pink2,#ec3352)!important;font-variant-numeric:tabular-nums}
.cts-mines{display:grid;gap:10px;margin-bottom:22px}
.cts-mines .cts-mine{margin-bottom:0}

/* 응모작 표시: 작품 카드 표지 오른쪽 위 '공모전', 작품 화면 제목 아래 안내, 작품 목록의 '공모전 응모작만 보기' */
.cts-flag-host{position:relative}
body.editorial .cts-flag{position:absolute;right:0;top:0;left:auto;bottom:auto;width:auto;height:auto;z-index:2;padding:1px 6px;border-radius:0 4px 0 4px;background:#1e2a4a;color:#fff!important;font-size:10.5px;font-style:normal;font-weight:800;line-height:1.5;letter-spacing:0;pointer-events:none}
body.editorial .cts-work-tag{display:inline-flex;align-items:center;width:max-content;margin:6px 0 4px;padding:3px 10px;border-radius:999px;background:#1e2a4a;color:#fff!important;font-size:12.5px;font-weight:700;text-decoration:none}
body.editorial .cts-works-link{display:block;margin:8px 16px 4px;font-size:13.5px;font-weight:700;color:#1e2a4a!important;text-decoration:none}
body.editorial .wpc-side .cts-works-link{margin:0 0 14px}

/* 내 작업실: 웹소설 줄 안의 [공모전 응모] 버튼, '공모전 응모작' 표시와 [응모 취소] */
.cts-stu{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin-top:8px}
body.editorial .cts-stu small{display:inline;margin:0;font-size:12.5px!important;color:#737373!important}
body.editorial .cts-stu-go{width:auto;min-height:0!important;margin:0;padding:6px 12px;border:0;border-radius:999px;background:#1e2a4a;color:#fff!important;font:inherit;font-size:13px!important;font-weight:700!important;line-height:1.3;cursor:pointer}
body.editorial .cts-stu-go:hover{background:#2b3a63}
body.editorial .cts-stu-tag{display:inline-flex;align-items:center;padding:3px 9px;border-radius:999px;background:#1e2a4a;color:#fff!important;font-size:12px;font-weight:700;text-decoration:none}
body.editorial .cts-stu-off{width:auto;min-height:0!important;margin:0;padding:3px 0;border:0;background:none;color:#737373!important;font:inherit;font-size:12.5px!important;font-weight:600!important;text-decoration:underline;text-underline-offset:3px;cursor:pointer}

/* 응모 창: 요강 요약 + 동의 칸 */
.cts-modal-bg{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(17,17,17,.45)}
.cts-modal{width:min(440px,100%);max-height:calc(100vh - 32px);overflow:auto;padding:22px 22px 18px;border-radius:14px;background:#fff;box-shadow:0 20px 60px rgba(0,0,0,.25)}
body.editorial .cts-modal h2{margin:0;font-size:18px;font-weight:800;line-height:1.35;letter-spacing:-.02em;color:#111!important}
body.editorial .cts-modal-work{margin:4px 0 12px;font-size:14px;font-weight:700;color:#1e2a4a!important}
.cts-modal ul{margin:0 0 14px;padding-left:18px}
body.editorial .cts-modal li{margin:3px 0;font-size:13.5px;line-height:1.6;color:#444!important}
body.editorial .cts-modal-agree{display:flex;align-items:center;gap:8px;padding:12px;border-radius:8px;background:#f5f6f8;font-size:14px;font-weight:700;color:#111!important;cursor:pointer}
body.editorial .cts-modal-agree input{flex:none;width:18px;height:18px;min-height:0;margin:0;accent-color:#1e2a4a}
body.editorial .cts-modal-link{display:inline-block;margin:8px 0 0;font-size:13px;font-weight:700;color:#6b6b70!important;text-decoration:underline;text-underline-offset:3px}
.cts-modal-acts{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}
body.editorial .cts-modal-acts button{width:auto;min-height:0;margin:0;padding:10px 18px;border:1px solid #d9d9dd;border-radius:999px;background:#fff;color:#111!important;font:inherit;font-size:14px!important;font-weight:700!important;cursor:pointer}
body.editorial .cts-modal-acts button.on{border-color:#FF3D5E;background:#FF3D5E;color:#fff!important}
body.editorial .cts-modal-acts button:disabled{opacity:.4;cursor:default}

/* 관리자 응모작 목록(#/admin/contest) */
.cts-adm-bar{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:12px}
body.editorial .cts-adm-bar button{width:auto;min-height:0!important;margin:0;padding:6px 12px;border:1px solid #e4e7ec;border-radius:999px;background:#fff;color:#364152!important;font:inherit;font-size:13px!important;font-weight:700!important;cursor:pointer}
body.editorial .cts-adm-bar button.on{border-color:#1e2a4a;background:#1e2a4a;color:#fff!important}
body.editorial .cts-adm-bar a{margin-left:auto;font-size:13px;font-weight:700;color:#364152!important}
.cts-adm-table td small{display:block;margin-top:2px;font-size:11.5px;color:#8a94a6}
.cts-adm-table tr.off td{color:#9aa1ad}
body.editorial .cts-adm-table td a{font-weight:700;color:#111!important}
body.editorial .cts-adm-on{font-weight:800;color:#117a43!important}
body.editorial .cts-adm-off{color:#9aa1ad!important}

/* PC 홈의 공모전 띠(추천 작품 아래). PC 홈 글꼴 색 규칙을 이기려고 같은 앞머리를 붙인다. */
.hpc .hpc-contest{margin:20px 0 6px}
body.editorial .hpc .hmc-band{display:flex;align-items:center;gap:20px;min-height:96px;padding:20px 26px;border-radius:12px;background:linear-gradient(100deg,#1e2a4a 0%,#1e2a4a 55%,#34467a 100%);color:#fff;text-decoration:none}
body.editorial .hpc .hmc-tx em{font-style:normal;font-size:12.5px;font-weight:800;color:rgba(255,255,255,.75)!important}
body.editorial .hpc .hmc-tx strong{font-size:22px;font-weight:800;line-height:1.3;letter-spacing:-.03em;color:#fff!important}
body.editorial .hpc .hmc-tx small{font-size:14px!important;line-height:1.4;color:rgba(255,255,255,.82)!important}
body.editorial .hpc .hmc-go{flex:none;padding:10px 18px;border-radius:999px;background:#fff;color:#1e2a4a!important;font-size:14px;font-weight:700}
body.editorial .hpc .hmc-preview{margin:0 0 6px;padding:6px 12px;border-radius:6px;background:#fff7d6;font-size:12.5px;color:#5b4a00!important}

/* 공개 전 응모작 안내(작업실·응모 창), 관리자 목록의 마감 기록 */
body.editorial .cts-stu .cts-stu-warn{flex-basis:100%;color:#b42318!important}
body.editorial .cts-modal-warn{margin:0 0 12px;padding:10px 12px;border-radius:8px;background:#fff4e5;font-size:13.5px;line-height:1.55;color:#7a4100!important}
body.editorial .cts-adm-note{margin:6px 0 0;padding:8px 12px;border-radius:8px;background:#f2f5fb;font-size:13px;line-height:1.55;color:#364152!important}

/* 오픈 전 '미리 준비하기'(2026-11-09 대표 시안): 빨간색 없이 흰색·남색만. PC는 한 줄, 휴대폰은 쌓아서. */
.cts-prep{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:14px 22px;align-items:center;margin-top:28px;padding:20px 24px;border-radius:16px;background:rgba(24,34,62,.92);border:1px solid rgba(255,255,255,.18)}
.cts-prep.is-ready{grid-template-columns:minmax(0,1fr) auto}
body.editorial .cts-prep h3{margin:0 0 4px;font-size:18px!important;font-weight:800;letter-spacing:-.02em;color:#fff!important}
body.editorial .cts-prep p{margin:0;font-size:14px;line-height:1.55;color:rgba(255,255,255,.78)!important}
.cts-prep-steps{display:flex;gap:8px}
body.editorial .cts-prep-steps span{display:flex;align-items:center;gap:8px;padding:10px 14px;border-radius:12px;background:rgba(255,255,255,.08);font-size:14px;font-weight:700;color:#fff!important;white-space:nowrap}
body.editorial .cts-prep-steps span.done{background:rgba(255,255,255,.04);color:rgba(255,255,255,.55)!important}
.cts-prep-steps i{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:rgba(255,255,255,.2);font-style:normal;font-size:12px;font-weight:800;color:#fff}
.cts-prep-steps span.done i{background:transparent;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.4)}
.cts-prep-act{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:220px}
body.editorial .cts-prep-go{height:48px;padding:0 24px;border:0;border-radius:999px;background:#fff;color:var(--cts-navy)!important;font:inherit;font-size:16px;font-weight:800!important;cursor:pointer}
.cts-prep-go:disabled{opacity:.6;cursor:default}
.cts-prep-go:focus-visible,.cts-dock.is-prep button:focus-visible{outline:2px solid #fff;outline-offset:3px}
.cts-dock.is-prep button:focus-visible{outline-color:var(--cts-navy)}
body.editorial .cts-prep-note{display:block;font-size:12.5px!important;text-align:center;color:rgba(255,255,255,.72)!important}
.cts-prep.is-ready .cts-prep-note{grid-column:1/-1;text-align:left}
body.editorial .cts-prep-msg{font-size:13px;text-align:center;color:#fff!important}
.cts-prep-msg:empty{display:none}
@media (max-width:980px){
 .cts-prep,.cts-prep.is-ready{grid-template-columns:1fr;padding:18px}
 .cts-prep-steps span{flex:1}
 .cts-prep-act{min-width:0}
 .cts-prep.is-ready .cts-prep-note{text-align:left}
}
@media (max-width:700px){
 .cts-prep{margin-top:22px}
 body.editorial .cts-prep h3{font-size:17px!important}
 body.editorial .cts-dock.is-prep button,body.editorial .cts-dock.is-prep a{flex:none;padding:10px 18px;border:0;border-radius:999px;background:var(--cts-navy);color:#fff!important;font:inherit;font-size:14.5px;font-weight:700!important;cursor:pointer}
}
