/* ALONA bright theme — 밝은 배경 + 코랄 포인트 + 일러스트 표지
 * 기존 editorial / reference-design 스타일 위에 덮어쓰는 레이어. 모든 규칙은 body.alona-bright 아래에 있다.
 */
body.editorial.alona-bright{
  --ink:#111318;--ink2:#3A3E4A;--muted:#7A7F8F;--line:#ECEEF3;--surface:#F4F5F9;
  --accent:#FF3D5E;--accent-2:#FF7A45;--accent-soft:#FFE9ED;--accent-ink:#E0244A;
  --blue:#2E6BFF;--blue-soft:#E8EFFF;--amber:#D98A00;--amber-soft:#FFF4D9;--green:#13A06B;
  --hero-a:#FF3D5E;--hero-b:#FF7A45;
  --radius:14px;--shadow:0 2px 6px rgba(17,19,24,.05),0 10px 24px rgba(17,19,24,.06);
  --f-ui:"Gothic A1",-apple-system,"Apple SD Gothic Neo","Pretendard","Noto Sans KR",sans-serif;
  --f-display:"Black Han Sans","Gothic A1","Apple SD Gothic Neo",sans-serif;
  --f-read:"Gowun Batang","Noto Serif KR","Nanum Myeongjo","AppleMyungjo",serif;
  font-family:var(--f-ui)!important;letter-spacing:-.015em;word-break:keep-all;color:var(--ink)!important;background:#fff!important;
}
body.alona-bright :is(button,input,select,textarea){font-family:inherit}
body.alona-bright ::selection{background:var(--accent-soft);color:var(--ink)}
body.alona-bright :focus-visible{outline:2px solid var(--accent)!important;outline-offset:2px}
body.alona-bright :is(h1,h2,h3){text-wrap:balance}

/* ---------- 버튼 · 입력 ---------- */
body.editorial.alona-bright :is(.btn.dark,.btn.primary),
body.editorial.alona-bright :is(.creator-studio,.creator-upload,.creator-editor) .btn.dark{
  background:linear-gradient(100deg,var(--accent),var(--accent-2))!important;border-color:transparent!important;color:#fff!important;
  border-radius:12px!important;font-weight:800!important;box-shadow:0 6px 16px -6px rgba(255,61,94,.55)
}
body.editorial.alona-bright :is(.btn.dark,.btn.primary):hover{filter:brightness(1.04)}
body.editorial.alona-bright .btn:not(.dark):not(.primary){border-radius:12px!important;font-weight:700}
body.editorial.alona-bright :is(input,select,textarea):is(.control,.auth-input,[type=search],[type=text],[type=email],[type=number]):focus{
  border-color:var(--accent)!important;box-shadow:0 0 0 3px var(--accent-soft)!important;outline:none
}

/* ---------- 헤더 ---------- */
body.editorial.alona-bright .site-header{
  position:sticky!important;top:env(safe-area-inset-top,0px);z-index:60;
  background:rgba(255,255,255,.92)!important;-webkit-backdrop-filter:saturate(1.4) blur(14px);backdrop-filter:saturate(1.4) blur(14px);
  border-bottom:1px solid var(--line)!important
}
body.editorial.alona-bright .brand-name{
  font-family:var(--f-display)!important;font-weight:400!important;letter-spacing:.01em!important;color:var(--ink)!important;
  display:inline-flex;align-items:flex-start;gap:2px
}
body.editorial.alona-bright .brand-name::after{content:"";width:.28em;height:.28em;border-radius:50%;background:var(--accent);margin-top:.12em;flex:none}
body.editorial.alona-bright .main-nav a{color:var(--muted)!important;font-weight:600}
body.editorial.alona-bright .main-nav a.on{color:var(--ink)!important;font-weight:800}
body.editorial.alona-bright .main-nav a.on:after{background:var(--ink)!important;height:3px!important;border-radius:3px}
body.editorial.alona-bright .notification-badge{background:var(--accent)!important}
body.editorial.alona-bright .header-search input{border-radius:999px!important;background:var(--surface)!important;border-color:transparent!important}

/* ---------- 홈 히어로 ---------- */
body.editorial.alona-bright .discovery-hero.reference-hero{
  position:relative;overflow:hidden;border-radius:22px!important;margin-top:14px;
  background:linear-gradient(125deg,var(--hero-a),var(--hero-b) 62%,#FFB23E)!important;color:#fff
}
body.editorial.alona-bright .discovery-hero.reference-hero::before{
  content:"";position:absolute;right:-60px;top:-60px;width:220px;height:220px;border-radius:50%;border:30px solid rgba(255,255,255,.16);pointer-events:none
}
body.editorial.alona-bright .reference-hero-copy{position:relative;z-index:1}
body.editorial.alona-bright .reference-hero-copy .reference-pick{
  display:inline-flex;width:max-content;color:#fff!important;background:rgba(255,255,255,.22);padding:5px 10px;border-radius:8px;
  font-weight:800;letter-spacing:.08em!important
}
body.editorial.alona-bright .reference-hero-copy h2{
  font-family:var(--f-display)!important;font-weight:400!important;letter-spacing:0!important;color:#fff!important;line-height:1.22!important
}
body.editorial.alona-bright .reference-hero-copy p,body.editorial.alona-bright .reference-hero-copy p span{color:rgba(255,255,255,.92)!important}
body.editorial.alona-bright .reference-hero-copy a{
  display:inline-flex;align-items:center;gap:6px;background:#fff;color:var(--accent-ink)!important;font-weight:800;
  padding:10px 16px;border-radius:12px;text-decoration:none!important;border:0!important;box-shadow:0 8px 20px -10px rgba(0,0,0,.35)
}
body.editorial.alona-bright .reference-hero-covers{position:relative;z-index:1;background:none!important;overflow:visible!important}
body.editorial.alona-bright .reference-hero-covers>a{border-radius:12px;overflow:hidden;box-shadow:0 18px 30px -12px rgba(0,0,0,.45)}

/* ---------- 섹션 제목 · 장르 칩 ---------- */
body.editorial.alona-bright .section-row h2,
body.editorial.alona-bright .home-panel-head h2{font-weight:800!important;letter-spacing:-.035em!important;color:var(--ink)!important}
body.editorial.alona-bright .home-exact .section-row h2{font-size:21px!important}
body.editorial.alona-bright .home-panel-head a,body.editorial.alona-bright .section-row>a{color:var(--muted)!important;font-weight:600;font-size:13px}
body.editorial.alona-bright .home-exact .discovery-genres{gap:6px!important;padding-bottom:2px}
body.editorial.alona-bright .home-exact .discovery-genres button,
body.editorial.alona-bright .discovery-genres button{
  min-height:36px!important;padding:0 14px!important;border-radius:999px!important;border:1px solid var(--line)!important;
  background:#fff!important;color:var(--muted)!important;font-weight:600;font-size:14px!important
}
body.editorial.alona-bright .discovery-genres button.on{background:var(--ink)!important;color:#fff!important;border-color:var(--ink)!important}
body.editorial.alona-bright .home-exact .section-row .ebook-type-nav,
body.editorial.alona-bright .ebook-type-nav{background:var(--surface);border-radius:12px;padding:3px!important;gap:0!important;border:0!important}
body.editorial.alona-bright .ebook-type-nav a{padding:6px 12px!important;border-radius:9px;color:var(--muted)!important;font-weight:700;border:0!important}
body.editorial.alona-bright .ebook-type-nav a.on{background:#fff;color:var(--ink)!important;box-shadow:var(--shadow)}
body.editorial.alona-bright .ebook-type-nav a.on::after{display:none!important}

/* ---------- 표지 공통 ---------- */
body.editorial.alona-bright .alona-generated-cover{width:100%;height:100%;min-height:0;background:#1b1d2b!important;padding:0!important;border:0!important;overflow:hidden}
body.editorial.alona-bright .alona-generated-cover::before,body.editorial.alona-bright .alona-generated-cover::after{display:none!important}
body.editorial.alona-bright .alona-generated-cover svg{display:block;width:100%;height:100%}
body.editorial.alona-bright :is(.home-new-cover,.reference-cover,.ebook-cover,.creator-work-cover,.author-work-cover){border-radius:10px!important;overflow:hidden;background:var(--surface)!important}
body.editorial.alona-bright :is(.home-new-card,.ebook-card,.reference-book) :is(.home-new-cover,.ebook-cover,.reference-cover) svg{transition:transform .25s ease}
body.editorial.alona-bright :is(.home-new-card,.ebook-card,.reference-book):hover :is(.home-new-cover,.ebook-cover,.reference-cover) svg{transform:scale(1.03)}
@media (prefers-reduced-motion:reduce){body.alona-bright .alona-generated-cover svg{transition:none!important;transform:none!important}}

/* ---------- 작품 카드 ---------- */
body.editorial.alona-bright .home-new-title,
body.editorial.alona-bright .ebook-card h3,
body.editorial.alona-bright .reference-book strong{font-weight:700!important;color:var(--ink)!important;letter-spacing:-.025em}
body.editorial.alona-bright .home-new-author,
body.editorial.alona-bright .ebook-author,
body.editorial.alona-bright .reference-book>span{color:var(--ink2)!important;font-weight:500}
body.editorial.alona-bright .home-new-stats,
body.editorial.alona-bright .ebook-info,
body.editorial.alona-bright .reference-book small{color:var(--muted)!important;font-variant-numeric:tabular-nums}
body.editorial.alona-bright .reference-book .reference-access,
body.editorial.alona-bright .ebook-card .ebook-price{
  display:inline-flex;width:max-content;font-size:12px!important;font-weight:700!important;padding:3px 8px;border-radius:6px;
  background:var(--blue-soft);color:var(--blue)!important
}

/* ---------- 랭킹 ---------- */
body.editorial.alona-bright .reference-ranking-list{border-top:0!important}
body.editorial.alona-bright .reference-rank{border-bottom:1px solid var(--line)!important}
body.editorial.alona-bright .reference-rank-number{font-family:var(--f-display)!important;font-weight:400!important;letter-spacing:0!important;color:var(--ink)}
body.editorial.alona-bright .reference-rank:nth-child(-n+3) .reference-rank-number{color:var(--accent)!important}
body.editorial.alona-bright .reference-rank>span:last-child strong{font-weight:700}
body.editorial.alona-bright .reference-rank>span:last-child small{color:var(--muted)!important}

/* ---------- 탐색 · 검색 페이지 ---------- */
body.editorial.alona-bright .reference-page-head h1,
body.editorial.alona-bright .reference-catalog>h1{font-weight:800!important;letter-spacing:-.04em!important}
body.editorial.alona-bright .reference-search input{border-radius:12px!important;background:var(--surface)!important;border:1.5px solid transparent!important}
body.editorial.alona-bright .reference-search button{border-radius:12px!important;background:var(--ink)!important;color:#fff!important;border:0!important;font-weight:700}
body.editorial.alona-bright .reference-filter-row select{border-radius:12px!important;border:1px solid var(--line)!important;background-color:#fff!important;font-weight:600}
body.editorial.alona-bright .reference-button{border-radius:12px!important}

/* ---------- 공지 · 로그인 카드 · 푸터 ---------- */
body.editorial.alona-bright .home-site-notices{background:var(--surface);border:0!important;border-radius:var(--radius);padding:14px 16px!important}
body.editorial.alona-bright .home-site-notices-label{color:var(--accent)!important;font-weight:800}
body.editorial.alona-bright .discovery-account{
  background:linear-gradient(110deg,var(--amber-soft),var(--accent-soft))!important;border:0!important;border-radius:18px!important
}
body.editorial.alona-bright .discovery-account strong{font-weight:800}
body.editorial.alona-bright .discovery-account p{color:var(--ink2)!important}
body.editorial.alona-bright #homeLoginButton{color:var(--accent-ink)!important;font-weight:800}
body.editorial.alona-bright>footer,body.editorial.alona-bright .site-footer{background:var(--surface)!important;border-top:0!important}
body.editorial.alona-bright .footer-brand span{font-family:var(--f-display);font-weight:400;letter-spacing:.02em;text-transform:uppercase}

/* ---------- 작품 상세 ---------- */
body.editorial.alona-bright .alona-detail .alona-hero-panel{
  position:relative;overflow:hidden;border:0!important;border-radius:22px!important;box-shadow:var(--shadow)!important;
  background:linear-gradient(180deg,color-mix(in srgb,var(--hero-a) 22%,#fff) 0,#fff 62%)!important
}
body.editorial.alona-bright .alona-detail .alona-book-cover{border-radius:12px!important;box-shadow:0 18px 32px -14px rgba(17,19,24,.45)!important}
body.editorial.alona-bright .alona-detail .alona-work-summary h1{font-weight:800!important;letter-spacing:-.04em!important;color:var(--ink)!important}
body.editorial.alona-bright .alona-detail .alona-tags{gap:6px!important}
body.editorial.alona-bright .alona-detail .alona-tags>span{background:#fff!important;border:1px solid var(--line)!important;border-radius:999px!important;padding:3px 10px!important;font-weight:600;color:var(--ink2)!important}
body.editorial.alona-bright .alona-detail .alona-tags>span+span:before{display:none!important}
/* 선독점·독점은 강조, 비독점은 기본 태그 */
body.editorial.alona-bright .alona-detail .alona-tags>span.alona-exclusivity.on{background:#e8efff!important;border-color:transparent!important;color:#1f4fbf!important}
body.editorial.alona-bright .alona-detail .alona-tags .alona-status{background:var(--accent-soft)!important;border-color:transparent!important;color:var(--accent-ink)!important}
body.editorial.alona-bright .alona-detail .alona-author{color:var(--ink)!important;font-weight:700}
body.editorial.alona-bright .alona-detail .alona-author-follow{border-radius:999px!important;border:1px solid var(--accent)!important;color:var(--accent-ink)!important;background:#fff!important;font-weight:700}
body.editorial.alona-bright .alona-detail .alona-author-follow[aria-pressed=true]{background:var(--accent-soft)!important}
body.editorial.alona-bright .alona-detail .alona-metrics{background:#fff!important;border:1px solid var(--line)!important;border-radius:16px!important;padding:12px 4px!important}
body.editorial.alona-bright .alona-detail .alona-metrics dd{color:var(--ink)!important;font-weight:800!important;font-variant-numeric:tabular-nums}
body.editorial.alona-bright .alona-detail .alona-primary{
  background:linear-gradient(100deg,var(--accent),var(--accent-2))!important;border:0!important;border-radius:14px!important;font-weight:800!important;
  box-shadow:0 10px 22px -10px rgba(255,61,94,.7)
}
body.editorial.alona-bright .alona-detail .alona-favorite{border-radius:14px!important;border-color:var(--line)!important;font-weight:700}
body.editorial.alona-bright .alona-detail .alona-favorite[aria-pressed=true]{border-color:var(--accent)!important;color:var(--accent-ink)!important;background:var(--accent-soft)!important}
body.editorial.alona-bright .alona-detail .alona-detail-nav button{font-weight:700}
body.editorial.alona-bright .alona-detail .alona-detail-nav button[aria-selected=true],
body.editorial.alona-bright .alona-detail .alona-detail-nav button.on{color:var(--ink)!important;border-color:var(--ink)!important}
body.editorial.alona-bright .alona-detail .alona-section-heading h2 span,
body.editorial.alona-bright .alona-detail .alona-detail-nav button span{color:var(--accent)!important}
body.editorial.alona-bright .alona-detail .alona-episode-row:hover{background:var(--surface)!important}
body.editorial.alona-bright .alona-detail .alona-episode-no{font-variant-numeric:tabular-nums;color:var(--muted)!important;font-weight:700}
body.editorial.alona-bright .alona-detail .alona-episode-copy strong{font-weight:600!important;color:var(--ink)!important}
body.editorial.alona-bright .alona-detail .alona-episode-access{
  display:inline-flex;font-size:11px!important;font-weight:800!important;padding:2px 7px;border-radius:6px;background:var(--blue-soft);color:var(--blue)!important
}
body.editorial.alona-bright .alona-detail .alona-episode-access.is-paid{background:var(--amber-soft);color:var(--amber)!important}
body.editorial.alona-bright .alona-detail .alona-episode-sort a.on,
body.editorial.alona-bright .alona-detail .alona-episode-sort a[aria-current]{color:var(--ink)!important;font-weight:800}
body.editorial.alona-bright :is(.pagination,.alona-pagination) :is(a,button).on,
body.editorial.alona-bright :is(.pagination,.alona-pagination) [aria-current=page]{background:var(--ink)!important;color:#fff!important;border-color:var(--ink)!important;border-radius:10px}

/* ---------- 뷰어 ---------- */
body.editorial.alona-bright .reader.alona-reader{background:#fff!important}
body.editorial.alona-bright .alona-reader .reader-body{font-family:var(--f-read)!important;color:#1C1D22!important;word-break:keep-all}
body.editorial.alona-bright .alona-reader .reader-back{color:var(--ink2)!important;font-weight:600}
body.editorial.alona-bright .alona-reader .reader-work-title{color:var(--muted)!important}
body.editorial.alona-bright .alona-reader :is(.reader-episode-number,.reader-kicker){color:var(--accent)!important;font-weight:800}

/* ---------- 전자책 ---------- */
body.editorial.alona-bright .ebook-cover{border-radius:10px!important}
body.editorial.alona-bright .ebook-feature-art .ebook-cover{box-shadow:0 18px 30px -12px rgba(17,19,24,.45)}

/* ---------- 작가 공간 · 정산 · 알로 ---------- */
body.editorial.alona-bright :is(.creator-studio,.settlement-page,.allo-page) h1{font-weight:800!important;letter-spacing:-.04em!important}
body.editorial.alona-bright .settlement-page{--settlement-mint:var(--accent)!important}
body.editorial.alona-bright :is(.type-option,.radio-chip,.serial-day,.publish-mode-btn).on{
  border-color:var(--accent)!important;background:var(--accent-soft)!important;color:var(--accent-ink)!important
}
body.editorial.alona-bright .toast{background:var(--ink)!important;color:#fff!important;border-radius:14px!important;font-weight:600}

/* ---------- 휴대폰 ---------- */
@media (max-width:720px){
  body.editorial.alona-bright .discovery-hero.reference-hero{border-radius:20px!important}
  body.editorial.alona-bright .reference-hero-copy h2{font-size:28px!important}
  body.editorial.alona-bright .alona-detail .alona-hero-panel{border-radius:20px!important}
}

/* 작품 상세는 인라인 스타일에서 accent를 다시 정의하므로 여기서 맞춘다 */
body.editorial.alona-bright .alona-detail{--accent:#FF3D5E;--accent-soft:#FFE9ED;background:#fff!important}

/* ---------- 이용약관 · 개인정보처리방침 ---------- */
body.editorial.alona-bright .legal-shell{max-width:760px;margin:0 auto;padding-block:20px 60px}
body.editorial.alona-bright .legal-head{margin:14px 0 22px}
body.editorial.alona-bright .legal-head h1{font-size:28px;font-weight:800;letter-spacing:-.04em;margin:0}
body.editorial.alona-bright .legal-meta{margin:6px 0 0;font-size:13px;color:var(--muted)}
body.editorial.alona-bright .legal-lead{margin:16px 0 0;font-size:15px;line-height:1.8;color:var(--ink2)}
body.editorial.alona-bright .legal-toc{background:var(--surface);border-radius:16px;padding:16px 18px;margin-bottom:28px}
body.editorial.alona-bright .legal-toc strong{display:block;font-size:13px;margin-bottom:8px}
body.editorial.alona-bright .legal-toc ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:4px 16px}
body.editorial.alona-bright .legal-toc a{display:block;font-size:13px;color:var(--ink2);padding:3px 0;text-decoration:none}
body.editorial.alona-bright .legal-toc a:hover{color:var(--accent-ink)}
body.editorial.alona-bright .legal-section{padding:22px 0;border-top:1px solid var(--line);scroll-margin-top:120px}
body.editorial.alona-bright .legal-section h2{font-size:18px;font-weight:800;letter-spacing:-.03em;margin:0 0 12px}
body.editorial.alona-bright .legal-section h2 span{color:var(--accent)}
body.editorial.alona-bright .legal-section :is(p,li){font-size:15px;line-height:1.8;color:var(--ink2);max-width:68ch}
body.editorial.alona-bright .legal-section p{margin:0 0 10px}
body.editorial.alona-bright .legal-section :is(ol,ul){margin:0 0 10px;padding-left:20px}
body.editorial.alona-bright .legal-section li+li{margin-top:4px}
body.editorial.alona-bright .legal-table{overflow-x:auto;margin:8px 0 12px;border:1px solid var(--line);border-radius:12px}
body.editorial.alona-bright .legal-table table{width:100%;border-collapse:collapse;font-size:14px;min-width:460px}
body.editorial.alona-bright .legal-table :is(th,td){padding:10px 12px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line);line-height:1.6}
body.editorial.alona-bright .legal-table tr:last-child :is(th,td){border-bottom:0}
body.editorial.alona-bright .legal-table th{background:var(--surface);font-weight:700;white-space:nowrap}
body.editorial.alona-bright .legal-fill{background:#FFF1B8;color:#7A4B00;padding:0 4px;border-radius:4px;font-weight:700}
body.editorial.alona-bright .legal-foot{border-top:1px solid var(--line);padding-top:18px}
body.editorial.alona-bright .legal-foot a{color:var(--accent-ink);font-weight:700}
body.editorial.alona-bright .legal-chapter{font-size:20px;font-weight:800;letter-spacing:-.035em;margin:34px 0 0;padding:14px 0 8px;border-top:2px solid var(--ink);scroll-margin-top:120px}
body.editorial.alona-bright .legal-section h3{font-size:16px;font-weight:800;letter-spacing:-.02em;margin:0 0 10px}
body.editorial.alona-bright .legal-section h3 span{color:var(--accent);margin-right:2px}
body.editorial.alona-bright .legal-chapter+.legal-section{border-top:0}
body.editorial.alona-bright .legal-toc-chapters>ol{display:block}
body.editorial.alona-bright .legal-toc-chapter{margin-bottom:10px}
body.editorial.alona-bright .legal-toc-chapter>span,body.editorial.alona-bright .legal-toc-chapter>a{display:block;font-size:13px;font-weight:800;color:var(--ink)!important;margin-bottom:2px}
body.editorial.alona-bright .legal-toc-chapter ol{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:0 16px}

/* 하단 사업자 정보 */
body.editorial.alona-bright .footer-biz{flex-basis:100%;width:100%;display:flex;flex-wrap:wrap;gap:4px 14px;font-size:12px;line-height:1.6;color:var(--muted);margin-top:4px}
body.editorial.alona-bright .footer-biz:empty{display:none}
body.editorial.alona-bright .footer-biz b{font-weight:700;color:var(--ink2);margin-right:2px}
body.editorial.alona-bright .footer-links b{font-weight:800;color:var(--ink)}
body.editorial.alona-bright .allo-terms-note{font-size:12px;color:var(--muted)}
body.editorial.alona-bright .allo-terms-note a{color:var(--accent-ink);font-weight:700;text-decoration:underline}
