@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;700;900&family=Noto+Serif+TC:wght@500;700&display=swap');

:root {
  /* Prevent layout shift when scrollbar disappears */
  scrollbar-gutter: stable;

  /* Updated Sunrise Palette based on User Guidelines */
  --color-primary: #FF8A5B; /* Dawn Orange */
  --color-secondary: #E26D7D; /* Soft Sunrise Red */
  --color-accent: #FFD275; /* Sunny Yellow */
  --color-purple: #7D5B8C; /* Morning Purple */
  --color-text-dark: #2D1B2E; /* Deep Sunrise Dark */
  --color-bg-light: #FFF9F5; /* Warm White */
  
  --border-radius-lg: 50px;
  --border-radius-md: 25px;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans TC', sans-serif;
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  overflow-x: hidden;
  background-image: linear-gradient(135deg, rgba(255, 138, 91, 0.05) 0%, rgba(125, 91, 140, 0.05) 100%);
}

h1, h2, h3, .serif-font {
  font-family: 'Noto Serif TC', serif;
}

/* --- Layout --- */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* --- Navigation Logo --- */
.nav-logo {
  position: fixed;
  top: 40px;
  left: 40px;
  z-index: 2000;
  width: 220px; /* 從 160px 調大為 220px */
  transition: var(--transition-smooth);
}

.nav-logo img {
  width: 100%;
  height: auto;
  filter: drop-shadow(2px 4px 10px rgba(0,0,0,0.1));
}

.nav-logo:hover {
  transform: scale(1.05);
}

/* --- Hamburger Menu --- */
.menu-btn {
  position: fixed;
  top: 40px;
  right: 40px;
  z-index: 2000; /* 提高層級，確保永遠在最上層 */
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: white;
  border: none;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1); /* 加強陰影提升辨識度 */
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
}

.menu-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(255, 138, 91, 0.3);
}

.menu-btn .bar {
  width: 25px;
  height: 3px;
  background: var(--color-text-dark);
  border-radius: 3px;
  transition: 0.3s;
}

.menu-btn.active .bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
  background: var(--color-primary);
}
.menu-btn.active .bar:nth-child(2) { opacity: 0; }
.menu-btn.active .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
  background: var(--color-primary);
}

/* --- Fullscreen Nav --- */
.nav-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 25vw; /* 設為螢幕寬度的四分之一 */
  min-width: 300px; /* 給予最小寬度確保在窄螢幕上仍可讀 */
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(100%); /* 初始位置在螢幕右側外 */
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  box-shadow: -10px 0 30px rgba(45, 27, 46, 0.05);
  opacity: 1; /* 取消原本的透明度淡入，改用位移 */
  pointer-events: all;
}

.nav-overlay.active {
  transform: translateX(0); /* 點擊後滑入 */
}

.nav-menu {
  list-style: none;
  text-align: center;
}

.nav-menu li { margin: 30px 0; }

.nav-menu a {
  font-size: 1.8rem; /* 寬度變窄了，縮小字體尺寸 */
  font-family: 'Noto Serif TC', serif;
  color: var(--color-text-dark);
  text-decoration: none;
  font-weight: 700;
  position: relative;
  transition: var(--transition-smooth);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transition: var(--transition-smooth);
  border-radius: 2px;
}

.nav-menu a:hover::after { width: 100%; }
.nav-menu a:hover, .nav-menu a.active { color: var(--color-primary); }

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 5%;
  overflow: hidden;
}

.hero-bg-accent {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 138, 91, 0.15) 0%, rgba(125, 91, 140, 0) 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero-content {
  flex: 1;
  padding-right: 50px;
  max-width: 45%;
  text-align: center; /* 強制內容區塊內置中 */
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUpIn 1s ease forwards 0.5s;
}

.hero-title {
  font-size: 5rem;
  line-height: 1.1;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
}

.hero-title span.small {
  font-size: 1.5rem;
  color: var(--color-primary);
  font-family: 'Noto Sans TC', sans-serif;
  display: block;
  margin-bottom: 15px;
  letter-spacing: 0.2em;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-desc {
  font-size: 1.25rem;
  line-height: 1.8;
  color: rgba(45, 27, 46, 0.7);
  margin: 0 auto 40px; /* 將此區塊本身也置中 */
  max-width: 500px;
}

.cta-btn {
  display: inline-block;
  padding: 18px 50px;
  background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 30px;
  box-shadow: 0 10px 20px rgba(255, 138, 91, 0.3);
  transition: var(--transition-smooth);
}

.cta-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(255, 138, 91, 0.5);
}

.hero-visual {
  flex: none;
  width: 50vw; /* 強制寬度佔據螢幕的 50% */
  height: auto;
  position: relative;
  z-index: 10;
  opacity: 0;
  transform: translateX(50px);
  animation: fadeLeftIn 1s cubic-bezier(0.25, 0.8, 0.25, 1) forwards 0.2s;
}

.hero-image-frame {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3; /* Forces a strict Japanese anime vertical poster format */
  border-radius: var(--border-radius-lg) 150px var(--border-radius-lg) var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(45, 27, 46, 0.15);
  position: relative;
  background: white;
  padding: 10px;
}

.hero-image-frame img.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--border-radius-lg) - 10px) 140px calc(var(--border-radius-lg) - 10px) calc(var(--border-radius-lg) - 10px);
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero-image-frame img.slide.active {
  opacity: 1;
}

/* Image Placeholder Strategy */
.img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0e0e0, #f5f5f5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1rem;
    text-align: center;
    font-family: 'Noto Sans TC', sans-serif;
    border-radius: calc(var(--border-radius-lg) - 10px) 140px calc(var(--border-radius-lg) - 10px) calc(var(--border-radius-lg) - 10px);
}

/* --- Section Title --- */
.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 30px; /* 從原本的 60px 調降至 30px，讓內容與標題更靠近 */
  color: var(--color-text-dark);
}

.section-title span {
  display: block;
  font-size: 1.2rem;
  color: var(--color-primary);
  font-family: 'Noto Sans TC', sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* --- Content Sections --- */
section { padding: 100px 0; }

#pickup { padding-top: 180px; } /* 增加與上方主視覺的間距 */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.card {
  background: white;
  border-radius: var(--border-radius-md);
  padding: 40px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.03);
  transition: var(--transition-smooth);
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 45px rgba(255, 138, 91, 0.1);
  border-bottom: 5px solid var(--color-secondary);
}

.card-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 138, 91, 0.1);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 20px;
}

.card h3 { font-size: 1.8rem; margin-bottom: 15px; }

/* 捲動進入動畫 Class */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: var(--transition-smooth);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 主題裝飾點綴 (碎屑/星星) */
.sparkle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: float 3s ease-in-out infinite alternate;
}

@keyframes fadeUpIn {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeLeftIn {
  to { opacity: 1; transform: translateX(0); }
}

@keyframes float {
  from { transform: translateY(0); }
  to { transform: translateY(-15px); }
}

/* --- Novel & Comic Integration --- */
.novel-wrapper {
  max-width: 760px;
  margin: 140px auto 80px;
  padding: 60px;
  background: white;
  border-radius: var(--border-radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
  border-top: 5px solid var(--color-secondary);
}

.novel-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.novel-meta {
  text-align: center;
  color: var(--color-primary);
  margin-bottom: 50px;
  font-size: 0.9rem;
}

.novel-content {
  font-family: 'Noto Serif TC', serif;
  font-size: 1.15rem;
  line-height: 2.2;
  letter-spacing: 1px;
}

.novel-content p {
  margin-bottom: 2em;
  text-indent: 2em;
}

/* Comic strict adherence to 0-gap constraint */
.comic-wrapper {
  max-width: 800px;
  margin: 100px auto 0;
  background: #f5f0e8;
}

.comic-container {
  display: flex;
  flex-direction: column;
  font-size: 0;
  line-height: 0;
  margin: 0;
  padding: 0;
}

.comic-container img, .comic-container .img-placeholder {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0; /* Override */
}

.comic-container .img-placeholder {
  aspect-ratio: 1920 / 1400;
}

/* --- Comic Episode Navigation Bar --- */
.comic-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 40px 20px;
  background: #fcf9f2;
}

.comic-nav a {
  text-decoration: none;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition-smooth);
  letter-spacing: 0.05em;
}

.comic-nav a:hover {
  color: var(--color-accent);
  transform: translateY(-2px);
}

/* --- Comic Index Page Layout --- */
.comic-index-wrapper {
  display: flex;
  gap: 100px;
  max-width: 1600px;
  margin: 60px auto;
  padding: 0 60px;
  align-items: flex-start;
}

.comic-cover-zone {
  flex: 0 0 550px;
  position: sticky;
  top: 100px;
  z-index: 10;
}

.comic-cover-zone .cover-image {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 20px 30px 60px rgba(0,0,0,0.2),
              0 0 20px rgba(255, 138, 91, 0.05);
  transition: var(--transition-smooth);
  background: #eee;
}

.comic-cover-zone .cover-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.comic-cover-zone:hover .cover-image {
  transform: translateY(-15px) rotate(-1.5deg);
  box-shadow: 25px 40px 80px rgba(0,0,0,0.25);
}

.comic-content-zone {
  flex: 1;
}

/* Responsive: Comic Index Mobile */
@media (max-width: 1024px) {
  .comic-index-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 50px;
    margin-top: 40px;
    padding: 0 10px;
    width: 100%;
  }

  .comic-cover-zone {
    flex: none;
    width: 100%;
    max-width: 380px;
    position: static;
  }
}

/* --- Social Square Icons --- */
.social-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 0px; /* 從原本的 20px 縮小至 0 */
  padding-left: 10px; /* 全局右移修正為 10px */
}

.social-square-btn {
  width: 80px;
  height: 80px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.social-square-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.social-square-btn .icon-label {
  font-size: 1.2rem;
  font-weight: 900;
  color: white;
  letter-spacing: 0.05em;
  text-align: center;
  line-height: 1.2;
}

.social-square-btn .social-icon-img {
  width: 55%;
  height: auto;
  object-fit: contain;
}

.social-square-btn.twitter-x {
  background-color: #000;
  width: 72px;
  height: 72px;
}

.social-square-btn.twitter-x .social-icon-img {
  width: 58%; /* 降低標誌相對於按鈕的比例，達到整體縮小的視覺效果 */
}

.social-square-btn.line-webtoon {
  background-color: transparent;
  box-shadow: none;
  width: 88px;
  height: 88px;
}

.social-square-btn.line-webtoon .social-icon-img {
  height: 100%;
  width: auto;
}

.social-square-btn.patreon {
  background-color: transparent;
  box-shadow: none;
  width: 88px;
  height: 88px;
  margin-left: -15px; /* 針對性讓 Patreon 往左移動，縮小與 Webtoon 的視覺間距 */
}

.social-square-btn.patreon .social-icon-img {
  height: 80%;
  width: auto;
}

/* RWD */
@media (max-width: 992px) {
  .hero { flex-direction: column; padding: 0 0 40px; justify-content: flex-start; }
  .hero-visual { height: auto; width: 100%; max-width: 100%; order: -1; z-index: 1; }
  .hero-image-frame { width: 100%; height: auto; border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg); padding: 0; }
  .hero-image-frame img.slide { border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg); }
  .hero-content { max-width: 100%; text-align: center; padding: 0 20px; margin-top: -120px; margin-bottom: 40px; position: relative; z-index: 5; }
  .hero-title { font-size: 3.5rem; }
  .hero-desc { margin: 0 auto 30px; }
  .novel-wrapper { margin: 100px 20px 40px; padding: 30px; }
  .social-square-btn { width: 60px; height: 60px; }
  .nav-overlay { width: 100vw; min-width: 100vw; }
  .nav-logo { width: 100px; top: 20px; left: 20px; position: absolute; }
  .menu-btn { top: 20px; right: 20px; width: 50px; height: 50px; }
  .comic-wrapper { margin-top: 10px; }
}

/* --- Novel Language Selector --- */
.novel-lang-selector {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 0 auto 30px;
  padding: 10px 20px;
  background: white;
  width: fit-content;
  border-radius: var(--border-radius-md);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.lang-toggle {
  background: none;
  border: none;
  font-family: 'Noto Sans TC', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: rgba(45, 27, 46, 0.4);
  cursor: pointer;
  transition: var(--transition-smooth);
  padding: 5px 10px;
  border-radius: 10px;
}

.lang-toggle.active {
  color: var(--color-primary);
  font-weight: 900;
  background: rgba(255, 138, 91, 0.05);
}

.lang-toggle:hover:not(.active) {
  color: var(--color-secondary);
}

/* --- Language Visibility Logic --- */
[data-lang] {
  display: none !important; /* 預設不顯示 */
  animation: fadeInSoft 0.5s ease forwards;
}

body.lang-zh [data-lang="zh"] {
  display: block !important;
}

body.lang-en [data-lang="en"] {
  display: block !important;
}

/* 針對需要 Flex 佈局的章節項目進行特殊覆寫 */
body.lang-zh .chapter-item[data-lang="zh"],
body.lang-en .chapter-item[data-lang="en"] {
  display: flex !important;
}

/* --- Novel Index Split Layout --- */
.novel-index-wrapper {
  display: flex;
  gap: 100px;
  max-width: 1600px; /* 增加最大寬度，提升大螢幕大氣感 */
  margin: 60px auto;
  padding: 0 60px;
  align-items: flex-start;
}

.novel-cover-zone {
  flex: 0 0 550px; /* 大幅放大封面尺寸 */
  position: sticky;
  top: 100px;
  z-index: 10;
}

.novel-cover-zone .cover-image {
  width: 100%;
  aspect-ratio: 1358 / 1920;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 20px 30px 60px rgba(0,0,0,0.2), 
              0 0 20px rgba(255, 138, 91, 0.05);
  transition: var(--transition-smooth);
  background: #eee; /* 載入前佔位背景 */
}

.novel-cover-zone .cover-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.novel-cover-zone:hover .cover-image {
  transform: translateY(-15px) rotate(-1.5deg);
  box-shadow: 25px 40px 80px rgba(0,0,0,0.25);
}

.novel-content-zone {
  flex: 1;
}

/* Responsive: Mobile View Overlay */
@media (max-width: 1024px) {
  .novel-index-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 50px;
    margin-top: 40px;
    padding: 0 10px;
    width: 100%;
  }
  
  .novel-cover-zone {
    flex: none;
    width: 100%;
    max-width: 380px;
    position: static;
  }
  
  .index-container {
    padding: 0 15px !important;
  }
}

@keyframes fadeInSoft {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Novel Theme Support --- */
.novel-theme-selector {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--border-radius-md);
  backdrop-filter: blur(5px);
}

.theme-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid white;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: var(--transition-smooth);
}

.theme-btn:hover { transform: scale(1.1); }
.theme-btn.active { border-color: var(--color-primary); }


.theme-btn.paper { background-color: #fcf9f2; }
.theme-btn.night { background-color: #1a1a1a; }

/* Theme Classes applied to .novel-context */

body.novel-context.theme-paper { background-color: #fcf9f2 !important; color: #443322; }
body.novel-context.theme-paper .novel-wrapper, 
body.novel-context.theme-paper .chapter-item { background-color: #ffffff; }

body.novel-context.theme-night { background-color: #1a1a1a !important; color: #cccccc; }
body.novel-context.theme-night .novel-wrapper, 
body.novel-context.theme-night .chapter-item { background-color: #2a2a2a; border-left-color: var(--color-purple); }
body.novel-context.theme-night .chapter-item:hover { border-left-color: var(--color-primary) !important; }
body.novel-context.theme-night .novel-title, 
body.novel-context.theme-night .chapter-info h3,
body.novel-context.theme-night h1 { color: #eee; }
body.novel-context.theme-night .chapter-info p { color: rgba(255, 255, 255, 0.5); }
body.novel-context.theme-night .menu-btn { background: #333; border: 1px solid #444; }
body.novel-context.theme-night .menu-btn .bar { background: #eee; }
body.novel-context.theme-night .nav-logo img { 
  filter: drop-shadow(2px 4px 10px rgba(255,255,255,0.2)); /* 深色模式下給予微弱亮色陰影 */
}
body.novel-context.theme-night .nav-overlay { background: rgba(30,30, 30, 0.95); }
body.novel-context.theme-night footer { color: rgba(255, 255, 255, 0.4); }
body.novel-context.theme-night .nav-menu a { color: #eee; }

/* --- Comic Reader Theme Support --- */
/* Paper (Light) Mode */
body.novel-context.theme-paper .comic-wrapper { background: #f5f0e8; }
body.novel-context.theme-paper .comic-nav { background: #fcf9f2; }
body.novel-context.theme-paper .comic-nav a { color: var(--color-primary); }
body.novel-context.theme-paper .comic-nav a:hover { color: var(--color-accent); }

/* Night (Dark) Mode */
body.novel-context.theme-night .comic-wrapper { background: #000; }
body.novel-context.theme-night .comic-nav { background: #0d0a0e; }
body.novel-context.theme-night .comic-nav a { color: var(--color-primary); }
body.novel-context.theme-night .comic-nav a:hover { color: var(--color-accent); }
body.novel-context.theme-night .novel-theme-selector { background: rgba(50, 50, 50, 0.5); }


/* --- Novel Index Specific Enhancements --- */
.badge-status {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.badge-ongoing {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 4px 10px rgba(255, 138, 91, 0.2);
}

.update-note {
    font-size: 0.9rem;
    color: rgba(45, 27, 46, 0.5);
    margin-top: 10px;
    font-weight: 500;
}

body.novel-context.theme-night .update-note {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Chapter Item: Upcoming State */
.chapter-item.upcoming {
    cursor: default;
    opacity: 0.6;
    background: rgba(255, 255, 255, 0.5);
    border-left: 5px solid #eee;
}

.chapter-item.upcoming:hover {
    transform: none;
    border-left-color: #eee;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.chapter-item.upcoming .chapter-info h3 {
    color: rgba(45, 27, 46, 0.4);
}

.chapter-item.upcoming .chapter-date {
    color: #999;
}

/* Specific overrides for upcoming items in night mode */
body.novel-context.theme-night .chapter-item.upcoming,
body.novel-context.theme-night .chapter-item.upcoming:hover {
    background: rgba(0, 0, 0, 0.3) !important;
    border-left: 5px solid #333 !important;
    box-shadow: none !important;
}

