:root{
  --bg:#030303;
  --panel:#090909;
  --text:#f3f3f3;
  --muted:#b8b8b8;
  --pink:#df1584;
  --pink-bright:#ff1a9b;
  --line:rgba(255,255,255,.13);
  --page-pad:28px;
  --max:1920px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:Arial,Helvetica,sans-serif;overflow-x:hidden}
a{color:inherit;text-decoration:none}
img,object{display:block;max-width:100%}

.media-slot{
  background-image:
    linear-gradient(135deg,rgba(255,255,255,.055),rgba(255,255,255,.015)),
    var(--media);
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
}
.media-slot>span{pointer-events:none}

.topbar{
  position:absolute;inset:0 0 auto 0;z-index:20;
  height:92px;padding:18px var(--page-pad);
  display:flex;align-items:flex-start;justify-content:space-between;
}
.brand{display:flex;align-items:flex-start;justify-content:flex-start;width:122px;min-height:60px;overflow:hidden}
.brand object{display:block;width:auto;height:auto;max-width:100%;max-height:60px;overflow:hidden;object-fit:contain;object-position:left top}
.brand-placeholder{
  width:96px;height:56px;padding:7px 10px;display:flex;align-items:center;justify-content:center;
  text-align:center;line-height:.85;font-size:16px;font-weight:1000;font-style:italic;
  color:#fff;background:linear-gradient(150deg,#ff1398,#b80064);border-radius:7px;box-shadow:0 0 22px rgba(255,20,150,.22)
}
.topnav{display:flex;gap:42px;align-items:flex-start;padding-top:4px;margin-right:34px}
.nav-link{position:relative;padding:8px 18px 16px;color:#fff;font-weight:700;font-size:13px}
.nav-link.active:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:#d66aa8}

/* MAGAZINE */
.mag-hero{position:relative;min-height:760px;border-bottom:1px solid #111;overflow:hidden;background:#000}
.masthead{position:absolute;z-index:1;top:58px;left:24px;right:24px;font-size:clamp(86px,12.2vw,216px);font-weight:1000;letter-spacing:-.075em;line-height:.8;white-space:nowrap;color:#f0f0f0}
.hero-kicker{position:absolute;z-index:8;top:223px;font-size:14px;font-weight:700;letter-spacing:.02em}
.hero-kicker span{color:var(--pink);font-size:20px}
.hero-kicker-left{left:28px}
.hero-kicker-right{right:32px}
.hero-portrait{position:absolute;z-index:3;left:32%;right:25%;bottom:0;height:650px;background-position:center 18%;}
.hero-portrait:after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom,transparent 72%,rgba(0,0,0,.7))}
.hero-portrait>span{position:absolute;left:50%;top:57%;transform:translate(-50%,-50%);z-index:2;padding:10px 14px;border:1px dashed rgba(255,255,255,.25);color:#777;font-size:11px;letter-spacing:.12em}
.hero-copy{position:absolute;z-index:6;top:262px;width:260px}
.hero-copy-left{left:28px}.hero-copy-right{right:34px;text-align:right}
.accent-title{color:var(--pink);font-weight:1000;font-size:24px;line-height:1;margin-bottom:4px}
.hero-copy h1{font-size:55px;line-height:.82;letter-spacing:-.06em;margin:0 0 15px;font-weight:1000}
.hero-copy p{margin:0 0 14px;color:#ececec;font-size:16px;line-height:1.15}
.hero-copy h2{font-size:24px;line-height:1.03;margin:0 0 6px;font-weight:900}
.hero-copy h3{font-size:22px;line-height:1.02;margin:10px 0 3px;font-weight:900}
.hero-copy-left h3 em{font-style:normal;color:var(--pink)}
.hero-copy h4{font-size:17px;color:var(--pink);line-height:1.12;margin:18px 0 5px;font-weight:1000}
.hero-copy h4 b{font-size:29px;vertical-align:-3px}
.pink-rule{display:block;width:78px;height:3px;background:var(--pink);margin:16px 0 17px}.pink-rule.right{margin-left:auto}
.barcode{width:155px;height:92px;margin-top:14px;padding:7px 10px;background:#f0f0f0;color:#111;text-align:left;font-size:8px;letter-spacing:.15em}
.barcode i{display:block;height:50px;margin:5px 0 1px;background:repeating-linear-gradient(90deg,#111 0 2px,#fff 2px 4px,#111 4px 5px,#fff 5px 8px)}
.barcode small{font-size:9px;letter-spacing:.18em}

.section-pad{padding:30px 40px 0;max-width:var(--max);margin:0 auto}
.section-title-row h2{margin:0 0 16px;font-size:30px;letter-spacing:-.03em}
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.feature-card{min-width:0}
.feature-image{aspect-ratio:1.66/1;position:relative;background-color:#111}
.feature-image>span{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);padding:7px 10px;border:1px dashed #363636;color:#6e6e6e;font-size:10px}
.feature-card h3{margin:13px 0 5px;color:var(--pink);font-size:23px;line-height:1}
.feature-card p{margin:0;color:#f0f0f0;font-size:16px;line-height:1.22;max-width:90%}
.card-meta{display:flex;gap:12px;margin-top:14px;font-size:11px}.card-meta b{color:var(--pink)}.card-meta span{color:#ddd}
.compact-top{padding-top:24px;padding-bottom:18px}
.masonry-grid{columns:4 270px;column-gap:12px}
.story-tile{position:relative;break-inside:avoid;margin:0 0 12px;min-height:210px;background-color:#111;overflow:hidden;isolation:isolate}
.story-tile.short{height:240px}.story-tile.medium{height:300px}.story-tile.tall{height:360px}
.story-tile:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(to top,rgba(0,0,0,.92) 0,rgba(0,0,0,.18) 58%,rgba(0,0,0,.04) 100%)}
.tile-placeholder{position:absolute;top:14px;right:14px;padding:5px 7px;border:1px dashed rgba(255,255,255,.2);font-size:9px;color:#777}
.tile-copy{position:absolute;left:16px;right:16px;bottom:14px}
.tile-copy h3{margin:0 0 10px;font-family:Georgia,'Times New Roman',serif;font-weight:500;font-size:24px;line-height:1.02;text-shadow:0 2px 8px #000}
.tile-copy b{display:block;color:var(--pink);font-size:11px;margin-bottom:4px}.tile-copy small{font-size:10px;color:#ddd}
.site-footer{padding:22px 28px 36px;color:#606060;font-size:10px;letter-spacing:.14em;border-top:1px solid #0e0e0e;text-align:center}

/* WEBTOON */
.webtoon-hero{position:relative;min-height:810px;background-color:#130f0b;background-position:center;overflow:hidden;border-bottom:none}
.webtoon-hero:after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(to bottom,rgba(0,0,0,.08),rgba(0,0,0,.18) 70%,rgba(0,0,0,.66) 100%)}
.webtoon-hero:before{content:"";position:absolute;left:0;right:0;bottom:0;height:190px;z-index:2;pointer-events:none;background:linear-gradient(to bottom,rgba(43,22,8,0) 0%,rgba(43,22,8,.08) 18%,rgba(30,17,9,.34) 44%,rgba(12,8,5,.72) 70%,#030303 100%)}
.webtoon-topbar{z-index:5;height:178px;padding:22px 48px 0 68px}
.webtoon-topbar .brand{width:112px;min-height:52px}
.webtoon-topbar .brand object{max-height:52px}
.webtoon-switcher{display:flex;gap:34px;align-items:flex-start}
.switch-item{width:132px;font-size:13px;font-weight:800;text-align:center}
.switch-item>span{display:block;padding:8px 0 16px;border-bottom:2px solid transparent}
.switch-item.active>span{border-color:#d76aab}
.switch-thumb{height:76px;border:1px solid rgba(255,255,255,.12);position:relative;background-color:#17120f;box-shadow:0 8px 28px rgba(0,0,0,.25)}
.switch-thumb small{position:absolute;left:0;right:0;bottom:-23px;color:#eee;font-size:9px;font-weight:800;text-align:center;white-space:nowrap}
.webtoon-title-lockup{position:absolute;z-index:4;left:50%;top:51%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;width:min(520px,72vw);text-align:center}
.cavis-logo{width:430px;aspect-ratio:2.25/1;background-size:contain;background-color:transparent!important}
.cavis-logo span{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-family:Georgia,'Times New Roman',serif;font-style:italic;font-weight:900;font-size:72px;line-height:.7;letter-spacing:-.08em;text-shadow:0 5px 16px #000;color:#f3f3f3}
.webtoon-title-lockup p{margin:-6px 0 0;font-family:Georgia,'Times New Roman',serif;font-style:italic;font-size:17px;color:#f2f2f2}
.hero-slot-label{position:absolute;z-index:3;left:50%;top:26%;transform:translateX(-50%);padding:7px 10px;border:1px dashed rgba(255,255,255,.22);font-size:9px;color:rgba(255,255,255,.34);letter-spacing:.13em}
.episode-section{position:relative;margin-top:-1px;padding:86px 52px 70px;background:#030303}
.episode-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,260px));justify-content:flex-start;align-items:start;gap:44px 24px;max-width:1880px;margin:0 auto}
.episode-card{display:flex;flex-direction:column;align-self:start;min-width:0}
.episode-card h2{font-size:17px;line-height:1.22;min-height:calc(1.22em * 2);margin:0 0 19px;text-transform:lowercase;word-break:break-word}.episode-card>p{font-size:14px;line-height:1.08;margin:0 0 18px;min-height:31px}
.episode-poster{position:relative;display:block;aspect-ratio:.72/1;background-color:#15100c;overflow:hidden;border:1px solid rgba(255,255,255,.08)}
.episode-poster:after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom,transparent 48%,rgba(0,0,0,.42) 64%,rgba(0,0,0,.94) 100%)}
.episode-poster>span{position:absolute;z-index:2;top:18px;left:50%;transform:translateX(-50%);font-size:9px;color:#8b7c70;white-space:nowrap;border:1px dashed rgba(255,255,255,.13);padding:5px 7px}
.poster-caption{position:absolute;z-index:3;left:13px;right:13px;bottom:45px;font-size:12px;line-height:1.04;text-shadow:0 2px 5px #000}.episode-poster b{position:absolute;z-index:3;bottom:12px;left:0;right:0;text-align:center;font-size:11px}
.episode-poster:hover{transform:translateY(-3px);transition:.2s ease;border-color:rgba(223,21,132,.45)}

@media (max-width:1300px){
  .hero-portrait{left:27%;right:22%}
  .hero-copy{width:220px}.hero-copy h1{font-size:48px}
  .episode-grid{grid-template-columns:repeat(auto-fit,minmax(210px,240px));gap:24px 20px}
}

@media (max-width:1050px){
  .mag-hero{min-height:700px}.masthead{top:74px;font-size:13.2vw}.hero-kicker{top:193px}
  .hero-portrait{left:20%;right:18%;height:590px}.hero-copy{top:240px;width:205px}.hero-copy-left{left:22px}.hero-copy-right{right:22px}
  .hero-copy h1{font-size:43px}.hero-copy h2{font-size:20px}.hero-copy h3{font-size:19px}.hero-copy p{font-size:14px}
  .masonry-grid{columns:3 230px}
  .webtoon-hero{min-height:700px}.episode-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:32px 20px}
}

@media (max-width:760px){
  :root{--page-pad:16px}
  .topbar{height:72px;padding:12px 16px}.brand{width:88px;min-height:48px}.brand object{width:auto;height:auto;max-width:100%;max-height:48px}.topnav{gap:8px;margin-right:0}.nav-link{font-size:12px;padding:8px 9px 12px}
  .mag-hero{min-height:760px}.masthead{top:80px;left:14px;right:14px;font-size:17vw;letter-spacing:-.08em}
  .hero-kicker{top:151px;font-size:9px}.hero-kicker-left{left:16px}.hero-kicker-right{right:16px}
  .hero-portrait{left:6%;right:6%;height:560px;bottom:0;opacity:.88}.hero-portrait:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#000 0,transparent 22%,transparent 78%,#000 100%)}
  .hero-copy{top:auto;bottom:30px;width:43%;}.hero-copy-left{left:16px}.hero-copy-right{right:16px}.accent-title{font-size:17px}.hero-copy h1{font-size:35px}.hero-copy h2{font-size:16px}.hero-copy h3{font-size:15px}.hero-copy h4{font-size:13px}.hero-copy p{font-size:11px}.barcode{display:none}
  .section-pad{padding-left:16px;padding-right:16px}.section-title-row h2{font-size:24px}.feature-grid{grid-template-columns:1fr;gap:28px}.feature-card p{max-width:none}.masonry-grid{columns:2 170px}.story-tile.short,.story-tile.medium,.story-tile.tall{height:250px}.tile-copy h3{font-size:19px}
  .webtoon-topbar{padding:13px 16px}.webtoon-switcher{gap:10px}.switch-item{width:92px;font-size:10px}.switch-thumb{height:54px}.switch-thumb small{display:none}.webtoon-title-lockup{top:54%}.cavis-logo{width:330px}.cavis-logo span{font-size:56px}.webtoon-title-lockup p{font-size:13px}.webtoon-hero{min-height:620px}
  .episode-section{padding:38px 16px 55px}.episode-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:34px 16px}.episode-card h2{font-size:15px;line-height:1.18;min-height:calc(1.18em * 2);margin-bottom:10px}.episode-card>p{font-size:11px;margin-bottom:12px}.poster-caption{font-size:10px}
}

@media (max-width:440px){
  .masonry-grid{columns:1}.story-tile.short,.story-tile.medium,.story-tile.tall{height:300px}
  .episode-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 10px}.episode-poster b{font-size:9px}.poster-caption{font-size:9px;bottom:38px}.cavis-logo{width:275px}.cavis-logo span{font-size:46px}
}

/* Night House dynamic/public additions */
.brand img{display:block;width:auto;height:auto;max-width:100%;max-height:60px;object-fit:contain;object-position:left top}
.webtoon-topbar .brand img{max-height:52px}
.story-tile{position:relative}.story-link{position:absolute;inset:0;z-index:4}.tile-copy{z-index:5;pointer-events:none}
.account-switch{width:auto;min-width:74px}.account-switch>span{white-space:nowrap}
.detail-page,.episode-reader-page{background:#050505;min-height:100vh}
.detail-header,.reader-header{position:sticky;top:0;z-index:50;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px 28px;background:rgba(3,3,3,.92);backdrop-filter:blur(18px);border-bottom:1px solid rgba(255,255,255,.08)}
.detail-header .brand{width:94px;min-height:45px}.detail-header nav{display:flex;gap:28px;font-weight:700;font-size:13px}
.article-shell{max-width:1120px;margin:0 auto;padding-bottom:100px}.article-hero{height:min(68vh,740px);background-color:#121212}.article-body{max-width:820px;margin:-70px auto 0;position:relative;padding:42px 48px 80px;background:#070707;border:1px solid rgba(255,255,255,.08)}
.article-category{font-size:12px;letter-spacing:.16em;color:var(--pink);font-weight:800}.article-body h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(44px,7vw,88px);line-height:.93;letter-spacing:-.055em;margin:15px 0 18px}.article-deck{font-size:20px;line-height:1.35;color:#c9c9c9}.article-content{margin-top:42px;font-family:Georgia,'Times New Roman',serif;font-size:19px;line-height:1.85;color:#e9e9e9}.article-content img{max-width:100%;height:auto}
.detail-loading,.empty-reader{padding:120px 30px;text-align:center;color:#777}
.reader-header{font-size:13px}.reader-shell{max-width:1080px;margin:0 auto}.reader-intro{text-align:center;padding:80px 20px 50px}.reader-intro h1{font-size:42px;margin:0 0 14px}.reader-intro p{color:#aaa}.reader-cut{display:block;width:100%;height:auto;margin:0 auto}.empty-reader{min-height:60vh}
@media(max-width:760px){.brand img{max-height:48px}.article-body{margin:0;padding:30px 18px 60px;border-left:0;border-right:0}.article-hero{height:44vh}.detail-header,.reader-header{padding:12px 16px}.reader-intro{padding:50px 16px 30px}.reader-intro h1{font-size:30px}}

/* 2026-09-25 CMS-only content binding: public content comes from admin/DB, not CSS/HTML defaults. */
.webtoon-hero-video{position:absolute;inset:0;z-index:0;width:100%;height:100%;object-fit:cover;background:#080604}
.webtoon-header-nav{display:flex;flex-direction:column;align-items:flex-end;gap:10px;max-width:min(760px,70vw)}
.webtoon-menu-row{display:flex;align-items:center;justify-content:flex-end;gap:34px}
.webtoon-menu-link{position:relative;padding:8px 2px 12px;font-size:13px;font-weight:800;white-space:nowrap}
.webtoon-menu-link.active:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:#d76aab}
.series-switcher{display:flex;justify-content:flex-end;gap:12px;max-width:100%;overflow-x:auto;padding:0 0 28px;scrollbar-width:thin}
.series-switch-card{flex:0 0 132px;display:grid;gap:7px;text-align:left;opacity:.72;transition:.18s ease}
.series-switch-card:hover,.series-switch-card.active{opacity:1}
.series-switch-card.active .series-switch-thumb{border-color:#d76aab;box-shadow:0 0 0 1px rgba(215,106,171,.22)}
.series-switch-thumb{display:block;width:132px;height:76px;background-color:#17120f;border:1px solid rgba(255,255,255,.12);background-position:center;background-size:cover;background-repeat:no-repeat}
.series-switch-card small{display:block;color:#eee;font-size:9px;font-weight:800;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.webtoon-series-logo{display:block;max-width:min(520px,72vw);max-height:220px;width:auto;height:auto;object-fit:contain;filter:drop-shadow(0 5px 16px #000)}
.webtoon-series-title{margin:0;font-family:Georgia,'Times New Roman',serif;font-style:italic;font-weight:900;font-size:clamp(48px,5.2vw,82px);line-height:.86;letter-spacing:-.065em;text-shadow:0 5px 16px #000;color:#f3f3f3}
.webtoon-title-lockup[hidden]{display:none!important}
.media-slot:not([style*="--media"]){background-image:linear-gradient(135deg,rgba(255,255,255,.025),rgba(255,255,255,.008))}

@media(max-width:760px){
  .webtoon-header-nav{max-width:78vw;gap:6px}.webtoon-menu-row{gap:13px}.webtoon-menu-link{font-size:10px;padding-bottom:8px}
  .series-switcher{gap:8px;padding-bottom:18px}.series-switch-card{flex-basis:92px}.series-switch-thumb{width:92px;height:54px}.series-switch-card small{font-size:8px}
  .webtoon-series-logo{max-width:330px;max-height:150px}.webtoon-series-title{font-size:clamp(42px,12vw,58px)}
}

/* 2026-09-25: responsive 16:9 hero + lower independent episode overlay.
   - Hero keeps its responsive 16:9 size.
   - On large screens, the episode layer begins around 84.375vh
     (about 50% lower than the previous 810px/56.25vh boundary on a 16:9 viewport).
   - A separate fade is drawn above the episode layer so the hero transitions
     naturally into black even though the episode layer overlaps the hero. */
@media (min-width:1441px){
  .webtoon-hero{
    width:100%;
    height:56.25vw; /* 16:9 */
    min-height:0;
    background-size:cover;
    background-position:center center;
  }

  .webtoon-hero-video{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center center;
  }

  /* Move the breadcrumb and the episodes as ONE content block.
     The breadcrumb precedes .episode-section in the DOM, so the old
     negative margin on .episode-section caused it to jump above the breadcrumb. */
  .artworks-breadcrumb{
    margin-top:calc(min(84.375vh, 56.25vw) - 56.25vw);
  }

  .episode-section{
    position:relative;
    z-index:12;
    margin-top:-1px;
    background:#030303;
  }

  .episode-section::before{
    content:"";
    position:absolute;
    left:0;
    right:0;
    top:-300px;
    height:300px;
    pointer-events:none;
    background:linear-gradient(
      to bottom,
      rgba(3,3,3,0) 0%,
      rgba(3,3,3,.06) 18%,
      rgba(3,3,3,.20) 36%,
      rgba(3,3,3,.48) 58%,
      rgba(3,3,3,.78) 78%,
      #030303 100%
    );
  }
}

/* Episode ordered blog/webtoon content blocks */
.reader-block-list{display:block;width:100%}.reader-content-block{display:block;margin:0 auto}.reader-image-block{padding:0;margin:0}.reader-image-block img{display:block;width:100%;height:auto;margin:0 auto}.reader-text-block{max-width:860px;padding:42px 42px;margin:24px auto;font-family:Georgia,'Times New Roman',serif;font-size:19px;line-height:1.9;color:#ececec;background:#090909;border:1px solid rgba(255,255,255,.07);white-space:normal;word-break:break-word}.reader-banner-block{max-width:980px;margin:34px auto;text-decoration:none;overflow:hidden;border:1px solid rgba(255,255,255,.08);background:#0b0b0b}.reader-banner-block img{display:block;width:100%;height:auto}.reader-banner-block[href]{transition:transform .18s ease,border-color .18s ease}.reader-banner-block[href]:hover{transform:translateY(-2px);border-color:rgba(223,21,132,.55)}
@media(max-width:760px){.reader-text-block{margin:14px 12px;padding:28px 20px;font-size:16px;line-height:1.75}.reader-banner-block{margin:22px 12px}}

/* 19+ episode gate: shown on adult-only episodes while the visitor is logged out. */
.episode-poster.adult-gate{
  position:relative;
  isolation:isolate;
  container-type:inline-size;
  color:#fff;
  background-color:#0a0807;
  background-position:center;
  background-size:cover;
  border:1px solid rgba(255,255,255,.08);
}
.episode-poster.adult-gate::after{display:none}
.adult-gate-shade{
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(to bottom,rgba(0,0,0,.60) 0%,rgba(0,0,0,.72) 52%,rgba(0,0,0,.94) 100%);
  backdrop-filter:brightness(.72);
}
.adult-gate-content{
  position:absolute;
  inset:0;
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  padding:10% 7% 8%;
  text-align:center;
}
.adult-gate-mark{
  position:relative;
  width:58%;
  aspect-ratio:1/1;
  display:grid;
  place-items:center;
  margin:0 auto 6%;
  border:clamp(5px,.55vw,10px) solid #fff;
  border-right-color:transparent;
  border-radius:50%;
  transform:rotate(-5deg);
}
.adult-gate-mark::before,
.adult-gate-mark::after{
  content:"";
  position:absolute;
  right:-4%;
  width:19%;
  height:clamp(5px,.55vw,10px);
  border-radius:999px;
  background:#fff;
  transform-origin:right center;
}
.adult-gate-mark::before{top:15%;transform:rotate(42deg)}
.adult-gate-mark::after{bottom:15%;transform:rotate(-42deg)}
.adult-gate-mark span{
  transform:rotate(5deg);
  font-size:clamp(30px,22cqw,52px);
  line-height:1;
  font-weight:850;
  letter-spacing:-.055em;
  text-shadow:0 2px 8px rgba(0,0,0,.42);
}
.adult-gate-copy{
  display:grid;
  gap:.42em;
  width:100%;
  margin-top:1%;
  font-weight:700;
  line-height:1.2;
  text-shadow:0 1px 5px rgba(0,0,0,.82);
}
.adult-gate-copy strong{
  font-size:clamp(11px,5.8cqw,15px);
  font-weight:700;
  letter-spacing:-.015em;
}
.adult-gate-copy span{
  font-size:clamp(11px,6.3cqw,16px);
  font-weight:700;
  letter-spacing:-.012em;
}
.adult-gate-button{
  display:grid;
  place-items:center;
  width:90%;
  min-height:12%;
  margin-top:auto;
  padding:7% 5%;
  border-radius:8px;
  background:#df1584;
  color:#050505;
  font-size:clamp(12px,6.8cqw,18px);
  line-height:1.05;
  font-weight:800;
  letter-spacing:-.02em;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.18),0 8px 22px rgba(223,21,132,.16);
}
.episode-poster.adult-gate:hover .adult-gate-button{background:#f11a91}
.episode-poster.adult-gate:hover{transform:translateY(-3px);border-color:rgba(223,21,132,.55)}
.badge.adult{background:rgba(223,21,132,.15);color:#ff70b8;border-color:rgba(223,21,132,.4)}

@media(max-width:760px){
  .adult-gate-content{padding:9% 6% 7%}
  .adult-gate-mark{width:54%;margin-bottom:6%}
  .adult-gate-copy{gap:.38em}
  .adult-gate-button{width:94%;border-radius:7px;padding:8% 4%}
}

/* Header login / nickname button
   Logged out: "Login"
   Logged in: NPC nickname; clicking it logs the user out. */
[data-auth-link].auth-menu-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:88px;
  max-width:180px;
  padding:9px 18px !important;
  border:1px solid #FFE1A9;
  border-radius:11px;
  background:#FFB938;
  color:#050505 !important;
  font-weight:900 !important;
  line-height:1;
  text-align:center;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  box-shadow:none;
  transition:filter .16s ease,transform .16s ease;
}
[data-auth-link].auth-menu-button::after{display:none !important}
[data-auth-link].auth-menu-button:hover{
  filter:brightness(1.055);
  transform:translateY(-1px);
}
[data-auth-link].auth-menu-button:active{transform:translateY(0)}
[data-auth-link].auth-menu-button.is-logged-in{cursor:pointer}

.webtoon-menu-row [data-auth-link].auth-menu-button{
  padding:9px 16px !important;
}

@media(max-width:760px){
  [data-auth-link].auth-menu-button{
    min-width:68px;
    max-width:112px;
    padding:7px 11px !important;
    border-radius:9px;
    font-size:10px !important;
  }
  .webtoon-menu-row [data-auth-link].auth-menu-button{
    padding:7px 10px !important;
  }
}

/* Magazine ordered article blocks: admin-defined order is preserved on the detail page. */
.article-content.article-content-blocks{font-family:inherit;font-size:inherit;line-height:inherit}
.article-block{display:block}
.article-text-block{margin:30px 0;font-family:Georgia,'Times New Roman',serif;font-size:19px;line-height:1.9;color:#e9e9e9;white-space:normal;word-break:break-word}
.article-image-block{margin:34px -48px;padding:0}
.article-image-block img{display:block;width:100%;height:auto;margin:0}
.article-banner-block{margin:38px -24px;overflow:hidden;border:1px solid rgba(255,255,255,.08);background:#0b0b0b;text-decoration:none}
.article-banner-block img{display:block;width:100%;height:auto}
.article-banner-block[href]{transition:transform .18s ease,border-color .18s ease}
.article-banner-block[href]:hover{transform:translateY(-2px);border-color:rgba(223,21,132,.55)}
@media(max-width:760px){
  .article-text-block{margin:22px 0;font-size:16px;line-height:1.78}
  .article-image-block{margin:26px -18px}
  .article-banner-block{margin:28px -10px}
}

/* Magazine issue switcher — same compact thumbnail pattern as Webtoon series.
   The existing Magazine hero/layout is unchanged; this only adds the issue selector. */
.magazine-header-nav{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:9px;
  max-width:min(760px,72vw);
  margin-right:34px;
}
.magazine-header-nav .topnav{margin-right:0;padding-top:4px}
.magazine-issue-switcher{
  display:flex;
  justify-content:flex-end;
  gap:12px;
  max-width:100%;
  overflow-x:auto;
  padding:0 0 24px;
  scrollbar-width:thin;
}
.magazine-issue-switcher[hidden]{display:none!important}
.magazine-issue-card{
  flex:0 0 132px;
  display:grid;
  gap:7px;
  text-align:left;
  opacity:.72;
  transition:.18s ease;
}
.magazine-issue-card:hover,.magazine-issue-card.active{opacity:1}
.magazine-issue-card.active .magazine-issue-thumb{
  border-color:#d76aab;
  box-shadow:0 0 0 1px rgba(215,106,171,.22);
}
.magazine-issue-thumb{
  display:block;
  width:132px;
  height:76px;
  background-color:#17120f;
  border:1px solid rgba(255,255,255,.12);
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
}
.magazine-issue-card small{
  display:block;
  color:#eee;
  font-size:9px;
  font-weight:800;
  line-height:1.2;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
@media(max-width:760px){
  .magazine-header-nav{max-width:78vw;gap:6px;margin-right:0}
  .magazine-header-nav .topnav{gap:8px}
  .magazine-issue-switcher{gap:8px;padding-bottom:16px}
  .magazine-issue-card{flex-basis:92px}
  .magazine-issue-thumb{width:92px;height:54px}
  .magazine-issue-card small{font-size:8px}
}

/* 2026-09-25 — Magazine wide hero image
   The Magazine issue hero is now a full-width background layer instead of a
   centered portrait slot. Existing Magazine typography / UI stays on top. */
.mag-hero{
  isolation:isolate;
}
.mag-hero .hero-portrait{
  position:absolute !important;
  inset:0 !important;
  z-index:0 !important;
  width:100% !important;
  height:100% !important;
  opacity:1 !important;
  background-size:cover !important;
  background-position:center center !important;
  background-repeat:no-repeat !important;
}
.mag-hero .hero-portrait::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:
    linear-gradient(90deg,rgba(0,0,0,.38) 0%,rgba(0,0,0,.08) 28%,rgba(0,0,0,.05) 70%,rgba(0,0,0,.40) 100%);
}
.mag-hero .hero-portrait::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  background:
    linear-gradient(to bottom,rgba(0,0,0,.03) 0%,rgba(0,0,0,.05) 55%,rgba(0,0,0,.58) 100%);
}

/* Keep all existing Magazine UI above the new wide artwork layer. */
.mag-hero .masthead{z-index:3}
.mag-hero .hero-kicker{z-index:8}
.mag-hero .hero-copy{z-index:6}

/* Old portrait-specific responsive offsets must not re-apply. */
@media (max-width:1300px){
  .mag-hero .hero-portrait{inset:0 !important;width:100% !important;height:100% !important}
}
@media (max-width:1050px){
  .mag-hero .hero-portrait{inset:0 !important;width:100% !important;height:100% !important}
}
@media (max-width:760px){
  .mag-hero .hero-portrait{
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    opacity:1 !important;
    background-position:center center !important;
  }
}

/* Magazine main cover: match the WebToon hero's responsive 16:9 frame.
   Previous fixed 760/700px minimum heights caused the cover to crop as
   the browser was resized. Keep the entire cover frame proportional on
   desktop, tablet, and mobile without altering the uploaded artwork. */
.magazine-page .mag-hero{
  width:100%;
  height:auto;
  min-height:0;
  aspect-ratio:16 / 9;
}

/* 2026-09-26: compact full-width episode rail + bottom previous/next navigation */
.reader-episode-nav{
  position:relative;
  left:50%;
  width:100vw;
  height:52px;
  margin:0;
  transform:translateX(-50%);
  padding:4px 10px;
  border-top:1px solid rgba(255,255,255,.05);
  border-bottom:1px solid rgba(255,255,255,.10);
  background:#050505;
  overflow:hidden;
}
.reader-episode-strip{
  display:flex;
  flex-direction:row-reverse;
  justify-content:flex-start;
  align-items:stretch;
  gap:5px;
  width:100%;
  height:44px;
  overflow-x:auto;
  overflow-y:hidden;
  padding:0;
  scroll-snap-type:x proximity;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-inline:contain;
  scrollbar-width:thin;
  scrollbar-color:rgba(255,255,255,.28) transparent;
  touch-action:pan-x;
}
.reader-episode-strip::-webkit-scrollbar{height:3px}
.reader-episode-strip::-webkit-scrollbar-track{background:transparent}
.reader-episode-strip::-webkit-scrollbar-thumb{background:rgba(255,255,255,.26);border-radius:999px}
.reader-episode-item{
  flex:0 0 132px;
  height:42px;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  align-items:stretch;
  gap:6px;
  scroll-snap-align:end;
  padding:2px;
  border:1px solid rgba(255,255,255,.10);
  background:#090909;
  text-decoration:none;
  overflow:hidden;
  transition:border-color .14s ease,background .14s ease;
}
.reader-episode-item:hover{border-color:rgba(255,255,255,.34);background:#101010}
.reader-episode-item.active{
  border-color:#f4f4f4;
  box-shadow:0 0 0 1px rgba(255,255,255,.26) inset;
  background:#111;
}
.reader-episode-thumb{
  position:relative;
  display:grid;
  place-items:center;
  width:34px;
  height:36px;
  overflow:hidden;
  background:#101010;
}
.reader-episode-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.reader-episode-thumb-empty{font-size:5px;color:#555;line-height:1.1;text-align:center;letter-spacing:.04em}
.reader-episode-copy{
  display:flex;
  min-width:0;
  flex-direction:column;
  justify-content:center;
  padding:1px 3px 1px 0;
}
.reader-episode-copy small{
  display:block;
  margin:0 0 2px;
  color:#777;
  font-size:6px;
  line-height:1;
  font-weight:800;
  letter-spacing:.05em;
  white-space:nowrap;
}
.reader-episode-copy strong{
  display:block;
  overflow:hidden;
  color:#e8e8e8;
  font-size:8px;
  line-height:1.15;
  font-weight:750;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.reader-episode-item.active .reader-episode-copy small,
.reader-episode-item.active .reader-episode-copy strong{color:#fff}

.reader-bottom-nav{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:18px;
  padding:72px 0 90px;
  margin-top:0;
  border-top:1px solid rgba(255,255,255,.08);
}
.reader-bottom-button{
  min-height:92px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:8px;
  padding:18px 22px;
  border:1px solid rgba(255,255,255,.16);
  background:#090909;
  text-decoration:none;
  transition:background .16s ease,border-color .16s ease,transform .16s ease;
}
.reader-bottom-button.prev{text-align:left;align-items:flex-start}
.reader-bottom-button.next{text-align:right;align-items:flex-end}
.reader-bottom-button small{color:#7f7f7f;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.reader-bottom-button strong{max-width:100%;color:#f2f2f2;font-size:14px;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.reader-bottom-button:not(.disabled):hover{background:#111;border-color:rgba(255,255,255,.42);transform:translateY(-1px)}
.reader-bottom-button.disabled{opacity:.25;cursor:default}

@media(max-width:760px){
  .reader-episode-nav{height:48px;padding:3px 6px}
  .reader-episode-strip{height:42px;gap:4px;scrollbar-width:none}
  .reader-episode-strip::-webkit-scrollbar{display:none}
  .reader-episode-item{flex-basis:112px;height:40px;grid-template-columns:30px minmax(0,1fr);gap:5px;padding:2px}
  .reader-episode-thumb{width:30px;height:34px}
  .reader-episode-copy small{font-size:5.5px}
  .reader-episode-copy strong{font-size:7.5px}
  .reader-bottom-nav{gap:10px;padding:46px 12px 64px}
  .reader-bottom-button{min-height:82px;padding:15px 14px}
  .reader-bottom-button small{font-size:8px}
  .reader-bottom-button strong{font-size:11px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
}

/* Isolated reusable creative banners (HTML/CSS at top, image/video asset below). */
.nh-reusable-banner{display:flex;flex-direction:column;width:100%;max-width:100%;overflow:hidden;margin:24px auto;gap:0}.nh-reusable-banner iframe.nh-banner-creative{display:block;width:100%;border:0;background:transparent;max-width:100%}.nh-banner-media{display:block;width:100%;height:auto;max-width:100%;object-fit:contain}.nh-reusable-banner>a{display:block;width:100%}.reader-content-block:has(.nh-reusable-banner){padding:0}.article-content .nh-reusable-banner{max-width:100%}

/* Expanded NPC / account navigation; preserve horizontal touch scrolling instead of crushing cards. */
.topnav,.webtoon-menu-row{scrollbar-width:none;max-width:100%;overflow-x:auto;overflow-y:hidden;align-items:center}
.topnav::-webkit-scrollbar,.webtoon-menu-row::-webkit-scrollbar{display:none}
.topnav .nav-link,.webtoon-menu-link{flex-shrink:0;white-space:nowrap}
.detail-header nav,.reader-header{flex-wrap:wrap;row-gap:8px}
@media(max-width:760px){.magazine-header-nav,.webtoon-header-nav{max-width:calc(100vw - 120px)}.topnav,.webtoon-menu-row{gap:10px}.topnav .nav-link,.webtoon-menu-link{font-size:10px;padding:7px 5px}.detail-header nav,.reader-header{gap:10px;font-size:10px}}
.nh-banner-link{display:block;padding:12px 14px;color:#fff;background:#181518;font-family:Arial,sans-serif;font-size:12px;font-weight:700;text-decoration:none;text-align:center}.nh-banner-link:hover{background:#302331}

/* Site-wide floating navigation: hero remains unchanged until scrolling. */
.nh-scroll-header{
  position:fixed;
  inset:0 0 auto;
  z-index:120;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  min-height:74px;
  padding:10px clamp(18px,3.2vw,52px);
  background:rgba(0,0,0,.50);
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(255,255,255,.10);
  opacity:0;
  visibility:hidden;
  transform:translateY(-100%);
  pointer-events:none;
  transition:opacity .2s ease,transform .2s ease,visibility .2s;
}
body.nh-is-scrolled .nh-scroll-header{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
  pointer-events:auto;
}
.nh-scroll-header .nh-scroll-brand{
  flex:0 0 auto;
  align-items:center;
  width:104px;
  min-height:50px;
}
.nh-scroll-header .nh-scroll-brand img,
.nh-scroll-header .nh-scroll-brand object{
  max-height:50px;
  object-position:left center;
}
.nh-scroll-menu{display:flex;align-items:center;justify-content:flex-end;gap:clamp(12px,2.5vw,38px);min-width:0}
.nh-scroll-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  position:relative;
  padding:13px 3px;
  border:0;
  background:transparent;
  color:#f5f5f5;
  font:700 13px/1.25 Arial,Helvetica,sans-serif;
  white-space:nowrap;
  cursor:pointer;
  text-decoration:none;
}
.nh-scroll-link:hover,.nh-scroll-link:focus-visible{color:#fff}
.nh-scroll-link.active::after{content:"";position:absolute;left:2px;right:2px;bottom:5px;height:2px;background:#d76aab}
.nh-scroll-account{position:relative;flex:0 0 auto}
.nh-scroll-chevron{font-size:16px;line-height:0;transform:translateY(-2px)}
.nh-scroll-account-panel{
  position:absolute;
  top:calc(100% + 9px);
  right:0;
  z-index:2;
  min-width:158px;
  padding:7px;
  background:rgba(16,16,16,.97);
  border:1px solid rgba(255,255,255,.18);
  border-radius:6px;
  box-shadow:0 12px 30px rgba(0,0,0,.45);
}
.nh-scroll-account-panel[hidden],.nh-scroll-account-signed[hidden],.nh-scroll-account-guest[hidden]{display:none!important}
.nh-scroll-account-guest,.nh-scroll-account-signed{display:flex;flex-direction:column;gap:2px}
.nh-scroll-account-panel a,.nh-scroll-account-panel button{
  display:block;
  width:100%;
  border:0;
  border-radius:3px;
  padding:10px 12px;
  background:none;
  color:#eee;
  text-align:left;
  font:600 12px/1.3 Arial,Helvetica,sans-serif;
  cursor:pointer;
}
.nh-scroll-account-panel a:hover,.nh-scroll-account-panel button:hover{background:rgba(255,255,255,.10)}
.nh-scroll-account-name{
  display:block;
  max-width:210px;
  padding:10px 12px 8px;
  border-bottom:1px solid rgba(255,255,255,.12);
  color:#bbb;
  font-size:12px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.nh-scroll-npc-short{display:none}
/* A separate sticky reader header must not show through the translucent floating bar. */
body.nh-is-scrolled .detail-header,
body.nh-is-scrolled .reader-header{visibility:hidden;pointer-events:none}
@media(max-width:760px){
  .nh-scroll-header{min-height:64px;padding:8px 15px;gap:12px}
  .nh-scroll-header .nh-scroll-brand{width:78px;min-height:44px}
  .nh-scroll-header .nh-scroll-brand img,.nh-scroll-header .nh-scroll-brand object{max-height:44px}
  .nh-scroll-menu{gap:clamp(9px,2vw,16px)}
  .nh-scroll-link{font-size:11px;padding:12px 0}
  .nh-scroll-npc-full{display:none}
  .nh-scroll-npc-short{display:inline}
}
@media(max-width:420px){
  .nh-scroll-header{min-height:70px;padding:8px 12px;gap:8px}
  .nh-scroll-header .nh-scroll-brand{width:72px;min-height:44px}
  .nh-scroll-menu{
    display:grid;
    grid-template-columns:max-content max-content;
    align-content:center;
    justify-content:end;
    gap:2px 15px;
  }
  .nh-scroll-link{font-size:10.5px;padding:5px 0;justify-content:flex-start}
  .nh-scroll-link.active::after{bottom:1px}
  .nh-scroll-npc-full{display:inline}
  .nh-scroll-npc-short{display:none}
  .nh-scroll-account-panel{top:calc(100% + 4px)}
}
@media(prefers-reduced-motion:reduce){
  .nh-scroll-header{transition:none}
}


/* Keep the original 2026 WebToon top-right series thumbnail design.
   Only catalogue styles and minimal drag behavior are added below. */
.webtoon-page [hidden]{display:none!important}
.artworks-hero{position:relative;isolation:isolate;width:100%;aspect-ratio:21/9;min-height:300px;max-height:880px;background-color:#0a0709;background-position:center;background-size:cover;overflow:hidden}
.artworks-hero::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(to bottom,rgba(0,0,0,.22) 0%,transparent 48%,rgba(0,0,0,.65) 90%,#030303 100%)}
.artworks-hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.artworks-hero .topbar{height:98px}
.artworks-directory{max-width:1740px;margin:0 auto;min-height:260px;padding:42px clamp(18px,4vw,66px) 84px}
.artworks-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;flex-wrap:wrap;margin-bottom:29px}
.artworks-toolbar h1{margin:0;font-size:clamp(21px,2.4vw,34px);font-weight:900;line-height:1.15;letter-spacing:.02em}
.artworks-tools{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px 18px}
.artworks-filter-label{font-size:12px;font-weight:700;color:#aaa}
#artworksFilter,.nh-lang-select{appearance:auto;-webkit-appearance:auto;min-height:36px;padding:7px 12px;border:1px solid rgba(255,255,255,.25);border-radius:5px;background:#161218;color:#f9f5f8;font:700 12px/1.3 Arial,Helvetica,sans-serif;color-scheme:dark;cursor:pointer}
#artworksFilter option,.nh-lang-select option{background:#161218;color:#fff}
.nh-lang-select{flex:0 0 auto;max-width:185px;padding:7px 10px}
.nh-lang-select:focus-visible,#artworksFilter:focus-visible{outline:2px solid #df1584;outline-offset:2px}
.artworks-age-guide{display:inline-flex;align-items:center;gap:6px;color:#b8b8b8;font-size:11px;white-space:nowrap}
.age-indicator{display:inline-grid;place-items:center;min-width:25px;height:25px;padding:2px 4px;border:1px solid currentColor;border-radius:4px;font-size:10px}
.age-15{color:#e4cc85}.age-18{color:#f0789d}
.artworks-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,255px),1fr));gap:35px 22px;align-items:start}
.artwork-card{display:block;min-width:0;color:#f4f4f4;text-decoration:none}
.artwork-card-poster{position:relative;display:block;width:100%;aspect-ratio:16/9;background-color:#181218;background-position:center;background-size:cover;border:1px solid rgba(255,255,255,.10);overflow:hidden;transition:transform .18s ease,border-color .18s ease}
.artwork-card:hover .artwork-card-poster,.artwork-card:focus-visible .artwork-card-poster{transform:translateY(-3px);border-color:rgba(223,21,132,.75)}
.artwork-card-age{position:absolute;top:10px;right:10px;z-index:1;background:rgba(0,0,0,.84);border:1px solid currentColor;border-radius:4px;padding:5px 7px;font-size:11px;font-weight:800}
.artwork-card-info{display:grid;gap:7px;margin-top:12px}
.artwork-card-info strong{font-size:16px;line-height:1.3;overflow-wrap:anywhere}
.artwork-card-info small{font-size:12px;line-height:1.4;color:#a8a8a8;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.artworks-empty{grid-column:1/-1;color:#bdbdbd;margin:28px 0 50px;font-size:14px}
.artworks-breadcrumb{display:flex;align-items:center;gap:12px;min-height:52px;padding:14px clamp(18px,4vw,66px);background:#030303;color:#aaa;font-size:12px;font-weight:700;position:relative;z-index:13}
.artworks-breadcrumb a:hover{color:#fff}
.artworks-breadcrumb [data-group-heading]:not(:empty)::before{content:"/";margin-right:12px;color:#777}
@media(max-width:760px){
  .artworks-hero{min-height:220px;max-height:none;aspect-ratio:16/9}
  .artworks-hero .topbar{height:74px}
  .artworks-directory{padding:26px 16px 60px}
  .artworks-toolbar{gap:14px;margin-bottom:20px}
  .artworks-tools{justify-content:flex-start;gap:8px 12px;width:100%}
  .artworks-age-guide{font-size:10px}
  .artworks-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:23px 12px}
  .artwork-card-info strong{font-size:13px}
  .artwork-card-info small{font-size:11px}
  .artworks-breadcrumb{padding:13px 16px;font-size:11px}
  .nh-lang-select{max-width:118px;font-size:10px;padding:6px 2px}
}
@media(max-width:400px){
  .artworks-age-guide{white-space:normal}
  .artwork-card-age{top:6px;right:6px;font-size:9px;padding:3px 5px}
  .artworks-grid{gap:22px 10px}
}


/* The top-right list uses the ORIGINAL .series-switcher/.series-switch-card
   structure and original 132x76 (mobile 92x54) media dimensions.
   Preserve its right-aligned appearance even when horizontal scrolling is needed. */
.webtoon-page .webtoon-hero .series-switcher{
  width:max-content;
  max-width:100%;
  margin-left:auto;
  justify-content:flex-start;
  flex-wrap:nowrap;
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-x:contain;
  touch-action:pan-x pan-y;
  cursor:grab;
  user-select:none;
  -webkit-user-select:none;
  scrollbar-width:thin;
}
.webtoon-page .webtoon-hero .series-switcher.is-dragging,
.webtoon-page .webtoon-hero .series-switcher.is-dragging *{cursor:grabbing!important}
.webtoon-page .webtoon-hero .series-switch-card,
.webtoon-page .webtoon-hero .series-switch-thumb{-webkit-user-drag:none;user-select:none;-webkit-user-select:none}
/* ALL ARTWORKS is a regular legacy-sized thumbnail; never a separate button. */
.webtoon-page .webtoon-hero .series-switch-all-thumb{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:7px;
  background:linear-gradient(135deg,#211620,#0d090f);
  text-align:center;
}
.webtoon-page .webtoon-hero .series-switch-all-thumb strong{
  font-weight:900;
  color:#fff;
  font-size:12px;
  line-height:1.15;
  overflow-wrap:anywhere;
  text-shadow:0 1px 4px #000;
}
@media(min-width:761px) and (max-width:1050px){
  .webtoon-header-nav{max-width:calc(100% - 140px)}
}
@media(max-width:760px){
  /* Only the menu is allowed to wrap: thumbnails remain in ONE horizontal rail. */
  .webtoon-topbar{height:auto;min-height:86px;align-items:flex-start}
  .webtoon-header-nav{width:calc(100% - 96px);max-width:none}
  .webtoon-menu-row{width:100%;justify-content:flex-end;flex-wrap:wrap;gap:5px 9px}
  .webtoon-menu-link{font-size:10px;padding:5px 1px 8px}
  .nh-lang-select{max-width:120px;font-size:10px;padding:5px}
  .webtoon-page .webtoon-hero .series-switch-all-thumb strong{font-size:9px}
}
@media(max-width:440px){
  .webtoon-header-nav{width:calc(100% - 80px)}
  .webtoon-menu-row{gap:3px 7px}
  .webtoon-menu-link{font-size:9.5px}
}

/* Episode body inline video player; responsive on PC and mobile. */
.reader-video-block{width:100%;max-width:1100px;margin:26px auto;background:#000;overflow:hidden}
.reader-video-block video{display:block;width:100%;height:auto;max-height:85vh;object-fit:contain;background:#000}
@media(max-width:760px){.reader-video-block{margin:16px auto}}
