/* 18412 · PLUS home-only visual alignment to the approved wide concept.
   All routes, authentication, 2:3 book-cover cards outside the home teasers,
   Reader, server and admin assets remain unchanged. */

/* The former 1560px ceiling produced ~200px side gutters on wide desktops.
   Let the homepage use the same nearly full-width composition as the reference. */
@media (min-width:1181px) {
  body[data-plus-view="home"] .plus-platform {
    width:calc(100% - clamp(40px,4.55vw,88px));
    max-width:none;
    padding-top:14px;
  }
}

body[data-plus-view="home"] .plus-welcome {
  width:100%;
  min-height:359px;
  margin:0 0 13px;
  padding:42px 37px 42px 54px;
  grid-template-columns:minmax(0,1.05fr) minmax(300px,.78fr);
  align-items:center;
  gap:clamp(18px,3vw,52px);
  border-radius:17px;
}
body[data-plus-view="home"] .plus-hero {
  width:100%;
  margin-bottom:18px;
  padding:clamp(21px,2.2vw,38px);
  border-radius:17px;
}
/* Preserve both subjects of the original illustration instead of using `cover`:
   cover scaled the square-ish 18411 asset to ultra-wide proportions and cropped
   most of the woman and moon from the visible area. */
/* Reference palette: the left side is a very dark burgundy, NOT an opaque
   pink layer. The light in the moon/castle stays visible in the middle. */
body[data-plus-view="home"] .plus-welcome::before,
body[data-plus-view="home"] .plus-hero::before {
  background-image:
    radial-gradient(ellipse 38% 100% at 2% 15%,rgba(215,84,105,.062),transparent 100%),
    radial-gradient(ellipse 25% 75% at 92% 73%,rgba(181,65,91,.047),transparent 100%),
    linear-gradient(90deg,rgba(33,17,19,.88) 0%,rgba(26,17,19,.85) 14%,rgba(20,15,17,.67) 26%,rgba(17,15,17,.35) 37%,rgba(10,9,11,.018) 46%,rgba(9,8,10,.12) 59%,rgba(10,9,11,.48) 76%,rgba(7,7,9,.83) 100%),
    url("assets/featured-story-art-balanced.webp");
  background-size:100% 100%,100% 100%,100% 100%,100% 100%;
  background-position:center;
  background-repeat:no-repeat;
  background-color:#171214;
}
body[data-plus-view="home"] .plus-welcome-main {min-width:0;max-width:720px;}
body[data-plus-view="home"] .plus-welcome-main h1 {
  max-width:650px;
  margin-top:14px;
  font-family:Georgia,"Noto Serif KR","Noto Serif CJK KR","NanumMyeongjo",serif;
  font-weight:800;
  font-size:clamp(42px,3.4vw,57px);
  line-height:1.06;
}
body[data-plus-view="home"] .plus-welcome-main p {margin-top:18px;font-size:12px;line-height:1.75;}
body[data-plus-view="home"] .plus-welcome-actions {margin-top:22px;}
body[data-plus-view="home"] .plus-welcome-genres {
  width:100%;
  max-width:460px;
  min-height:270px;
  justify-self:end;
  align-self:start;
  margin-top:0;
  padding:22px 22px;
  background:rgba(11,11,13,.77);
  border:1px solid rgba(255,255,255,.15);
}
body[data-plus-view="home"] .plus-welcome-genre-links{margin-top:14px;gap:9px;}
body[data-plus-view="home"] .plus-welcome-genre-links a{
  position:relative;display:flex;align-items:center;gap:9px;
  min-height:44px;height:44px;padding-left:13px;font-size:11px;
  background:rgba(255,255,255,.024);
}
body[data-plus-view="home"] .plus-welcome-genre-links a::before{content:"✦";flex:0 0 17px;color:#eb7e8d;font-size:15px;line-height:1;text-align:center}
body[data-plus-view="home"] .plus-welcome-genre-links a[data-welcome-genre="소설"]::before{content:"▣"}
body[data-plus-view="home"] .plus-welcome-genre-links a[data-welcome-genre="에세이"]::before{content:"✎"}
body[data-plus-view="home"] .plus-welcome-genre-links a[data-welcome-genre="로맨스"]::before{content:"♥"}
body[data-plus-view="home"] .plus-welcome-genre-links a[data-welcome-genre="추리"]::before{content:"⌕";font-size:22px}
body[data-plus-view="home"] .plus-welcome-genre-links a[data-welcome-genre="철학"]::before{content:"✧"}
body[data-plus-view="home"] .plus-welcome-genre-links a span{margin-left:auto}

/* Put the popular shelf immediately below the hero. The old card layout showed
   little 2:3 covers inside a landscape shell, unlike the reference's panoramic
   teaser. Only this teaser uses the actual cover art as a cropped BACKGROUND;
   the canonical cover remains 2:3 in catalog, MY, author and Reader. */
body[data-plus-view="home"] .plus-home-shelves {
  gap:23px;
  padding:9px 5px 0;
}
body[data-plus-view="home"] .plus-shelf-head{align-items:flex-end;}
body[data-plus-view="home"] .plus-shelf-head>div>span{color:#9d999c;font-size:11px;font-weight:600;letter-spacing:.015em;}
body[data-plus-view="home"] .plus-shelf-head>div>span::before{
  content:"";display:inline-block;width:4px;height:12px;margin-right:10px;border-radius:99px;
  background:#e56f84;vertical-align:-1px;
}
body[data-plus-view="home"] .plus-shelf-head h2{font-size:24px;line-height:1.2;}
body[data-plus-view="home"] .plus-shelf[data-discovery-shelf="popular"] .plus-shelf-grid,
body[data-plus-view="home"] .plus-home-discovery .plus-shelf-grid {
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:minmax(245px,1fr);
  gap:13px;
  margin-top:12px;
  padding-bottom:8px;
  overflow-x:auto;
  scroll-snap-type:x proximity;
}
body[data-plus-view="home"] .plus-shelf[data-discovery-shelf="popular"] .plus-book-card,
body[data-plus-view="home"] .plus-home-discovery .plus-book-card {
  width:100%;
  max-width:none;
  height:174px;
  min-height:174px;
  scroll-snap-align:start;
}
body[data-plus-view="home"] .plus-home-ranked-card,
body[data-plus-view="home"] .plus-home-story-card {
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:0;
  padding:14px 14px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:7px;
  overflow:hidden;
  background:linear-gradient(140deg,#312932 0%,#121314 85%);
  isolation:isolate;
}
body[data-plus-view="home"] .plus-home-ranked-card .plus-cover,
body[data-plus-view="home"] .plus-home-story-card .plus-cover {
  position:absolute;
  inset:0;
  z-index:0;
  display:block;
  width:100%;
  height:100%;
  max-width:none;
  padding:0;
  border:0;
  border-radius:0;
  aspect-ratio:auto;
  box-shadow:none;
  background:linear-gradient(140deg,#483b44,#1a1b20);
}
body[data-plus-view="home"] .plus-home-ranked-card .plus-cover-image,
body[data-plus-view="home"] .plus-home-story-card .plus-cover-image {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
body[data-plus-view="home"] .plus-home-ranked-card .plus-cover::after,
body[data-plus-view="home"] .plus-home-story-card .plus-cover::after {
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  display:block;
  border:0;
  border-radius:0;
  background:linear-gradient(180deg,rgba(8,8,10,.035) 0%,rgba(8,8,10,.1) 28%,rgba(8,8,10,.38) 58%,rgba(8,8,10,.88) 100%);
  backdrop-filter:none;
  pointer-events:none;
}
body[data-plus-view="home"] .plus-home-ranked-card .plus-cover>:not(.plus-cover-image),
body[data-plus-view="home"] .plus-home-story-card .plus-cover>:not(.plus-cover-image){display:none;}
body[data-plus-view="home"] .plus-home-ranked-card .plus-card-body,
body[data-plus-view="home"] .plus-home-story-card .plus-card-body {
  position:relative;
  z-index:2;
  flex:0 0 auto;
  display:block;
  min-width:0;
  padding:0;
  pointer-events:none;
}
body[data-plus-view="home"] .plus-home-ranked-card .plus-card-meta,
body[data-plus-view="home"] .plus-home-story-card .plus-card-meta{justify-content:flex-start;color:#d5cdd1;font-size:9px;}
body[data-plus-view="home"] .plus-home-ranked-card .plus-card-meta [data-card-state],
body[data-plus-view="home"] .plus-home-story-card .plus-card-meta [data-card-state]{display:none;}
body[data-plus-view="home"] .plus-home-ranked-card .plus-card-body h3,
body[data-plus-view="home"] .plus-home-story-card .plus-card-body h3 {
  margin:6px 0 0;
  color:#fff;
  font-size:16px;
  line-height:1.25;
  text-shadow:0 1px 6px rgba(0,0,0,.4);
}
body[data-plus-view="home"] .plus-home-ranked-card .plus-card-body>p,
body[data-plus-view="home"] .plus-home-story-card .plus-card-body>p {
  display:block;
  min-height:0;
  overflow:hidden;
  margin:4px 0 0;
  color:#cbc6c8;
  font-size:10.5px;
  white-space:nowrap;
  text-overflow:ellipsis;
}
body[data-plus-view="home"] .plus-home-ranked-card .plus-card-foot,
body[data-plus-view="home"] .plus-home-story-card .plus-card-foot{margin-top:7px;color:#bdb8ba;font-size:9px;}
body[data-plus-view="home"] .plus-home-ranked-card .plus-card-foot a,
body[data-plus-view="home"] .plus-home-story-card .plus-card-foot a{color:#eee5e5;pointer-events:auto;}
body[data-plus-view="home"] .plus-home-ranked-card .plus-home-rank-number {top:11px;left:12px;z-index:3;}
body[data-plus-view="home"] .plus-home-discovery{margin-top:18px;padding:0 5px 34px;}
body[data-plus-view="home"] .plus-home-discovery .plus-shelf-head{margin-bottom:3px;}
body[data-plus-view="home"] .plus-shelf[data-discovery-shelf="popular"] .plus-shelf-empty{
  min-height:100px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  padding:17px 21px;
  border-style:solid;
  background:rgba(255,255,255,.018);
}
body[data-plus-view="home"] .plus-shelf[data-discovery-shelf="popular"] .plus-shelf-empty strong{font-size:13px;}
body[data-plus-view="home"] .plus-shelf[data-discovery-shelf="popular"] .plus-shelf-empty p{font-size:10px;}
body[data-plus-view="home"] .plus-shelf[data-discovery-shelf="popular"] .plus-shelf-empty a{font-size:10px;}

/* A separate concise discovery entry prevents a 500px hole in the no-books state
   while never inventing cover images, popularity counts or non-existent books. */
.plus-home-empty-discovery{margin:18px 0 34px;}
.plus-home-empty-discovery .plus-shelf-head{display:flex;justify-content:space-between;align-items:flex-end;}
.plus-home-empty-discovery .plus-shelf-head>div{display:grid;gap:5px;}
.plus-home-empty-discovery .plus-shelf-head span{font-size:10px;letter-spacing:.15em;color:var(--plus-coral,#e46a74);}
.plus-home-empty-discovery .plus-shelf-head h2{margin:0;font-size:23px;}
.plus-home-empty-card{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-top:12px;padding:20px 22px;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.018);}
.plus-home-empty-card strong{font-size:14px;color:var(--text);}
.plus-home-empty-card p{margin:6px 0 0;color:var(--muted);font-size:10px;line-height:1.65;}
.plus-home-empty-genres{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end;}
.plus-home-empty-genres a{display:inline-flex;align-items:center;min-height:32px;padding:0 11px;border:1px solid var(--line);border-radius:8px;color:var(--text);background:rgba(255,255,255,.025);text-decoration:none;font-size:10px;}
.plus-home-empty-genres a:hover{border-color:var(--plus-coral-border);color:var(--plus-coral);}

@media(max-width:1180px){
  body[data-plus-view="home"] .plus-welcome {grid-template-columns:minmax(0,1fr) minmax(230px,.72fr);gap:19px;}
  body[data-plus-view="home"] .plus-welcome-main h1{font-size:clamp(37px,4.2vw,51px);}
  body[data-plus-view="home"] .plus-welcome-genres{min-height:0;margin-top:0;padding:16px;align-self:center;}
}
@media(max-width:900px){
  body[data-plus-view="home"] .plus-shelf-head{align-items:flex-start;}
  body[data-plus-view="home"] .plus-welcome{grid-template-columns:1fr;min-height:0;padding:25px;}
  body[data-plus-view="home"] .plus-welcome-genres{max-width:none;min-height:0;margin-top:0;justify-self:stretch;}
  body[data-plus-view="home"] .plus-welcome::before,
  body[data-plus-view="home"] .plus-hero::before{background-size:100% 100%,cover;background-position:center,center;}
  body[data-plus-view="home"] .plus-welcome-genre-links{grid-template-columns:repeat(3,minmax(0,1fr));}
  .plus-home-empty-card{align-items:flex-start;flex-direction:column;}
  .plus-home-empty-genres{justify-content:flex-start;}
}
@media(max-width:620px){
  body[data-plus-view="home"] .plus-platform{width:calc(100% - 28px);padding-top:15px;}
  body[data-plus-view="home"] .plus-welcome{padding:20px 16px;gap:18px;}
  body[data-plus-view="home"] .plus-welcome-main h1{font-size:clamp(30px,8.3vw,40px);}
  body[data-plus-view="home"] .plus-welcome-main p{font-size:10.5px;}
  body[data-plus-view="home"] .plus-welcome-genre-links{grid-template-columns:repeat(2,minmax(0,1fr));}
  body[data-plus-view="home"] .plus-welcome-genre-links a{min-height:38px;height:38px;padding-left:9px;font-size:10px;}
  body[data-plus-view="home"] .plus-shelf-head h2{font-size:20px;}
  body[data-plus-view="home"] .plus-shelf[data-discovery-shelf="popular"] .plus-shelf-grid,
  body[data-plus-view="home"] .plus-home-discovery .plus-shelf-grid{grid-auto-columns:minmax(235px,76vw);gap:10px;}
  body[data-plus-view="home"] .plus-shelf[data-discovery-shelf="popular"] .plus-book-card,
  body[data-plus-view="home"] .plus-home-discovery .plus-book-card{height:170px;min-height:170px;}
  .plus-home-empty-card{padding:15px;}
  .plus-home-empty-discovery .plus-shelf-head h2{font-size:20px;}
}

/* Scope the no-books discovery panel to the home route. */
body[data-plus-view]:not([data-plus-view="home"]) .plus-home-empty-discovery{display:none!important;}
body:not([data-plus-view]) .plus-home-empty-discovery{display:none!important;}
body[data-plus-view="home"] .plus-home-ranked-card .plus-home-rank-number{pointer-events:none;}
body[data-plus-view="home"] .plus-home-ranked-card .plus-home-rank-metrics{display:flex;gap:12px;margin-top:6px;color:#eee2e1;font-size:9px;font-variant-numeric:tabular-nums;}
body[data-plus-view="home"] .plus-home-ranked-card .plus-home-rank-metrics span{display:inline-flex;gap:4px;align-items:center;}

/* Match the single rose-colored word in the approved reference, not the entire heading. */
body[data-plus-view="home"] .plus-welcome-main h1 .plus-welcome-highlight{color:#efa0ad;}

@media(min-width:1041px){
  .plus-topbar{height:60px;min-height:60px;}
  body[data-plus-view="home"] .plus-welcome{height:359px;}
  body[data-plus-view="home"] .plus-welcome-main{align-self:center;}
  body[data-plus-view="home"] .plus-welcome-genres{align-self:center;}
  body[data-plus-view="home"] .plus-welcome-main{transform:translateY(-10px);}
  body[data-plus-view="home"] .plus-welcome-actions .plus-primary-action{height:48px;min-width:177px;justify-content:center;border-radius:12px;font-size:12px;}
  body[data-plus-view="home"] .plus-welcome-actions>button{height:48px;min-width:143px;border-radius:12px;font-size:12px;}
  body[data-plus-view="home"] .plus-welcome-genres{transform:translate(-24px,-12px);}

}

@media(min-width:621px) and (max-width:1439px){
  .plus-topbar{height:60px;min-height:60px;align-content:normal;flex-wrap:nowrap;padding:0 22px;column-gap:18px;row-gap:0;}
  .plus-topbar .plus-brand-lockup{height:60px;order:1;}
  .plus-main-tabs{height:60px;order:2;flex:0 1 auto;gap:3px;overflow:visible;}
  .plus-main-tabs>a,.plus-main-tabs>button{height:40px;padding:0 11px;font-size:12px;}
  .plus-top-actions{height:60px;order:3;margin-left:auto;}
}



/* 18417 · reference-calibrated home visuals. One home-only layer; no changes
   to the original reader, PLUS reader, auth, or admin screens. */
body[data-plus-view="home"]{
  background:
    radial-gradient(ellipse 33rem 23rem at 0% 16%,rgba(151,45,68,.095),transparent 95%),
    radial-gradient(ellipse 28rem 22rem at 100% 17%,rgba(101,41,65,.045),transparent 95%),
    #080a0b;
}
body[data-plus-view="home"] .plus-welcome,
body[data-plus-view="home"] .plus-hero{
  overflow:hidden;
  border:1px solid rgba(230,215,213,.12);
  box-shadow:0 22px 74px rgba(0,0,0,.24),inset 0 1px rgba(255,255,255,.025);
}
body[data-plus-view="home"] .plus-welcome::after,
body[data-plus-view="home"] .plus-hero::after{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background:
    radial-gradient(ellipse 37% 80% at -3% 19%,rgba(196,76,104,.041),transparent 98%),
    linear-gradient(180deg,rgba(255,255,255,.009),transparent 18%,rgba(0,0,0,.045) 100%);
}
body[data-plus-view="home"] .plus-welcome-main,
body[data-plus-view="home"] .plus-welcome-genres{position:relative;z-index:1;}
body[data-plus-view="home"] .plus-welcome-main p{color:#bdb7b8;max-width:550px;}
/* Saturation and vertical gradient sampled from the target CTA. */
body[data-plus-view="home"] .plus-welcome-actions .plus-primary-action{
  border:1px solid rgba(255,137,153,.37);
  color:#261215;
  background:var(--plus-coral-gradient,linear-gradient(135deg,#ff7f91 0%,#ff6b83 43%,#f45874 100%));
  box-shadow:0 9px 25px rgba(209,59,92,.23),inset 0 1px 0 rgba(255,235,238,.46),inset 0 -1px 0 rgba(174,43,70,.18);
}
body[data-plus-view="home"] .plus-welcome-actions .plus-primary-action:hover{filter:brightness(1.05);}
body[data-plus-view="home"] .plus-welcome-actions>button{
  border:1px solid rgba(239,222,223,.12);
  color:#c6c0c1;
  background:linear-gradient(180deg,rgba(36,32,34,.76) 0%,rgba(17,16,18,.86) 56%,rgba(13,13,15,.93) 100%);
  box-shadow:inset 0 1px rgba(255,255,255,.045),0 7px 19px rgba(0,0,0,.14);
}
body[data-plus-view="home"] .plus-welcome-actions>button:hover{
  border-color:rgba(255,255,255,.23);
  background:linear-gradient(180deg,#30272b,#191619);
}
body[data-plus-view="home"] .plus-welcome-genres{
  background:linear-gradient(180deg,rgba(15,14,16,.94) 0%,rgba(12,12,14,.94) 58%,rgba(10,10,12,.96) 100%);
  border-color:rgba(255,255,255,.135);
  box-shadow:0 18px 52px rgba(0,0,0,.23),inset 0 1px rgba(255,255,255,.035);
}
body[data-plus-view="home"] .plus-welcome-genres>span{font-size:14px;font-weight:740;color:#ede7e8;}
body[data-plus-view="home"] .plus-welcome-genres>small{color:#9b9396;font-size:10px;}
body[data-plus-view="home"] .plus-welcome-genre-links a{
  border-color:rgba(255,255,255,.105);
  background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.016));
  box-shadow:inset 0 1px rgba(255,255,255,.027);
}
body[data-plus-view="home"] .plus-welcome-genre-links a:hover{
  border-color:rgba(235,126,143,.31);background:rgba(244,104,132,.075);
}
body[data-plus-view="home"] .plus-shelf-head .plus-home-more,
body[data-plus-view="home"] .plus-home-discovery-head-right .plus-home-more{color:#bab5b7;}
body[data-plus-view="home"] .plus-home-discovery{margin-top:27px;padding:0 5px 34px;}
body[data-plus-view="home"] .plus-home-discovery .plus-shelf-head{
  display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:6px;
}
body[data-plus-view="home"] .plus-home-discovery-head-right{
  display:flex;align-items:center;gap:17px;flex-wrap:wrap;justify-content:flex-end;
}
body[data-plus-view="home"] .plus-home-sort-pills{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
body[data-plus-view="home"] .plus-home-sort-pills button{
  height:33px;padding:0 18px;border:1px solid rgba(255,255,255,.115);border-radius:999px;
  background:linear-gradient(180deg,rgba(255,255,255,.023),rgba(255,255,255,.005));
  color:#959195;font-size:11px;font-weight:740;cursor:pointer;
  box-shadow:inset 0 1px rgba(255,255,255,.027);
}
body[data-plus-view="home"] .plus-home-sort-pills button.is-active{
  border-color:rgba(255,132,153,.27);
  background:var(--plus-coral-gradient,linear-gradient(135deg,#ff7f91,#f45874));
  color:#281318;box-shadow:0 6px 19px rgba(226,70,103,.23),inset 0 1px rgba(255,244,246,.38),inset 0 -1px rgba(171,45,72,.16);
}
body[data-plus-view="home"] .plus-home-ranked-card,
body[data-plus-view="home"] .plus-home-story-card{
  padding:14px 14px 13px;border:1px solid rgba(255,255,255,.085);border-radius:7px;
  background:linear-gradient(180deg,#211a1f,#101012);
  box-shadow:0 7px 21px rgba(0,0,0,.12);
}
/* The reference shows five equal cards and an actual scroll affordance. */
body[data-plus-view="home"] #plus-popular{position:relative;}
body[data-plus-view="home"] .plus-home-carousel-next{
  position:absolute;right:-19px;top:126px;z-index:6;
  display:grid;place-items:center;width:45px;height:45px;
  border:1px solid rgba(255,255,255,.21);border-radius:50%;
  color:#efeaeb;background:linear-gradient(145deg,rgba(45,45,48,.95),rgba(21,21,24,.96));
  box-shadow:0 5px 18px rgba(0,0,0,.48),inset 0 1px rgba(255,255,255,.055);
  font-family:Arial,sans-serif;font-size:31px;line-height:1;cursor:pointer;
}
body[data-plus-view="home"] .plus-home-carousel-next[hidden]{display:none;}
body[data-plus-view="home"] .plus-home-carousel-next:hover{
  background:linear-gradient(145deg,#454147,#28252a);border-color:rgba(249,140,161,.42);
}
@media(min-width:1181px){
  body[data-plus-view="home"] #plus-popular .plus-shelf-grid,
  body[data-plus-view="home"] .plus-home-discovery .plus-shelf-grid{
    grid-auto-columns:calc((100% - 52px) / 5);
  }
}
@media(max-width:620px){
  body[data-plus-view="home"] .plus-home-carousel-next{right:-3px;top:125px;width:37px;height:37px;font-size:25px;}
}
/* Do not blur the photograph: only a dark vertical wash behind the text. */
body[data-plus-view="home"] .plus-home-ranked-card .plus-cover-image,
body[data-plus-view="home"] .plus-home-story-card .plus-cover-image{
  filter:none;image-rendering:auto;transform:none;object-fit:cover;
}
body[data-plus-view="home"] .plus-home-ranked-card .plus-cover::after,
body[data-plus-view="home"] .plus-home-story-card .plus-cover::after{
  backdrop-filter:none;-webkit-backdrop-filter:none;
  background:linear-gradient(180deg,rgba(7,7,9,.03) 0%,rgba(7,7,9,.055) 23%,rgba(7,7,9,.24) 48%,rgba(7,7,9,.83) 100%);
}
body[data-plus-view="home"] .plus-home-ranked-card .plus-card-meta,
body[data-plus-view="home"] .plus-home-story-card .plus-card-meta{color:#d2ced0;font-size:10px;}
body[data-plus-view="home"] .plus-home-ranked-card .plus-card-body h3,
body[data-plus-view="home"] .plus-home-story-card .plus-card-body h3{
  margin:6px 0 0;font-size:17px;line-height:1.25;
}
body[data-plus-view="home"] .plus-home-ranked-card .plus-card-body>p,
body[data-plus-view="home"] .plus-home-story-card .plus-card-body>p{
  margin:4px 0 0;color:#c4c0c1;font-size:10.5px;white-space:nowrap;text-overflow:ellipsis;
}
body[data-plus-view="home"] .plus-home-ranked-card .plus-card-foot,
body[data-plus-view="home"] .plus-home-story-card .plus-card-foot{margin-top:8px;color:#c2bfc1;font-size:10px;}
body[data-plus-view="home"] .plus-home-ranked-card .plus-home-rank-number{
  min-width:25px;height:25px;padding:0 7px;border:1px solid rgba(255,255,255,.14);
  border-radius:6px;background:linear-gradient(180deg,#63595d,#50494d);
  color:#fff;font-size:13px;font-weight:800;box-shadow:0 5px 13px rgba(0,0,0,.2);
}
body[data-plus-view="home"] #plus-popular .plus-home-ranked-card:first-child .plus-home-rank-number{
  background:var(--plus-coral-gradient,linear-gradient(135deg,#ff7f91,#f45874));
  border-color:rgba(255,185,196,.32);
  box-shadow:0 6px 16px rgba(226,79,110,.18);
}
/* The home teasers show the title, one-line premise and the existing metrics.
   Episode counts are still visible on full book cards and in the reader. */
body[data-plus-view="home"] .plus-home-ranked-card .plus-card-foot,
body[data-plus-view="home"] .plus-home-story-card .plus-card-foot{display:none;}
body[data-plus-view="home"] .plus-home-ranked-card .plus-home-rank-metrics{
  margin-top:7px;font-size:10px;color:#e8e3e4;
}
@media(min-width:901px){
  body[data-plus-view="home"] .plus-welcome-main{transform:translateY(0);}
  body[data-plus-view="home"] .plus-welcome-actions{margin-top:16px;}
  body[data-plus-view="home"] .plus-welcome-genres{max-width:465px;transform:translate(-8px,-8px);}
}
@media(max-width:900px){
  body[data-plus-view="home"] .plus-home-discovery .plus-shelf-head{align-items:flex-start;}
  body[data-plus-view="home"] .plus-home-discovery-head-right{width:100%;justify-content:space-between;}
}
@media(max-width:900px){
  body[data-plus-view="home"] #plus-popular .plus-shelf-head{
    flex-direction:row;align-items:flex-end;gap:10px;
  }
  body[data-plus-view="home"] #plus-popular .plus-shelf-head .plus-home-more{
    flex:0 0 auto;align-self:flex-end;margin-bottom:3px;
  }
}
@media(max-width:620px){
  body[data-plus-view="home"] .plus-home-sort-pills{gap:8px;}
  body[data-plus-view="home"] .plus-home-sort-pills button{height:31px;padding:0 13px;font-size:10px;}
}

/* 18418 · 1920×1080 reference pixel-match pass.
   The logo artwork intentionally remains untouched for the later brand pass. */
.plus-hero-indicators{
  display:flex;align-items:center;gap:10px;height:6px;margin-top:20px;
}
.plus-hero-indicators i{
  display:block;width:16px;height:5px;border-radius:999px;background:#55575c;
  box-shadow:inset 0 1px rgba(255,255,255,.035);
}
.plus-hero-indicators i:first-child{
  width:36px;background:linear-gradient(90deg,#ff7188,#f0647d);
  box-shadow:0 0 14px rgba(242,99,126,.13),inset 0 1px rgba(255,255,255,.18);
}

/* The reference uses one consistent coral outline icon family rather than emoji. */
body[data-plus-view="home"] .plus-welcome-genre-links a::before{
  content:"";width:20px;height:20px;flex:0 0 20px;background:center/contain no-repeat;
}
body[data-plus-view="home"] .plus-welcome-genre-links a[data-welcome-genre="소설"]::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f06f83' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 5.5c3-1.2 5.7-.7 8.5 1.5v13c-2.8-2.2-5.5-2.7-8.5-1.5zM20.5 5.5c-3-1.2-5.7-.7-8.5 1.5v13c2.8-2.2 5.5-2.7 8.5-1.5z'/%3E%3C/svg%3E");
}
body[data-plus-view="home"] .plus-welcome-genre-links a[data-welcome-genre="에세이"]::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f06f83' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 20 4.2-1 10.9-10.9a2.2 2.2 0 0 0-3.2-3.2L5 15.8zM14.7 6.1l3.2 3.2M4 20l4.2-1-3.2-3.2z'/%3E%3C/svg%3E");
}
body[data-plus-view="home"] .plus-welcome-genre-links a[data-welcome-genre="로맨스"]::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f06f83'%3E%3Cpath d='M12 21S3 15.2 3 8.8C3 5.5 5.2 3.5 8 3.5c1.8 0 3.2.9 4 2.2.8-1.3 2.2-2.2 4-2.2 2.8 0 5 2 5 5.3C21 15.2 12 21 12 21Z'/%3E%3C/svg%3E");
}
body[data-plus-view="home"] .plus-welcome-genre-links a[data-welcome-genre="판타지"]::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f06f83'%3E%3Cpath d='m12 2 1.55 5.45L19 9l-5.45 1.55L12 16l-1.55-5.45L5 9l5.45-1.55zM19 15l.8 2.2L22 18l-2.2.8L19 21l-.8-2.2L16 18l2.2-.8z'/%3E%3C/svg%3E");
}
body[data-plus-view="home"] .plus-welcome-genre-links a[data-welcome-genre="추리"]::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f06f83' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6'/%3E%3Cpath d='m15 15 5 5'/%3E%3C/svg%3E");
}
body[data-plus-view="home"] .plus-welcome-genre-links a[data-welcome-genre="철학"]::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f06f83'%3E%3Cpath d='M20.5 3.5c-7.7.5-12.8 3.9-14.2 9.7-.5 2 .2 4.2 1.8 5.6 1.8-4.4 4.8-7.5 8.8-9.6-3.5 2.8-6 6.2-7.5 10.1 2.5 1 5.1.3 6.8-1.7 3-3.5 3.8-8.6 4.3-14.1Z'/%3E%3C/svg%3E");
}

@media(min-width:1440px){
  .plus-topbar{
    height:66px;min-height:66px;padding:0 41px;gap:52px;
    border-color:rgba(255,255,255,.075);
    background:
      radial-gradient(ellipse 24rem 7rem at 19% 0%,rgba(91,45,58,.10),transparent 72%),
      linear-gradient(180deg,rgba(10,12,14,.985),rgba(7,9,11,.965));
    box-shadow:0 8px 28px rgba(0,0,0,.16),inset 0 -1px rgba(255,255,255,.012);
  }
  .plus-topbar .plus-brand-lockup{height:66px;}
  .plus-main-tabs{height:65px;gap:24px;}
  .plus-main-tabs>a,
  .plus-main-tabs>button{
    height:50px;padding:0 17px;border-radius:10px;font-size:15px;font-weight:760;
  }
  .plus-main-tabs>a.is-active,
  .plus-main-tabs>button.is-active{
    background:linear-gradient(180deg,rgba(255,255,255,.065),rgba(255,255,255,.035));
    box-shadow:inset 0 1px rgba(255,255,255,.028),0 8px 22px rgba(0,0,0,.16);
  }
  .plus-main-tabs>a.is-active::after,
  .plus-main-tabs>button.is-active::after{
    right:14px;bottom:0;left:14px;height:3px;background:#f0647c;
    box-shadow:0 0 10px rgba(240,100,124,.28);
  }
  .plus-top-actions{gap:13px;}
  .plus-header-search,
  .theme-toggle,
  .plus-top-actions .plus-notification-link{
    width:44px;height:44px;flex-basis:44px;border-color:rgba(255,255,255,.105);
    background:linear-gradient(145deg,rgba(255,255,255,.033),rgba(255,255,255,.012));
    box-shadow:inset 0 1px rgba(255,255,255,.028),0 8px 22px rgba(0,0,0,.12);
  }
  .plus-account-trigger,
  .plus-demo-account{
    height:44px;border-radius:23px;
    border-color:rgba(255,255,255,.105);
    background:linear-gradient(145deg,rgba(255,255,255,.043),rgba(255,255,255,.018));
  }
  .plus-account-trigger:not(.is-signed-in),
  .plus-demo-account{
    width:44px;min-width:44px;padding:0;justify-content:center;
  }
  .plus-account-trigger.is-signed-in{
    width:auto;min-width:0;padding:0 13px 0 6px;
  }
  body[data-plus-view="home"] .plus-platform{
    width:calc(100% - 80px);padding-top:16px;
  }
  body[data-plus-view="home"] .plus-welcome{
    height:422px;min-height:422px;margin:0 0 18px;padding:43px 42px 39px 61px;
    grid-template-columns:minmax(0,1fr) 540px;gap:48px;border-radius:18px;
    box-shadow:0 25px 80px rgba(0,0,0,.27),inset 0 1px rgba(255,255,255,.032);
  }
  body[data-plus-view="home"] .plus-welcome-main{max-width:760px;align-self:center;}
  body[data-plus-view="home"] .plus-welcome-eyebrow{
    font-size:13px;line-height:1.2;font-weight:850;letter-spacing:.14em;
    text-shadow:0 0 18px rgba(240,101,125,.12);
  }
  body[data-plus-view="home"] .plus-welcome-main h1{
    max-width:690px;margin-top:18px;font-size:58px;line-height:1.05;letter-spacing:-.055em;
    text-shadow:0 4px 22px rgba(0,0,0,.24);
  }
  body[data-plus-view="home"] .plus-welcome-main p{
    max-width:650px;margin-top:22px;color:#bcb5b7;font-size:15.5px;line-height:1.75;
    text-shadow:0 2px 10px rgba(0,0,0,.34);
  }
  body[data-plus-view="home"] .plus-welcome-actions{gap:16px;margin-top:23px;}
  body[data-plus-view="home"] .plus-welcome-actions .plus-primary-action{
    width:210px;height:56px;min-width:210px;border-radius:13px;font-size:15px;
    box-shadow:0 10px 28px rgba(212,69,97,.20),inset 0 1px rgba(255,224,228,.34);
  }
  body[data-plus-view="home"] .plus-welcome-actions>button{
    width:170px;height:56px;min-width:170px;border-radius:13px;font-size:14px;
    box-shadow:0 10px 27px rgba(0,0,0,.22),inset 0 1px rgba(255,255,255,.047);
  }
  body[data-plus-view="home"] .plus-welcome-genres{
    width:546px;max-width:546px;min-height:316px;margin:0;padding:27px 28px 24px;
    align-self:center;justify-self:end;transform:translateY(2px);border-radius:18px;
    backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
    box-shadow:0 22px 64px rgba(0,0,0,.33),inset 0 1px rgba(255,255,255,.04);
  }
  body[data-plus-view="home"] .plus-welcome-genres>span{font-size:16px;}
  body[data-plus-view="home"] .plus-welcome-genres>span>a{font-size:13px;}
  body[data-plus-view="home"] .plus-welcome-genre-links{gap:10px 12px;margin-top:19px;}
  body[data-plus-view="home"] .plus-welcome-genre-links a{
    height:53px;min-height:53px;padding:0 15px;border-radius:10px;font-size:14px;
    box-shadow:inset 0 1px rgba(255,255,255,.035),0 5px 16px rgba(0,0,0,.08);
  }
  body[data-plus-view="home"] .plus-welcome-genre-links a span{font-size:25px;color:#d7d1d3;line-height:1;}
  body[data-plus-view="home"] .plus-welcome-genres>small{margin-top:17px;font-size:11.5px;}

  body[data-plus-view="home"] .plus-home-shelves{gap:28px;padding:10px 4px 0;}
  body[data-plus-view="home"] .plus-shelf-head>div{gap:3px;}
  body[data-plus-view="home"] .plus-shelf-head>div>span{
    font-size:12.5px;line-height:1.2;letter-spacing:.01em;
  }
  body[data-plus-view="home"] .plus-shelf-head>div>span::before{
    width:6px;height:16px;margin-right:13px;vertical-align:-2px;
    background:linear-gradient(180deg,#ff6f87,#ed5875);
    box-shadow:0 0 10px rgba(241,90,118,.18);
  }
  body[data-plus-view="home"] .plus-shelf-head h2,
  body[data-plus-view="home"] .plus-home-discovery .plus-shelf-head h2{
    font-size:29px;line-height:1.15;letter-spacing:-.045em;
  }
  body[data-plus-view="home"] .plus-shelf-head .plus-home-more,
  body[data-plus-view="home"] .plus-home-discovery-head-right .plus-home-more{
    margin-bottom:4px;font-size:13px;
  }
  body[data-plus-view="home"] #plus-popular .plus-shelf-grid,
  body[data-plus-view="home"] .plus-home-discovery .plus-shelf-grid{
    grid-auto-columns:calc((100% - 64px) / 5);gap:16px;padding-bottom:0;
    scrollbar-width:none;
  }
  body[data-plus-view="home"] #plus-popular .plus-shelf-grid::-webkit-scrollbar,
  body[data-plus-view="home"] .plus-home-discovery .plus-shelf-grid::-webkit-scrollbar{display:none;}
  body[data-plus-view="home"] #plus-popular .plus-shelf-grid{margin-top:7px;}
  body[data-plus-view="home"] .plus-home-discovery .plus-shelf-grid{margin-top:20px;}
  body[data-plus-view="home"] .plus-shelf[data-discovery-shelf="popular"] .plus-book-card,
  body[data-plus-view="home"] .plus-home-discovery .plus-book-card{
    height:203px;min-height:203px;
  }
  body[data-plus-view="home"] .plus-home-ranked-card,
  body[data-plus-view="home"] .plus-home-story-card{
    padding:17px;border-radius:7px;border-color:rgba(255,255,255,.105);
    box-shadow:0 13px 34px rgba(0,0,0,.20),inset 0 1px rgba(255,255,255,.018);
  }
  body[data-plus-view="home"] .plus-home-ranked-card .plus-cover::after,
  body[data-plus-view="home"] .plus-home-story-card .plus-cover::after{
    background:
      linear-gradient(90deg,rgba(7,7,9,.20),transparent 48%),
      linear-gradient(180deg,rgba(7,7,9,.025) 0%,rgba(7,7,9,.08) 26%,rgba(7,7,9,.31) 57%,rgba(7,7,9,.90) 100%);
  }
  body[data-plus-view="home"] .plus-home-ranked-card .plus-card-meta,
  body[data-plus-view="home"] .plus-home-story-card .plus-card-meta{font-size:12px;}
  body[data-plus-view="home"] .plus-home-ranked-card .plus-card-body h3,
  body[data-plus-view="home"] .plus-home-story-card .plus-card-body h3{
    margin-top:7px;font-size:20px;line-height:1.2;letter-spacing:-.035em;
  }
  body[data-plus-view="home"] .plus-home-ranked-card .plus-card-body>p,
  body[data-plus-view="home"] .plus-home-story-card .plus-card-body>p{
    margin-top:5px;font-size:13px;line-height:1.4;color:#c9c4c6;
  }
  body[data-plus-view="home"] .plus-home-ranked-card .plus-home-rank-number{
    top:17px;left:17px;min-width:30px;height:30px;padding:0 8px;border-radius:6px;font-size:15px;
    box-shadow:0 7px 18px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.12);
  }
  body[data-plus-view="home"] .plus-home-ranked-card .plus-home-rank-metrics{
    gap:18px;margin-top:9px;font-size:12px;
  }
  body[data-plus-view="home"] .plus-home-carousel-next{
    right:-22px;top:137px;width:52px;height:52px;font-size:34px;
    box-shadow:0 9px 28px rgba(0,0,0,.55),inset 0 1px rgba(255,255,255,.07);
  }
  body[data-plus-view="home"] .plus-home-discovery{margin-top:39px;padding:0 4px 40px;}
  body[data-plus-view="home"] .plus-home-discovery .plus-shelf-head{margin-bottom:0;}
  body[data-plus-view="home"] .plus-home-discovery-head-right{gap:29px;}
  body[data-plus-view="home"] .plus-home-sort-pills{gap:12px;}
  body[data-plus-view="home"] .plus-home-sort-pills button{
    height:37px;padding:0 22px;font-size:13px;
  }
}

@media(max-width:1439px){
  .plus-hero-indicators{margin-top:14px;}
}

/* Preview cards are visible for layout review but never open a fake reader. */
.plus-book-card.is-design-preview .plus-cover{cursor:default;}
body[data-plus-view="home"] #plus-popular .plus-shelf-grid,
body[data-plus-view="home"] .plus-home-discovery .plus-shelf-grid{scrollbar-width:none;}
body[data-plus-view="home"] #plus-popular .plus-shelf-grid::-webkit-scrollbar,
body[data-plus-view="home"] .plus-home-discovery .plus-shelf-grid::-webkit-scrollbar{display:none;}

/* Shared header search action. It deliberately duplicates the text navigation
   as the user's requested quick-access exception to the reference. */
.plus-header-search{
  order:0;display:grid;width:40px;height:40px;flex:0 0 40px;place-items:center;
  border:1px solid var(--line);border-radius:50%;color:#d8d8d4;
  background:rgba(255,255,255,.025);text-decoration:none;
}
.plus-header-search:hover{color:#fff;background:rgba(255,255,255,.07);}
.plus-header-search:focus-visible{outline:2px solid var(--plus-coral,#ef657d);outline-offset:2px;}
.plus-header-search svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;}
.plus-demo-avatar svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;}
body[data-plus-view="home"] .plus-home-ranked-card .plus-home-metric-readers::before{
  content:"";width:13px;height:8px;flex:0 0 13px;border:1.4px solid currentColor;border-radius:50% / 65%;
  background:radial-gradient(circle,currentColor 0 1.4px,transparent 1.6px);
}
body[data-plus-view="home"] .plus-home-ranked-card .plus-home-metric-saved::before{
  content:"♡";font-size:16px;line-height:1;
}
@media(max-width:620px){
  .plus-header-search{width:34px;height:34px;flex-basis:34px;}
  .plus-header-search svg{width:17px;height:17px;}
}
