/* 18497 · A single unobtrusive state badge for every public book cover.
   Keep it above image overlays; never use whole-cover opacity or change card sizing. */
.plus-cover > .plus-book-status-badge,
.plus-hero-cover > .plus-book-status-badge,
.author-book-cover > .plus-book-status-badge,
.tag-cover > .plus-book-status-badge,
.plus-intro-cover > .plus-book-status-badge{
  position:absolute;inset:10px 10px auto auto;z-index:8;display:inline-flex;
  justify-content:center;align-items:center;box-sizing:border-box;max-width:calc(100% - 20px);
  padding:5px 9px;border:1px solid rgba(255,255,255,.23);border-radius:7px;
  background:rgba(15,19,24,.89);color:#fff;
  box-shadow:0 2px 9px rgba(0,0,0,.32);text-shadow:0 1px 2px rgba(0,0,0,.35);
  font:800 11px/1.2 Inter,Pretendard,'Noto Sans KR',sans-serif;
  letter-spacing:0;white-space:nowrap;pointer-events:none;opacity:1;
}
.plus-book-status-badge.is-ongoing{color:#dbf4e3;border-color:rgba(149,221,178,.38);background:rgba(22,57,42,.9)}
.plus-book-status-badge.is-complete{color:#fff0cb;border-color:rgba(234,200,140,.38);background:rgba(67,49,27,.92)}
.plus-book-status-badge.is-hiatus{color:#fff0dd;border-color:rgba(250,192,138,.42);background:rgba(93,49,26,.92)}
.plus-cover > .plus-book-status-badge{position:absolute;z-index:8}
.plus-book-card.has-cover-image .plus-cover > .plus-book-status-badge,
.plus-hero-cover.has-cover-image > .plus-book-status-badge{opacity:1}
/* Home's cinematic cards hide their ordinary cover text; the state badge is not cover text. */
body[data-plus-view="home"] .plus-home-ranked-card .plus-cover > .plus-book-status-badge,
body[data-plus-view="home"] .plus-home-story-card .plus-cover > .plus-book-status-badge{
  position:absolute;z-index:8;display:inline-flex!important;opacity:1;
}
/* Placeholder cover typography must not override the explicit badge typography. */
.author-book-cover.no-image > .plus-book-status-badge,
.tag-cover.no-image > .plus-book-status-badge{
  position:absolute;font:800 11px/1.2 Inter,Pretendard,'Noto Sans KR',sans-serif;
  color:#fff;letter-spacing:0;
}
.author-book-cover.no-image > .plus-book-status-badge.is-ongoing,
.tag-cover.no-image > .plus-book-status-badge.is-ongoing{color:#dbf4e3}
.author-book-cover.no-image > .plus-book-status-badge.is-complete,
.tag-cover.no-image > .plus-book-status-badge.is-complete{color:#fff0cb}
.author-book-cover.no-image > .plus-book-status-badge.is-hiatus,
.tag-cover.no-image > .plus-book-status-badge.is-hiatus{color:#fff0dd}
.plus-intro-cover > .plus-book-status-badge{inset:18px 18px auto auto;font-size:13px;padding:7px 11px}
.plus-intro-cover > .plus-book-status-badge[hidden]{display:none!important}
/* Author controls are intentionally separate from saving a chapter draft. */
.plus-manual-hiatus-row{display:flex;flex:1 1 100%;flex-wrap:wrap;align-items:center;gap:8px 12px;min-width:0}
.plus-manual-hiatus-row[hidden]{display:none!important}
.plus-editor .plus-serial-state{flex-wrap:wrap}
.plus-editor .plus-manual-hiatus-row button{
  flex:none;min-height:38px;padding:8px 14px;border:1px solid rgba(247,177,119,.38);border-radius:9px;
  background:rgba(135,69,31,.15);color:#f4c595;font-size:12px;font-weight:750;cursor:pointer;
}
.plus-editor .plus-manual-hiatus-row button[aria-pressed="true"]{border-color:rgba(149,221,178,.45);background:rgba(31,88,56,.16);color:#a9e0ba}
.plus-editor .plus-manual-hiatus-row button:disabled{opacity:.55;cursor:wait}
.plus-editor .plus-manual-hiatus-row small{flex:1 1 180px;min-width:0;color:#aaa7a3;font-size:11px;line-height:1.5;overflow-wrap:break-word}
html[data-theme="light"] .plus-editor .plus-manual-hiatus-row button{color:#754b25;background:#fff1dd}
html[data-theme="light"] .plus-editor .plus-manual-hiatus-row button[aria-pressed="true"]{color:#27663f;background:#e9f6ec}
html[data-theme="light"] .plus-editor .plus-manual-hiatus-row small{color:#655b50}
@media(max-width:620px){
 .plus-cover > .plus-book-status-badge,.author-book-cover > .plus-book-status-badge,
 .tag-cover > .plus-book-status-badge,.plus-hero-cover > .plus-book-status-badge{
   inset:7px 7px auto auto;max-width:calc(100% - 14px);padding:4px 6px;font-size:10px;border-radius:6px;
 }
 .plus-intro-cover > .plus-book-status-badge{inset:12px 12px auto auto;padding:5px 8px;font-size:11px}
}
