/* ==========================================================================
   DRAMAROMANCE - READER PAGE STYLES (High-Contrast Multi-Theme)
   Features: Reading Settings Bar, Multi-Theme (Dark, Sepia, Light),
   Page Break / Chapter Pagination, Reading Progress Bar, Social Share
   ========================================================================== */

/* Reading Progress Bar (Fixed Top) */
.reading-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 1100;
}

.reading-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--gold-gradient);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.8);
  transition: width 0.1s ease;
}

/* Breadcrumbs Navigation */
.reader-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 0 8px;
  font-size: 13px;
  color: var(--text-muted);
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.reader-breadcrumbs::-webkit-scrollbar {
  display: none;
}

.reader-breadcrumbs a {
  flex-shrink: 0;
}

.reader-breadcrumbs a:hover {
  color: var(--gold-accent);
}

.breadcrumb-separator {
  color: var(--text-dim);
  font-size: 11px;
  flex-shrink: 0;
}

.breadcrumb-current {
  color: #ffffff;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

/* ==========================================================================
   COMPACT READING SETTINGS TOOLBAR
   ========================================================================== */
.reading-toolbar {
  background: #141724;
  border: 1px solid #2a2f45;
  border-radius: var(--radius-md);
  padding: 10px 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.toolbar-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.toolbar-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--gold-accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Font Size Controls */
.font-size-controls {
  display: flex;
  align-items: center;
  background: #0f111a;
  border-radius: var(--radius-full);
  border: 1px solid #333a56;
  padding: 2px 3px;
}

.font-size-btn {
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  background: #1f2438;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.font-size-btn:hover {
  background: #2d3450;
  color: var(--gold-accent);
  border-color: var(--primary-gold);
}

.current-font-size {
  font-size: 12px;
  font-weight: 800;
  color: #fbbf24;
  padding: 0 6px;
  min-width: 36px;
  text-align: center;
}

/* Theme Selector Buttons */
.theme-selector {
  display: flex;
  align-items: center;
  gap: 6px;
}

.theme-btn {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: var(--transition);
  cursor: pointer;
}

.theme-btn.theme-dark-btn {
  background: #0f111a;
  color: #ffffff;
  border: 1.5px solid #333a56;
}

.theme-btn.theme-dark-btn:hover {
  border-color: #94a3b8;
}

.theme-btn.theme-sepia-btn {
  background: #fbf0d9;
  color: #3d2f1d;
  border: 1.5px solid #d8c39e;
}

.theme-btn.theme-sepia-btn:hover {
  border-color: #b45309;
}

.theme-btn.theme-light-btn {
  background: #ffffff;
  color: #111827;
  border: 1.5px solid #cbd5e1;
}

.theme-btn.theme-light-btn:hover {
  border-color: #64748b;
}

.theme-btn.active {
  box-shadow: 0 0 0 2px var(--primary-gold) !important;
  border-color: var(--primary-gold) !important;
  background: var(--gold-gradient) !important;
  color: #111111 !important;
  font-weight: 800 !important;
}

/* Font Family Buttons (Serif / Sans) */
.font-family-btn {
  background: #1f2438 !important;
  color: #ffffff !important;
  border: 1.5px solid #333a56 !important;
  font-weight: 700 !important;
  padding: 5px 12px !important;
  border-radius: var(--radius-full) !important;
  cursor: pointer !important;
  font-size: 12px !important;
  transition: var(--transition) !important;
}

.font-family-btn:hover {
  background: #2d3450 !important;
  color: #fbbf24 !important;
  border-color: #f59e0b !important;
}

.font-family-btn.active {
  background: var(--gold-gradient) !important;
  color: #111111 !important;
  font-weight: 800 !important;
  border-color: transparent !important;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.5) !important;
}

/* ==========================================================================
   READER CONTAINER BASE
   ========================================================================== */
.reader-article-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Chapter Header Info */
.chapter-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}

.chapter-novel-parent-title {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--primary-gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  font-weight: 700;
}

.chapter-header-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 14px;
}

.chapter-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 13.5px;
  color: var(--text-muted);
}

/* Chapter Reading Content Body */
.chapter-article-content {
  font-family: var(--font-reader);
  font-size: 19px;
  line-height: 1.95;
  letter-spacing: 0.15px;
  color: #e2e8f0;
}

.chapter-article-content p {
  margin-bottom: 24px;
  text-indent: 1.5em;
}

.chapter-article-content p:first-of-type {
  text-indent: 0;
}

.chapter-article-content p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 3.8em;
  float: left;
  line-height: 0.8;
  margin-right: 12px;
  margin-top: 4px;
  color: var(--gold-accent);
  font-weight: 700;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

/* Embedded Chapter Illustrations */
.chapter-illustration {
  margin: 36px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-gold);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  text-align: center;
  position: relative;
}

.chapter-illustration img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.chapter-illustration:hover img {
  transform: scale(1.02);
}

.chapter-illustration figcaption {
  padding: 12px 18px;
  font-size: 13.5px;
  font-style: italic;
  color: var(--gold-accent);
  background: rgba(10, 11, 16, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   SOCIAL SHARE BAR (Facebook, Twitter/X, WhatsApp, Telegram, Pinterest, Copy)
   ========================================================================== */
/* Social Share Section & Grid */
.social-share-section {
  margin: 32px 0 24px;
  padding: 16px 20px;
  background: rgba(18, 21, 33, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
}

.share-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.share-icon-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--gold-accent);
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.75px;
}

.social-buttons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff !important;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  border: none;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.social-btn svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
  fill: currentColor;
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
}

.social-btn:hover svg {
  transform: scale(1.15);
}

.social-btn.btn-facebook {
  background: #1877f2 !important;
  color: #ffffff !important;
}

.social-btn.btn-facebook:hover {
  background: #166fe5 !important;
}

.social-btn.btn-twitter {
  background: #000000 !important;
  color: #ffffff !important;
  border: 1px solid #374151 !important;
}

.social-btn.btn-twitter:hover {
  background: #1f2937 !important;
}

.social-btn.btn-whatsapp {
  background: #25d366 !important;
  color: #062b12 !important;
  font-weight: 800 !important;
}

.social-btn.btn-whatsapp:hover {
  background: #22bf5b !important;
}

.social-btn.btn-telegram {
  background: #229ed9 !important;
  color: #ffffff !important;
}

.social-btn.btn-telegram:hover {
  background: #1e8dbf !important;
}

.social-btn.btn-pinterest {
  background: #e60023 !important;
  color: #ffffff !important;
}

.social-btn.btn-pinterest:hover {
  background: #cc001f !important;
}

.social-btn.btn-copy {
  background: #f59e0b !important;
  color: #111111 !important;
  font-weight: 800 !important;
  border: 1px solid #d97706 !important;
}

.social-btn.btn-copy:hover {
  background: var(--gold-gradient) !important;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.5) !important;
}

.share-toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #161926;
  border: 1.5px solid var(--primary-gold);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.85), 0 0 15px rgba(245, 158, 11, 0.4);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  z-index: 9999;
  animation: toastSlideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes toastSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   PAGE BREAK & CHAPTER PAGINATION BAR
   ========================================================================== */
.chapter-pagination-container {
  margin-top: 36px;
  padding: 24px;
  background: rgba(18, 21, 33, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  width: 100%;
  box-sizing: border-box;
}

.chapter-pagination-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--gold-accent);
  font-weight: 700;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-break-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.page-numbers-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
}

.page-num-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-weight: 700;
  font-size: 13.5px;
  transition: var(--transition);
  cursor: pointer;
}

.page-num-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-color: var(--primary-gold);
  transform: translateY(-2px);
}

.page-num-btn.active {
  background: var(--gold-gradient) !important;
  color: #111111 !important;
  font-weight: 800 !important;
  border-color: transparent !important;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.45) !important;
}

.chapter-nav-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}

.page-nav-btn {
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition);
  cursor: pointer;
  width: 100%;
  text-align: center;
}

.page-nav-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border-color: var(--border-gold);
}

.page-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.page-nav-btn.btn-next-action {
  background: var(--gold-gradient) !important;
  color: #111111 !important;
  font-weight: 800 !important;
  border-color: transparent !important;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35) !important;
}

.page-nav-btn.btn-next-action:hover:not(:disabled) {
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.55) !important;
  transform: translateY(-2px);
}

/* Full-Width Chapter Dropdown Menu */
.chapter-dropdown-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.chapter-dropdown-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold-accent);
  display: flex;
  align-items: center;
  gap: 6px;
}

.chapter-select-menu {
  width: 100%;
  background: #10121d;
  border: 1.5px solid #2e344e;
  border-radius: 8px;
  color: #ffffff;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  line-height: 1.4;
  word-break: break-word;
  transition: var(--transition);
}

.chapter-select-menu:focus {
  border-color: var(--primary-gold);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

.chapter-select-menu option {
  background: #141724;
  color: #ffffff;
  padding: 8px 12px;
  font-size: 13.5px;
}

/* ==========================================================================
   THEME OVERRIDES FOR SEPIA & LIGHT (Crystal-Clear Contrast)
   ========================================================================== */

/* --- 1. DARK THEME (Default) --- */
.reader-theme-dark {
  background: #12141e !important;
  color: #f3f4f6 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

/* --- 2. SEPIA THEME --- */
.reader-theme-sepia {
  background: #fbf0d9 !important;
  color: #292015 !important;
  border-color: #d8c39e !important;
  box-shadow: 0 10px 30px rgba(95, 75, 50, 0.12) !important;
}

.reader-theme-sepia .chapter-header {
  border-color: #d8c39e !important;
}

.reader-theme-sepia .chapter-novel-parent-title {
  color: #b45309 !important;
}

.reader-theme-sepia .chapter-header-title {
  color: #292015 !important;
}

.reader-theme-sepia .chapter-meta {
  color: #6b5238 !important;
}

.reader-theme-sepia .chapter-article-content {
  color: #292015 !important;
}

.reader-theme-sepia .chapter-illustration {
  background: #f3e5c8 !important;
  border-color: #d1bd94 !important;
}

.reader-theme-sepia .chapter-illustration figcaption {
  background: #ebe0c5 !important;
  color: #854d0e !important;
  border-color: #d8c39e !important;
}

.reader-theme-sepia .social-share-section {
  background: #f3e5c8 !important;
  border-color: #d8c39e !important;
}

.reader-theme-sepia .share-icon-title {
  color: #292015 !important;
}

.reader-theme-sepia .chapter-pagination-container {
  background: #f4ecd8 !important;
  border-color: #d8c39e !important;
}

.reader-theme-sepia .chapter-pagination-label {
  color: #854d0e !important;
  font-weight: 800 !important;
}

.reader-theme-sepia .page-nav-btn {
  background: #fff8eb !important;
  color: #292015 !important;
  border: 1.5px solid #d8c39e !important;
}

.reader-theme-sepia .page-nav-btn:hover:not(:disabled) {
  background: #ede0c2 !important;
  color: #000000 !important;
  border-color: #b45309 !important;
}

.reader-theme-sepia .page-num-btn {
  background: #fff8eb !important;
  color: #292015 !important;
  border: 1.5px solid #d8c39e !important;
}

.reader-theme-sepia .page-num-btn:hover {
  background: #ede0c2 !important;
  color: #000000 !important;
  border-color: #b45309 !important;
}

.reader-theme-sepia .page-num-btn.active {
  background: var(--gold-gradient) !important;
  color: #111111 !important;
  font-weight: 800 !important;
  border-color: transparent !important;
}

.reader-theme-sepia .chapter-dropdown-wrapper label,
.reader-theme-sepia .chapter-dropdown-label {
  color: #854d0e !important;
  font-weight: 700 !important;
}

.reader-theme-sepia .chapter-select-menu {
  background: #fff8eb !important;
  color: #292015 !important;
  border: 1.5px solid #d8c39e !important;
}

/* --- 3. LIGHT THEME --- */
.reader-theme-light {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08) !important;
}

.reader-theme-light .chapter-header {
  border-color: #e2e8f0 !important;
}

.reader-theme-light .chapter-novel-parent-title {
  color: #d97706 !important;
}

.reader-theme-light .chapter-header-title {
  color: #0f172a !important;
}

.reader-theme-light .chapter-meta {
  color: #475569 !important;
}

.reader-theme-light .chapter-article-content {
  color: #0f172a !important;
}

.reader-theme-light .chapter-illustration {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06) !important;
}

.reader-theme-light .chapter-illustration figcaption {
  background: #f1f5f9 !important;
  color: #b45309 !important;
  border-color: #e2e8f0 !important;
}

.reader-theme-light .social-share-section {
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
}

.reader-theme-light .share-icon-title {
  color: #0f172a !important;
}

.reader-theme-light .chapter-pagination-container {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

.reader-theme-light .chapter-pagination-label {
  color: #0f172a !important;
  font-weight: 800 !important;
}

.reader-theme-light .page-nav-btn {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1.5px solid #cbd5e1 !important;
}

.reader-theme-light .page-nav-btn:hover:not(:disabled) {
  background: #f1f5f9 !important;
  color: #000000 !important;
  border-color: #f59e0b !important;
}

.reader-theme-light .page-num-btn {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1.5px solid #cbd5e1 !important;
}

.reader-theme-light .page-num-btn:hover {
  background: #f1f5f9 !important;
  color: #d97706 !important;
  border-color: #f59e0b !important;
}

.reader-theme-light .page-num-btn.active {
  background: var(--gold-gradient) !important;
  color: #111111 !important;
  font-weight: 800 !important;
  border-color: transparent !important;
}

.reader-theme-light .chapter-dropdown-wrapper label,
.reader-theme-light .chapter-dropdown-label {
  color: #0f172a !important;
  font-weight: 700 !important;
}

.reader-theme-light .chapter-select-menu {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1.5px solid #cbd5e1 !important;
}

/* ==========================================================================
   SIDEBAR WIDGETS & COMMENTS
   ========================================================================== */
.novel-info-widget {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.novel-widget-cover {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.novel-widget-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.novel-widget-meta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  font-size: 13px;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.meta-key {
  color: var(--text-muted);
}

.meta-value {
  font-weight: 600;
  color: #fff;
}

.toc-chapter-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 360px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-gold) rgba(255, 255, 255, 0.05);
}

.toc-item {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  transition: var(--transition);
}

.toc-item:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  border-color: rgba(245, 158, 11, 0.2);
  transform: translateX(3px);
}

.toc-item.active {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--primary-gold);
  color: var(--gold-accent);
  font-weight: 700;
}

.toc-item-badge {
  font-size: 10.5px;
  padding: 2px 6px;
  background: var(--gold-gradient);
  color: #111;
  border-radius: 4px;
  font-weight: 800;
}

.reader-comments-section {
  margin-top: 36px !important;
  background: var(--bg-card) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--radius-lg) !important;
  padding: 32px !important;
}

.comments-header-title {
  font-family: var(--font-heading) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin-bottom: 20px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.comment-input-box {
  width: 100% !important;
  height: 110px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 10px !important;
  padding: 14px !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-family: var(--font-ui) !important;
  resize: vertical !important;
  margin-bottom: 14px !important;
  outline: none !important;
  box-sizing: border-box !important;
}

.comment-input-box:focus {
  border-color: var(--primary-gold) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.25) !important;
}

.comment-inputs-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 14px !important;
  margin-bottom: 14px !important;
}

@media (max-width: 600px) {
  .comment-inputs-row {
    grid-template-columns: 1fr !important;
  }
}

.comment-text-input {
  width: 100% !important;
  padding: 11px 14px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  font-size: 13.5px !important;
  outline: none !important;
  box-sizing: border-box !important;
}

.comment-text-input:focus {
  border-color: var(--primary-gold) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.comment-submit-btn {
  padding: 11px 24px !important;
  background: var(--gold-gradient) !important;
  color: #111111 !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  border-radius: 8px !important;
  border: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  transition: var(--transition) !important;
}

.comment-submit-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.45) !important;
}

/* Scroll-to-top theme overrides in reader */
.reader-theme-light .scroll-to-top-btn {
  background: #ffffff !important;
  color: #b45309 !important;
  border-color: #d97706 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
}

.reader-theme-light .scroll-to-top-btn:hover {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  color: #111111 !important;
}

.reader-theme-sepia .scroll-to-top-btn {
  background: #f4ecd8 !important;
  color: #854d0e !important;
  border-color: #d97706 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
}

.reader-theme-sepia .scroll-to-top-btn:hover {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  color: #111111 !important;
}

