:root {
  --nv-green: #00dc64;
  --nv-green-dark: #00b853;
  --ink: #111111;
  --muted: #666666;
  --line: #ebebeb;
  --bg: #ffffff;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; background: #ffffff; color: #111111; font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: 100%; max-width: 1190px; margin: 0 auto; padding: 0 16px; }

/* Naver Webtoon 3-Tier White Header */
.nv-top-strip { border-bottom: 1px solid #f0f0f0; background: #ffffff; }
.nv-top-inner { display: flex; align-items: center; justify-content: space-between; height: 52px; gap: 12px; }
.nv-brand-group { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.nv-logo { display: inline-flex; align-items: center; gap: 6px; font-weight: 900; font-size: 18px; letter-spacing: -0.04em; color: #111111; }
.nv-logo-mark { font-weight: 900; font-size: 13px; color: #111111; letter-spacing: -0.03em; }
.nv-logo-dot { color: #d1d5db; }
.nv-logo-sub { font-size: 13.5px; font-weight: 600; color: #767676; }
.nv-search-row { display: flex; align-items: center; gap: 10px; }
.nv-search-box { display: inline-flex; align-items: center; border: 1px solid #d9d9d9; border-radius: 4px; height: 34px; padding: 0 10px; background: #ffffff; width: 230px; }
.nv-search-box input { border: 0; outline: 0; font-size: 13px; width: 100%; font-family: inherit; }
.nv-creator-btn { display: inline-flex; align-items: center; background: var(--nv-green); color: #111111; font-size: 12px; font-weight: 900; padding: 7px 14px; border-radius: 4px; letter-spacing: 0.02em; }

.nv-main-nav { border-bottom: 1px solid #ebebeb; background: #ffffff; }
.nv-main-tabs { display: flex; align-items: center; height: 48px; gap: 2px; }
.nv-main-tabs a { display: inline-flex; align-items: center; height: 48px; padding: 0 18px; font-size: 15px; font-weight: 800; color: #111111; }
.nv-main-tabs a.is-on { background: var(--nv-green); color: #111111; }

.nv-sub-nav { border-bottom: 1px solid #ebebeb; background: #ffffff; overflow-x: auto; }
.nv-sub-tabs { display: flex; align-items: center; height: 44px; gap: 18px; min-width: max-content; }
.nv-sub-btn { background: none; border: 0; border-bottom: 2px solid transparent; height: 44px; padding: 0 2px; font-size: 14px; font-weight: 700; color: #333333; cursor: pointer; font-family: inherit; }
.nv-sub-btn.is-active { color: #00b853; border-bottom-color: var(--nv-green); font-weight: 800; }

/* 이달의 신규 웹툰 3-column horizontal showcase */
.nv-sec-title-row { display: flex; align-items: center; justify-content: space-between; margin: 28px 0 14px; gap: 12px; flex-wrap: wrap; }
.nv-sec-title { margin: 0; font-size: 20px; font-weight: 800; color: #111111; letter-spacing: -0.02em; }
.nv-sec-more { font-size: 13.5px; color: #666666; font-weight: 600; }
.new-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.new-card { display: flex; flex-direction: column; }
.new-thumb { position: relative; aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; border: 1px solid rgba(0, 0, 0, 0.08); background: #f3f4f6; margin-bottom: 10px; }
.new-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.new-badge-circle { position: absolute; top: 10px; left: 10px; width: 32px; height: 32px; border-radius: 50%; background: var(--nv-green); color: #111111; font-size: 11px; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.new-title { margin: 0 0 3px; font-size: 15.5px; font-weight: 800; color: #111111; line-height: 1.38; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.new-author { font-size: 13px; color: #444444; font-weight: 600; margin-bottom: 4px; }
.new-desc { margin: 0; font-size: 12.5px; color: #767676; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 요일별 / 전체 웹툰 5-column clean grid */
.wt-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px 16px; }
.wt-card { display: flex; flex-direction: column; gap: 7px; }
.wt-cover { aspect-ratio: 48 / 62; border-radius: 4px; overflow: hidden; border: 1px solid rgba(0, 0, 0, 0.08); background: #f8f9fa; }
.wt-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.18s ease; }
.wt-card:hover .wt-cover img { transform: scale(1.03); }
.wt-title { margin: 0; font-size: 14.5px; font-weight: 800; color: #111111; line-height: 1.36; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wt-meta { font-size: 12.5px; color: #666666; font-weight: 600; }

/* 작품 홈 헤더 + 회차 리스트 (comic.naver.com/webtoon/list style) */
.series-home-box { margin-top: 34px; border: 1px solid #ebebeb; border-radius: 6px; padding: 24px; background: #ffffff; }
.series-top { display: grid; grid-template-columns: 185px 1fr; gap: 24px; align-items: start; margin-bottom: 22px; }
.series-poster { width: 185px; aspect-ratio: 48 / 62; border-radius: 4px; overflow: hidden; border: 1px solid rgba(0, 0, 0, 0.08); }
.series-poster img { width: 100%; height: 100%; object-fit: cover; }
.series-h2 { margin: 0 0 8px; font-size: 22px; font-weight: 800; color: #111111; line-height: 1.32; }
.series-authors { font-size: 13.5px; color: #666666; margin-bottom: 10px; font-weight: 600; }
.series-authors strong { color: #111111; }
.series-synop { margin: 0 0 14px; font-size: 14px; color: #333333; line-height: 1.6; }
.series-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.series-tag { font-size: 12px; color: #555555; background: #f3f4f6; padding: 5px 10px; border-radius: 4px; font-weight: 600; }
.series-cta-row { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-first-ep { flex: 1; min-width: 190px; height: 46px; display: inline-flex; align-items: center; justify-content: center; background: var(--nv-green); color: #111111; font-weight: 900; font-size: 15px; border-radius: 4px; }
.btn-sub-outline { height: 46px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; background: #f7f7f7; border: 1px solid #e5e5e5; color: #111111; font-weight: 700; font-size: 14px; border-radius: 4px; cursor: pointer; }

.ep-list { border-top: 1px solid #111111; }
.ep-item { display: grid; grid-template-columns: 98px 1fr 120px; gap: 14px; align-items: center; padding: 12px 10px; border-bottom: 1px solid #ebebeb; transition: background 0.12s ease; }
.ep-item:hover { background: #f9fafb; }
.ep-item-thumb { width: 98px; height: 58px; border-radius: 4px; overflow: hidden; border: 1px solid #e5e5e5; }
.ep-item-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ep-item-name { font-size: 15px; font-weight: 700; color: #111111; margin-bottom: 3px; }
.ep-item-sub { font-size: 12.5px; color: #595959; }
.ep-item-right { text-align: right; font-size: 13px; color: #595959; }

/* Authentic Pure White Paper Vertical Webtoon Viewer (comic.naver.com/webtoon/detail) */
body.viewer-body { background: #ffffff; color: #111111; }
.read-progress { position: fixed; top: 0; left: 0; width: 100%; height: 2.5px; z-index: 95; background: #f0f0f0; }
.read-progress-fill { height: 100%; width: 0%; background: var(--nv-green); }
.viewer-bar { position: sticky; top: 0; z-index: 70; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(8px); border-bottom: 1px solid #ebebeb; color: #111111; }
.viewer-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 54px; padding: 6px 0; }
.viewer-title-group { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.viewer-back { display: inline-flex; align-items: center; font-size: 13.5px; font-weight: 700; color: #111111; padding: 6px 10px; border: 1px solid #e0e0e0; border-radius: 4px; flex-shrink: 0; min-height: 36px; }
.viewer-h1 { margin: 0; font-size: 15px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.viewer-controls { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.v-ep-select { height: 36px; max-width: 168px; border: 1px solid #d9d9d9; border-radius: 4px; background: #ffffff; color: #111111; font-size: 12.5px; font-weight: 700; padding: 0 6px; font-family: inherit; }
.v-btn { font-size: 13px; font-weight: 700; padding: 6px 12px; border: 1px solid #e0e0e0; border-radius: 4px; background: #ffffff; color: #111111; cursor: pointer; min-height: 36px; display: inline-flex; align-items: center; justify-content: center; }
.v-btn.primary { background: var(--nv-green); border-color: var(--nv-green); color: #111111; font-weight: 900; }
.v-btn.is-disabled { color: #9ca3af; background: #f9fafb; pointer-events: none; }

.ep-head-meta { max-width: 690px; margin: 22px auto 12px; padding: 0 12px; text-align: center; }
.ep-head-meta h2 { margin: 0 0 8px; font-size: clamp(19px, 3vw, 24px); font-weight: 800; color: #111111; line-height: 1.35; }
.ep-head-meta p { margin: 0; font-size: 14px; color: #444444; }
.ai-disclosure-sm { margin-top: 8px; font-size: 11.5px; color: #595959; }

.comic-canvas { width: 100%; max-width: 690px; margin: 0 auto; background: #ffffff; }
.comic-cut.cut {
  position: relative;
  isolation: isolate;
  width: 100%;
  margin: 0 0 clamp(14px, 3vw, 24px);
  padding: 0;
  background: #f8fafc;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  container-type: inline-size;
  border-radius: 4px;
  border: 1px solid #e5e7eb;
}
.comic-cut.cut.full { aspect-ratio: 1 / 1.12; margin-bottom: clamp(24px, 5vw, 44px); }
.comic-cut.cut.wide { aspect-ratio: 1.18 / 1; }
.comic-cut.cut.insert { width: auto; aspect-ratio: 1.12 / 1; margin-inline: 5.5%; }
.comic-cut.cut.proof { width: auto; aspect-ratio: 1.12 / 1; margin-inline: 4%; border: 4px solid #384340; }
.comic-cut.cut img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 34%; }
.comic-cut.cut.wide img, .comic-cut.cut.insert img, .comic-cut.cut.proof img { object-position: 50% 45%; }

.letter {
  z-index: 1;
  position: absolute;
  margin: 0;
  padding: .46em .68em;
  max-width: 78%;
  color: #201e18;
  background: #fff8e7;
  font-size: clamp(.82rem, 3.55cqw, 1.1rem);
  font-weight: 700;
  line-height: 1.36;
  white-space: pre-line;
  overflow-wrap: anywhere;
  word-break: keep-all;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}
.letter-spk {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.8em;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.08);
  color: #111111;
}
.tl { top: 4.5%; left: 4.5%; }
.tr { top: 4.5%; right: 4.5%; }
.ml { top: 43%; left: 4.5%; }
.mr { top: 43%; right: 4.5%; }
.bl { bottom: 5%; left: 4.5%; }
.br { bottom: 5%; right: 4.5%; }
.sfx { max-width: 72%; font-size: clamp(1.1rem, 5.4cqw, 1.85rem); font-weight: 950; color: #fae2b6; letter-spacing: .04em; text-shadow: 0 0 6px #121713, 1px 2px #15140e, -1px -1px #15140e; background: none; padding: 0; box-shadow: none; }
.say { border: 1.5px solid #352b21; border-radius: 1.05em; max-width: 72%; }
.say:after { content: ""; position: absolute; background: inherit; border-right: 1.5px solid #352b21; border-bottom: 1.5px solid #352b21; width: .52em; height: .52em; bottom: -.3em; transform: rotate(45deg); }
.tail-l:after { left: 22%; }
.tail-r:after { right: 22%; }
.say.bl:after, .say.br:after { bottom: auto; top: -.3em; transform: rotate(225deg); }
.thought { color: #fff8e7; background: rgba(24, 34, 30, 0.92); border: 1.5px dashed #d9cba9; border-radius: 1.05em; font-weight: 650; max-width: 72%; }
.thought .letter-spk { background: rgba(255, 255, 255, 0.16); color: #ecfdf5; }
.caption { color: #fff8ea; background: rgba(24, 30, 27, 0.92); border-left: 3.5px solid #eab96f; font-weight: 650; max-width: 86%; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.34); }
.phone { color: #16241d; background: #dce8df; border: 1px solid #86a391; border-radius: .65em; max-width: 74%; }
.paper { color: #2b2318; background: #f8e8b7; border: 1px solid #998352; border-radius: .2em; max-width: 76%; }
@media (max-width: 380px) {
  .comic-cut.cut, .comic-cut.cut.wide { aspect-ratio: 1 / 1.14; }
  .comic-cut.cut.insert, .comic-cut.cut.proof { aspect-ratio: 1 / 1.16; }
  .letter { font-size: 3.85cqw; padding: .42em .58em; max-width: 84%; }
}

.float-scroll-nav { position: fixed; right: 12px; bottom: 14px; z-index: 80; display: flex; flex-direction: column; gap: 6px; opacity: 0.86; }
.float-circle { width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); border: 1px solid #d9d9d9; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; color: #333333; cursor: pointer; }

.reader-post { max-width: 690px; margin: 20px auto 64px; display: flex; flex-direction: column; gap: 18px; padding: 0 12px; }
.nv-box { background: #ffffff; border: 1px solid #ebebeb; border-radius: 6px; padding: 20px; }
.next-ep-banner { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; border: 1px solid #ebebeb; border-radius: 6px; padding: 14px; background: #fafafa; }
.next-ep-banner img { width: 72px; height: 92px; object-fit: cover; border-radius: 4px; }
.ad-box { background: #ffffff; border: 1px solid #ebebeb; border-radius: 6px; padding: 14px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.top-coupang-disclosure { margin: 10px 0 4px; padding: 8px 14px; border-radius: 4px; border: 1px solid #ebebeb; background: #f9fafb; font-size: 12px; color: #595959; line-height: 1.45; text-align: center; }

/* Official Coupang Partners Dynamic & Promotion Embeds */
.promo-event-banner { margin: 18px auto; display: flex; justify-content: center; align-items: center; max-width: 100%; overflow: hidden; }
.promo-event-banner img { display: block; max-width: 100%; height: auto; border-radius: 6px; margin: 0 auto; }
.promo-event-banner a.cp-promo-desktop { display: none; max-width: 100%; line-height: 0; }
.promo-event-banner a.cp-promo-mobile { display: block; width: 100%; max-width: 320px; margin: 0 auto; line-height: 0; }
.cp-dyn-desktop { display: none; }
.cp-dyn-mobile { display: flex; justify-content: center; width: 100%; }
.cp-dyn-mobile iframe { width: 320px; max-width: 100%; height: 320px; border: 0; display: block; margin: 0 auto; }

@media (min-width: 720px) {
  .promo-event-banner a.cp-promo-desktop { display: block; width: 100%; max-width: 728px; margin: 0 auto; }
  .promo-event-banner a.cp-promo-desktop img { width: 100%; max-width: 728px; height: auto; }
  .promo-event-banner a.cp-promo-mobile { display: none; }
  .cp-dyn-desktop { display: flex; justify-content: center; width: 100%; }
  .cp-dyn-desktop iframe { width: 100%; max-width: 680px; height: 140px; border: 0; display: block; margin: 0 auto; }
  .cp-dyn-mobile { display: none; }
}

/* Multi-Zone Official Coupang Placements: Desktop Left/Right Wings, Mid-Stream, Mobile */
.home-stage { width: 100%; max-width: 1190px; margin: 0 auto; padding: 0 16px; }
.viewer-stage { width: 100%; max-width: 708px; margin: 0 auto; }
.wing-ad { display: none; }
.wing-card { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.wing-card a { display: block; line-height: 0; }
.wing-card img { display: block; width: 160px; height: auto; border-radius: 6px; }

.infeed-coupang-card { margin: 16px 0; padding: 12px 0; background: #f9fafb; border-top: 1px solid #ebebeb; border-bottom: 1px solid #ebebeb; display: flex; justify-content: center; align-items: center; overflow: hidden; }
.mobile-top-coupang { margin: 0 auto 14px; max-width: 708px; padding: 0; }
.mobile-top-coupang .infeed-coupang-card { margin: 0; }
.coupang-strip-box { margin: 20px 0; padding: 14px 0; background: #f9fafb; border-top: 1px solid #ebebeb; border-bottom: 1px solid #ebebeb; display: flex; flex-direction: column; align-items: center; gap: 12px; overflow: hidden; }
@media (max-width: 350px) {
  .home-stage .coupang-strip-box { margin-left: -10px; margin-right: -10px; }
}
@media (min-width: 351px) and (max-width: 719px) {
  .home-stage .coupang-strip-box { margin-left: -16px; margin-right: -16px; }
}
@media (min-width: 720px) {
  .infeed-coupang-card, .coupang-strip-box { border: 1px solid #ebebeb; border-radius: 6px; padding: 14px 8px; }
}

@media (min-width: 1180px) {
  .viewer-stage { max-width: 1150px; display: grid; grid-template-columns: 184px minmax(0, 708px) 184px; gap: 18px; align-items: start; justify-content: center; }
  .viewer-stage .wing-ad { display: block; position: sticky; top: 72px; }
  .mobile-top-coupang { display: none; }
}
@media (min-width: 1420px) {
  .home-stage { max-width: 1420px; display: grid; grid-template-columns: 188px minmax(0, 980px) 188px; gap: 20px; align-items: start; justify-content: center; }
  .home-stage .wing-ad { display: block; position: sticky; top: 72px; }
}

.site-footer { margin-top: 48px; border-top: 1px solid #ebebeb; padding: 28px 0 42px; font-size: 12.5px; color: #767676; background: #ffffff; }
.footer-links { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.prose-card { background: #ffffff; border: 1px solid #ebebeb; border-radius: 6px; padding: 24px; margin: 22px 0; }

@media (max-width: 960px) {
  .new-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nv-search-box { display: none; }
}
@media (max-width: 640px) {
  .new-grid { grid-template-columns: 1fr; gap: 16px; }
  .wt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
  .series-top { grid-template-columns: 1fr; gap: 14px; }
  .series-poster { width: 130px; }
  .ep-item { grid-template-columns: 74px 1fr; }
  .ep-item-right { display: none; }
  .viewer-bar-inner { flex-wrap: wrap; padding: 8px 0; gap: 6px; }
  .viewer-back, .v-btn, .v-ep-select { min-height: 44px; }
  .viewer-h1 { font-size: 14px; }
  .next-ep-banner { grid-template-columns: 60px 1fr; }
  .next-ep-banner a { grid-column: 1 / -1; text-align: center; }
  .float-scroll-nav { right: 10px; bottom: 14px; }
}
@media (max-width: 350px) {
  .wrap, .home-stage { padding: 0 10px; }
  .nv-main-tabs a { padding: 0 10px; font-size: 13.5px; }
}
