@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Bengali:wght@400;600;700;800&display=swap');
/* JUFbook Phase 4A — Scoped Public List Page Stylesheet (.juf-ls, <= 14 KB) */
.juf-ls {
    --ls-surface: var(--surface, #ffffff);
    --ls-surface-alt: var(--surface-alt, #f6f7fb);
    --ls-ink: var(--ink, #1f2430);
    --ls-muted: var(--muted, #5b6376);
    --ls-border: var(--border, rgba(31, 36, 48, 0.12));
    --ls-accent: var(--cta, #0f766e);
    --ls-accent-ink: #ffffff;
    --ls-badge-bg: rgba(15, 118, 110, 0.12);
    --ls-badge-ink: #0f766e;
    max-width: 1120px;
    margin: 0 auto;
    padding: 18px 16px 88px;
    color: var(--ls-ink);
    font-size: 15px;
    line-height: 1.55;
}

[data-theme="dark"] .juf-ls,
body.dark-mode .juf-ls {
    --ls-surface: #181c24;
    --ls-surface-alt: #212734;
    --ls-ink: #eef1f7;
    --ls-muted: #a6b0c3;
    --ls-border: rgba(255, 255, 255, 0.12);
    --ls-accent: #4fd1c5;
    --ls-accent-ink: #0f1320;
    --ls-badge-bg: rgba(79, 209, 197, 0.16);
    --ls-badge-ink: #81e6d9;
}

.juf-ls[data-palette="indigo"] { --ls-accent: var(--accent, #3B4256); --ls-badge-bg: rgba(51, 70, 168, 0.12); --ls-badge-ink: var(--accent, #3B4256); }
.juf-ls[data-palette="amber"]  { --ls-accent: #b45309; --ls-badge-bg: rgba(180, 83, 9, 0.12); --ls-badge-ink: #92400e; }
.juf-ls[data-palette="rose"]   { --ls-accent: #be123c; --ls-badge-bg: rgba(190, 18, 60, 0.12); --ls-badge-ink: #9f1239; }
.juf-ls[data-palette="slate"]  { --ls-accent: #334155; --ls-badge-bg: rgba(51, 65, 85, 0.12); --ls-badge-ink: #334155; }

.juf-ls .juf-ls-preview-banner {
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(180, 83, 9, 0.14);
    border: 1px solid rgba(180, 83, 9, 0.35);
    font-size: 14px;
    font-weight: 600;
}

.juf-ls .juf-ls-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    font-size: 13.5px;
    color: var(--ls-muted);
    margin-bottom: 14px;
}

.juf-ls .juf-ls-breadcrumb a {
    color: var(--ls-muted);
    text-decoration: none;
}

.juf-ls .juf-ls-hero {
    background: var(--ls-surface);
    border: 1px solid var(--ls-border);
    position: relative; overflow: hidden;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 18px;
}

.juf-ls .juf-ls-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--ls-badge-bg);
    color: var(--ls-badge-ink);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
}

.juf-ls .juf-ls-title {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--ls-ink);
}

.juf-ls .juf-ls-subtitle {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 600;
    color: var(--ls-muted);
}

.juf-ls .juf-ls-intro {
    margin: 0 0 14px;
    font-size: 15px;
    color: var(--ls-ink);
}

.juf-ls .juf-ls-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    font-size: 13.5px;
    color: var(--ls-muted);
    margin-bottom: 12px;
}

.juf-ls .juf-ls-method {
    margin-top: 10px;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--ls-surface-alt);
    border: 1px solid var(--ls-border);
    font-size: 14px;
}

.juf-ls .juf-ls-method summary {
    cursor: pointer;
    font-weight: 700;
    min-height: 32px;
    display: flex;
    align-items: center;
}

.juf-ls .juf-ls-method p {
    margin: 8px 0 0;
    color: var(--ls-muted);
}

.juf-ls .juf-ls-progress {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--ls-border);
}

.juf-ls .juf-ls-progress-text {
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--ls-ink);
}

.juf-ls .juf-ls-progress-bar {
    height: 8px;
    border-radius: 999px;
    background: var(--ls-surface-alt);
    overflow: hidden;
}

.juf-ls .juf-ls-progress-fill {
    height: 100%;
    background: var(--ls-accent);
    border-radius: 999px;
}

.juf-ls .juf-ls-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.juf-ls .juf-ls-chips,
.juf-ls .juf-ls-sort-row,
.juf-ls .juf-ls-views {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.juf-ls .juf-ls-chip,
.juf-ls .juf-ls-sort-link,
.juf-ls .juf-ls-view-btn {
    min-height: 44px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--ls-border);
    background: var(--ls-surface);
    color: var(--ls-ink);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.juf-ls .juf-ls-chip.is-active,
.juf-ls .juf-ls-sort-link.is-active,
.juf-ls .juf-ls-view-btn.is-active {
    background: var(--ls-accent);
    color: var(--ls-accent-ink);
    border-color: transparent;
}

.juf-ls .juf-ls-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.juf-ls[data-view="grid"] .juf-ls-items {
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
}

.juf-ls .juf-ls-item {
    background: var(--ls-surface);
    border: 1px solid var(--ls-border);
    border-radius: 14px;
    padding: 16px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.juf-ls[data-view="compact"] .juf-ls-item {
    padding: 10px 14px;
    gap: 10px;
}

.juf-ls[data-view="compact"] .juf-ls-cover,
.juf-ls[data-view="compact"] .juf-ls-reason,
.juf-ls[data-view="compact"] .juf-ls-note {
    display: none;
}

.juf-ls .juf-ls-rank {
    min-width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--ls-badge-bg);
    color: var(--ls-badge-ink);
    font-size: 14px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.juf-ls .juf-ls-cover {
    width: 68px;
    height: 98px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--ls-surface-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    padding: 6px;
}

.juf-ls .juf-ls-body {
    flex: 1;
    min-width: 0;
}

.juf-ls .juf-ls-item-title {
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
}

.juf-ls .juf-ls-item-title a {
    color: var(--ls-ink);
    text-decoration: none;
}

.juf-ls .juf-ls-item-author {
    margin: 0 0 6px;
    font-size: 14px;
    color: var(--ls-muted);
}

.juf-ls .juf-ls-item-author a {
    color: var(--ls-muted);
    text-decoration: none;
}

.juf-ls .juf-ls-item-meta {
    margin: 0 0 8px;
    font-size: 13.5px;
    color: var(--ls-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
}

.juf-ls .juf-ls-reason,
.juf-ls .juf-ls-note {
    margin: 0 0 8px;
    font-size: 14px;
    color: var(--ls-ink);
}

.juf-ls .juf-ls-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 10px;
}

.juf-ls .juf-ls-btn,
.juf-ls .juf-ls-btn-sec {
    min-height: 44px;
    padding: 0 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.juf-ls .juf-ls-btn {
    background: var(--ls-accent);
    color: var(--ls-accent-ink);
}

.juf-ls .juf-ls-btn-sec {
    background: var(--ls-surface-alt);
    color: var(--ls-ink);
    border: 1px solid var(--ls-border);
}

.juf-ls .juf-ls-pill-muted {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--ls-surface-alt);
    color: var(--ls-muted);
    font-size: 13px;
    font-weight: 600;
}

.juf-ls .juf-ls-empty {
    background: var(--ls-surface);
    border: 1px solid var(--ls-border);
    border-radius: 14px;
    padding: 28px 18px;
    text-align: center;
}

.juf-ls .juf-ls-pager {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
}

.juf-ls .juf-ls-related {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--ls-border);
}

.juf-ls .juf-ls-related h2 {
    margin: 0 0 12px;
    font-size: 19px;
    font-weight: 800;
}

.juf-ls .juf-ls-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
}

.juf-ls .juf-ls-related-card {
    display: block;
    background: var(--ls-surface);
    border: 1px solid var(--ls-border);
    border-radius: 12px;
    padding: 14px;
    text-decoration: none;
    color: var(--ls-ink);
    min-height: 44px;
}

.juf-ls .juf-ls-related-card strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}

.juf-ls .juf-ls-related-card small {
    font-size: 13px;
    color: var(--ls-muted);
}

@media (prefers-reduced-motion: reduce) {
    .juf-ls * {
        transition: none !important;
        animation: none !important;
    }
}

/* Phase 4B — Interactive List Actions & Toast (.juf-ls scoped) */
.juf-ls .juf-ls-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.juf-ls .juf-ls-inline-form { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.juf-ls .juf-ls-action-btn {
    min-height: 44px; padding: 0 14px; border-radius: 10px;
    border: 1px solid var(--ls-border); background: var(--ls-surface-alt); color: var(--ls-ink);
    font-size: 13.5px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; text-decoration: none;
}
.juf-ls .juf-ls-action-btn.is-active { background: var(--ls-accent); color: var(--ls-accent-ink); border-color: transparent; }
.juf-ls .juf-ls-rate-select {
    min-height: 44px; padding: 0 8px; border-radius: 10px;
    border: 1px solid var(--ls-border); background: var(--ls-surface-alt); color: var(--ls-ink); font-size: 13.5px;
}
.juf-ls .juf-ls-toast {
    position: fixed; left: 50%; bottom: 72px; transform: translateX(-50%); z-index: 1250;
    max-width: min(92vw, 440px); padding: 12px 16px; border-radius: 12px;
    background: var(--ls-ink); color: var(--ls-surface); font-size: 14px; font-weight: 600;
    display: flex; align-items: center; gap: 12px; box-shadow: 0 10px 28px rgba(0,0,0,0.28);
}
.juf-ls .juf-ls-toast[hidden] { display: none; }
.juf-ls .juf-ls-toast-link { color: #93c5fd; font-weight: 700; text-decoration: underline; white-space: nowrap; }

/* Phase 4D: Author list item card */
.juf-ls-avatar{width:72px;height:72px;border-radius:50%;object-fit:cover;flex-shrink:0;border:2px solid var(--juf-ls-border,#e2ded5)}
.juf-ls-avatar--mono{display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:700;background:var(--juf-ls-accent,#0f766e);color:#fff}
.juf-ls-author-badge{display:inline-block;margin-left:6px;padding:2px 8px;border-radius:999px;font-size:12px;font-weight:600;background:rgba(15,118,110,.12);color:var(--juf-ls-accent,#0f766e);vertical-align:middle}

/* Phase 6C: Keyboard accessibility focus ring */
.juf-ls-page :is(a,button,input,select,summary):focus-visible{outline:2px solid var(--juf-ls-accent,#0f766e);outline-offset:2px;border-radius:6px}

/* Build 660 Hotfix 3: Crisp hero top bar & legacy CSS button contrast protection */
.juf-ls .juf-ls-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--ls-accent, #0f766e);
}
.juf-ls .juf-ls-btn--primary,
.juf-ls a.juf-ls-btn--primary:visited,
.juf-ls .juf-ls-chip.is-active,
.juf-ls .juf-ls-sort-link.is-active,
.juf-ls .juf-ls-view-btn.is-active,
.juf-ls .juf-ls-action-btn.is-active {
  color: #FFFFFF !important;
}

/* Build 660 Hotfix 8 (Phase C): Protect .juf-ls-btn contrast, cover fill & mobile bottom-nav clearance */
html body .juf-ls .juf-ls-btn,
html body .juf-ls a.juf-ls-btn,
html body .juf-ls a.juf-ls-btn:visited,
html body .juf-ls button.juf-ls-btn,
html body .juf-ls .juf-ls-view-btn.is-active,
html body .juf-ls .juf-ls-action-btn.is-active {
  color: #FFFFFF !important;
}
.juf-ls .book-cover-wrapper,
.juf-ls .procedural-cover {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}
@media (max-width: 767px) {
  .juf-ls {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }
}

/* Build 660 Hotfix 19: Nobel-List reference aesthetic — dark radial hero, single-row filter rail, compact control bar & crisp editorial rows */
.juf-ls .juf-ls-hero.juf-ls-hero--dark {
  background: radial-gradient(120% 80% at 85% 0%, #3B4A9C 0%, #1B2250 55%, #101434 100%) !important;
  color: #FFFFFF !important;
  border: 0 !important;
  border-radius: 18px !important;
  padding: 20px 18px 22px !important;
  box-shadow: 0 10px 28px -14px rgba(16, 20, 52, .55) !important;
}
.juf-ls .juf-ls-hero.juf-ls-hero--dark::before { display: none !important; }
.juf-ls[data-palette="teal"] .juf-ls-hero.juf-ls-hero--dark {
  background: radial-gradient(120% 80% at 85% 0%, #2F6372 0%, #0F2B34 55%, #09181D 100%) !important;
}
.juf-ls[data-palette="amber"] .juf-ls-hero.juf-ls-hero--dark {
  background: radial-gradient(120% 80% at 85% 0%, #8C5A1E 0%, #42290C 55%, #231506 100%) !important;
}
.juf-ls[data-palette="rose"] .juf-ls-hero.juf-ls-hero--dark {
  background: radial-gradient(120% 80% at 85% 0%, #8B2949 0%, #431223 55%, #230912 100%) !important;
}
.juf-ls[data-palette="slate"] .juf-ls-hero.juf-ls-hero--dark {
  background: radial-gradient(120% 80% at 85% 0%, #435066 0%, #1F2633 55%, #11151D 100%) !important;
}
.juf-ls .juf-ls-hero-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.juf-ls .juf-ls-hero-sp { flex: 1; }
.juf-ls .juf-ls-medal {
  width: 54px;
  height: 54px;
  flex: none;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .4));
}
.juf-ls .juf-ls-hero-icbtn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .12) !important;
  border: 1px solid rgba(255, 255, 255, .18) !important;
  color: #FFFFFF !important;
  cursor: pointer;
  padding: 0 !important;
  min-height: 42px !important;
}
.juf-ls .juf-ls-hero-icbtn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #FFFFFF !important;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.juf-ls .juf-ls-hero-icbtn.is-active {
  background: rgba(255, 255, 255, .26) !important;
}
.juf-ls .juf-ls-hero-icbtn.is-active svg {
  fill: #FFFFFF !important;
}
.juf-ls .juf-ls-hero--dark .juf-ls-title {
  color: #FFFFFF !important;
  font-size: clamp(24px, 4.5vw, 32px) !important;
  line-height: 1.3 !important;
  margin: 0 0 8px !important;
}
.juf-ls .juf-ls-hero--dark .juf-ls-intro {
  color: rgba(255, 255, 255, .84) !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
  margin: 0 0 16px !important;
}
.juf-ls .juf-ls-curator-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}
.juf-ls .juf-ls-curator-av {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #D9A441;
  color: #2A1C05;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 18px;
  flex: none;
}
.juf-ls .juf-ls-curator-col small {
  display: block;
  font-size: 11.5px;
  color: rgba(255, 255, 255, .68) !important;
  line-height: 1.25;
}
.juf-ls .juf-ls-curator-col b {
  font-size: 13.5px;
  font-weight: 600;
  color: #FFFFFF !important;
}
.juf-ls .juf-ls-hero--dark .juf-ls-method {
  margin-top: 14px;
  background: rgba(255, 255, 255, .09) !important;
  border: 1px solid rgba(255, 255, 255, .16) !important;
  border-radius: 12px;
  padding: 8px 12px;
}
.juf-ls .juf-ls-hero--dark .juf-ls-method summary {
  color: rgba(255, 255, 255, .92) !important;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}
.juf-ls .juf-ls-hero--dark .juf-ls-method p {
  color: rgba(255, 255, 255, .82) !important;
  margin: 6px 0 2px;
  font-size: 13.5px;
  line-height: 1.6;
}
.juf-ls .juf-ls-progress-card {
  margin: 14px 0 8px;
  padding: 14px 16px;
  background: var(--card, #FFFFFF);
  border: 1px solid var(--line, #D9D6D0);
  border-radius: 14px;
}
.juf-ls .juf-ls-controls-v2 {
  margin: 14px 0 8px;
}
.juf-ls .juf-ls-chips-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 0 10px;
}
.juf-ls .juf-ls-chips-rail::-webkit-scrollbar { display: none; }
.juf-ls .juf-ls-chips-rail .juf-ls-chip {
  flex: none;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1.5px solid var(--line, #D9D6D0);
  background: var(--card, #FFFFFF);
  color: var(--ink, #282E37) !important;
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
}
.juf-ls .juf-ls-chips-rail .juf-ls-chip.is-active {
  background: var(--ink, #282E37) !important;
  border-color: var(--ink, #282E37) !important;
  color: #FFFFFF !important;
  font-weight: 600;
}
.juf-ls .juf-ls-ctl-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0 12px;
  border-bottom: 1px solid var(--line, #D9D6D0);
}
.juf-ls .juf-ls-ctl-count {
  flex: 1;
  font-size: 14.5px;
  color: var(--ink, #282E37);
}
.juf-ls .juf-ls-sort-select {
  min-height: 38px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1.5px solid var(--line, #D9D6D0);
  background: var(--card, #FFFFFF);
  color: var(--ink, #282E37);
  font-size: 13.5px;
  max-width: 150px;
}
.juf-ls .juf-ls-views {
  display: inline-flex;
  gap: 2px;
}
.juf-ls .juf-ls-views .juf-ls-view-btn {
  width: 36px;
  height: 38px;
  min-width: 36px;
  min-height: 38px;
  padding: 0;
  border-radius: 9px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted, #5B6376);
  font-size: 18px;
  display: grid;
  place-items: center;
}
.juf-ls .juf-ls-views .juf-ls-view-btn.is-active {
  background: var(--tint, #E6E9F6) !important;
  color: var(--cta, var(--accent, #3B4256)) !important;
  border-color: rgba(51, 70, 168, .22) !important;
}
.juf-ls .juf-ls-items {
  gap: 0 !important;
}
.juf-ls[data-view="list"] .juf-ls-item {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line, #D9D6D0) !important;
  border-radius: 0 !important;
  padding: 16px 2px !important;
  box-shadow: none !important;
}
.juf-ls .juf-ls-cover-link,
.juf-ls .juf-ls-cover {
  border-radius: 8px !important;
  overflow: hidden !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

/* Build 660 Hotfix 20 (List Phase 1): Zero mobile horizontal overflow, Dark Mode active chip/button/time contrast, compact mobile item spacing */
.juf-ls {
  width: 100%;
  max-width: 1120px;
  box-sizing: border-box;
  overflow-x: clip;
}
.juf-ls *, .juf-ls *::before, .juf-ls *::after {
  box-sizing: border-box;
}
.juf-ls .juf-ls-hero,
.juf-ls .juf-ls-controls-v2,
.juf-ls .juf-ls-items,
.juf-ls .juf-ls-item,
.juf-ls .juf-ls-body {
  max-width: 100%;
  min-width: 0;
}
.juf-ls .juf-ls-item-title,
.juf-ls .juf-ls-item-title a {
  overflow-wrap: break-word;
  word-break: break-word;
}
.juf-ls .juf-ls-hero--dark .juf-ls-curator-col b,
.juf-ls .juf-ls-hero--dark .juf-ls-curator-col time {
  color: #FFFFFF !important;
}
.juf-ls .juf-ls-chips-rail .juf-ls-chip.is-active {
  background: #282E37 !important;
  border-color: #282E37 !important;
  color: #FFFFFF !important;
}
html[data-theme="dark"] .juf-ls .juf-ls-chips-rail .juf-ls-chip,
body.dark-mode .juf-ls .juf-ls-chips-rail .juf-ls-chip {
  background: #1D2029 !important;
  border-color: #2E3442 !important;
  color: #E9EAEF !important;
}
html[data-theme="dark"] .juf-ls .juf-ls-chips-rail .juf-ls-chip.is-active,
body.dark-mode .juf-ls .juf-ls-chips-rail .juf-ls-chip.is-active {
  background: #E9EAEF !important;
  border-color: #E9EAEF !important;
  color: #14161C !important;
}
html[data-theme="dark"] .juf-ls .juf-ls-btn,
html[data-theme="dark"] .juf-ls a.juf-ls-btn,
html[data-theme="dark"] .juf-ls a.juf-ls-btn:visited,
body.dark-mode .juf-ls .juf-ls-btn {
  background: var(--accent, #3B4256) !important;
  color: #FFFFFF !important;
}
html[data-theme="dark"] .juf-ls[data-palette="teal"] .juf-ls-btn,
html[data-theme="dark"] .juf-ls[data-palette="teal"] a.juf-ls-btn {
  background: #0F766E !important;
  color: #FFFFFF !important;
}
html[data-theme="dark"] .juf-ls .juf-ls-btn-sec,
html[data-theme="dark"] .juf-ls a.juf-ls-btn-sec,
html[data-theme="dark"] .juf-ls button.juf-ls-btn-sec,
body.dark-mode .juf-ls .juf-ls-btn-sec {
  background: #1D222D !important;
  border-color: rgba(255, 255, 255, .18) !important;
  color: #E9EAEF !important;
}
html[data-theme="dark"] .juf-ls .juf-ls-sort-select,
body.dark-mode .juf-ls .juf-ls-sort-select {
  background: #1D2029 !important;
  border-color: #2E3442 !important;
  color: #E9EAEF !important;
}
@media (max-width: 639px) {
  .juf-ls {
    padding: 12px 12px 88px !important;
  }
  .juf-ls[data-view="list"] .juf-ls-item {
    gap: 10px !important;
    padding: 14px 0 !important;
  }
  .juf-ls .juf-ls-rank {
    min-width: 28px !important;
    height: 28px !important;
    font-size: 12px !important;
    border-radius: 8px !important;
  }
  .juf-ls .juf-ls-cover {
    width: 64px !important;
    height: 96px !important;
  }
  .juf-ls .juf-ls-item-title {
    font-size: 16px !important;
    line-height: 1.35 !important;
  }
  .juf-ls .juf-ls-actions {
    gap: 6px !important;
  }
  .juf-ls .juf-ls-btn,
  .juf-ls .juf-ls-btn-sec {
    padding: 0 12px !important;
    min-height: 38px !important;
    font-size: 13.5px !important;
  }
}

/* Build 660 Hotfix 21: Clean single-line curator row on mobile & full-width container alignment */
.juf-ls .juf-ls-curator-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}
.juf-ls .juf-ls-curator-col {
  min-width: 0;
}
@media (max-width: 480px) {
  .juf-ls .juf-ls-curator-av {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }
  .juf-ls .juf-ls-curator-col small {
    font-size: 11px;
  }
  .juf-ls .juf-ls-curator-col b {
    font-size: 12.5px;
  }
}

/* Build 660 Hotfix 22: Complete Nobel-List reference layout for List, Grid & Compact views */
.juf-ls .juf-ls-rk {
  color: var(--ls-muted);
  font-weight: 700;
  margin-right: 4px;
}
.juf-ls .juf-ls-cover-box {
  position: relative;
  width: 84px;
  aspect-ratio: 2 / 3;
  flex: none;
  border-radius: 8px;
  overflow: hidden;
  background: var(--ls-surface-alt);
  box-shadow: 0 6px 16px -10px rgba(0, 0, 0, .5);
}
.juf-ls .juf-ls-cover-box--author {
  width: 72px;
  height: 72px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  box-shadow: none;
  background: transparent;
}
.juf-ls .juf-ls-cover-link {
  display: block;
  width: 100%;
  height: 100%;
}
.juf-ls .juf-ls-cover-box .juf-ls-cover {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 0 !important;
}
.juf-ls .juf-ls-cover-add-form {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  z-index: 3;
}
.juf-ls .juf-ls-cover-add {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 32px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px 0 8px 0;
  background: rgba(15, 20, 30, .72) !important;
  color: #FFFFFF !important;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;
  cursor: pointer;
}
.juf-ls .juf-ls-cover-add-form .juf-ls-cover-add {
  position: static;
}
.juf-ls .juf-ls-cover-add.is-active {
  background: var(--cta, var(--accent, #3B4256)) !important;
  color: #FFFFFF !important;
}
.juf-ls .juf-ls-ic {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.juf-ls .juf-ls-btn,
.juf-ls .juf-ls-btn-sec {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}
.juf-ls .juf-ls-year-pill {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 6px;
  background: #1F7A4C;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
}
.juf-ls .juf-ls-link-btn {
  background: transparent !important;
  border: 0 !important;
  padding: 6px 2px !important;
  color: var(--cta, var(--accent, #3B4256)) !important;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}
html[data-theme="dark"] .juf-ls .juf-ls-link-btn {
  color: #8C9BFF !important;
}
.juf-ls .juf-ls-item.is-completed .juf-ls-cover-box {
  opacity: .68;
}

/* GRID VIEW (matches 1000184092.jpg: 2-col mobile, 4-col desktop, clean covers + title + year pill) */
.juf-ls[data-view="grid"] .juf-ls-items {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 22px 14px !important;
  padding-top: 14px !important;
}
@media (min-width: 768px) {
  .juf-ls[data-view="grid"] .juf-ls-items {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 24px 18px !important;
  }
}
.juf-ls[data-view="grid"] .juf-ls-item {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.juf-ls[data-view="grid"] .juf-ls-cover-box {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 2 / 3 !important;
}
.juf-ls[data-view="grid"] .juf-ls-cover-box--author {
  width: 96px !important;
  height: 96px !important;
  aspect-ratio: 1 / 1 !important;
  margin: 0 auto;
}
.juf-ls[data-view="grid"] .juf-ls-reason,
.juf-ls[data-view="grid"] .juf-ls-note,
.juf-ls[data-view="grid"] .juf-ls-actions {
  display: none !important;
}
.juf-ls[data-view="grid"] .juf-ls-item-title {
  font-size: 14.5px !important;
  line-height: 1.4 !important;
  margin: 0 !important;
}
.juf-ls[data-view="grid"] .juf-ls-item-author {
  font-size: 12.5px !important;
  margin: 2px 0 4px !important;
}

/* COMPACT VIEW (matches 1000184094.jpg: ultra-clean text rows, no covers or heavy buttons) */
.juf-ls[data-view="compact"] .juf-ls-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 13px 2px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--ls-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
}
.juf-ls[data-view="compact"] .juf-ls-cover-box,
.juf-ls[data-view="compact"] .juf-ls-reason,
.juf-ls[data-view="compact"] .juf-ls-note,
.juf-ls[data-view="compact"] .juf-ls-btn,
.juf-ls[data-view="compact"] .juf-ls-btn-sec,
.juf-ls[data-view="compact"] .juf-ls-rate-select,
.juf-ls[data-view="compact"] .juf-ls-action-btn {
  display: none !important;
}
.juf-ls[data-view="compact"] .juf-ls-item-title {
  font-size: 15.5px !important;
  margin: 0 0 2px !important;
}

/* RELATED LISTS (matches 1000184088.jpg bottom clean list rows) */
.juf-ls .juf-ls-related-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}
.juf-ls .juf-ls-related-card {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 14px 2px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--ls-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
}
.juf-ls .juf-ls-related-card small::after {
  content: " ›";
  font-weight: 700;
}

/* Build 660 Hotfix 23: True IMDb 2-zone List Item layout, full-bleed mobile hero, cover badges & synopsis/credits */
@media (max-width: 639px) {
  .juf-ls .juf-ls-hero.juf-ls-hero--dark {
    margin: 0 -12px 14px !important;
    border-radius: 0 !important;
    padding: 18px 16px 20px !important;
  }
}
.juf-ls .juf-ls-progress-card {
  margin: 14px 0 10px;
  padding: 14px 16px;
  background: var(--ls-surface);
  border: 1px solid var(--ls-border);
  border-radius: 16px;
}
.juf-ls .juf-ls-progress-text {
  font-size: 15px;
  font-weight: 700;
  color: var(--ls-ink);
}
.juf-ls .juf-ls-progress-bar {
  height: 7px;
  border-radius: 99px;
  background: var(--ls-border);
  overflow: hidden;
  margin: 9px 0 6px;
}
.juf-ls .juf-ls-progress-fill {
  height: 100%;
  background: #C58A2B;
  border-radius: 99px;
}
.juf-ls .juf-ls-progress-hint {
  display: block;
  font-size: 12.5px;
  color: var(--ls-muted);
}
.juf-ls[data-view="list"] .juf-ls-item:not(.juf-ls-item--author) {
  display: grid !important;
  grid-template-columns: 88px minmax(0, 1fr) !important;
  gap: 8px 14px !important;
  align-items: start !important;
  padding: 18px 2px !important;
}
.juf-ls[data-view="list"] .juf-ls-cover-box {
  width: 88px !important;
}
.juf-ls .juf-ls-cov-badges {
  position: absolute;
  right: 5px;
  bottom: 5px;
  z-index: 3;
  display: flex;
  gap: 4px;
}
.juf-ls .juf-ls-cov-b {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(24, 28, 36, .88);
  color: #FFFFFF;
  display: grid;
  place-items: center;
}
.juf-ls .juf-ls-cov-b.is-prem {
  background: var(--accent, #3B4256);
}
.juf-ls .juf-ls-cov-b svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: #FFFFFF;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.juf-ls .juf-ls-item-foot {
  grid-column: 1 / -1;
  margin-top: 6px;
}
.juf-ls .juf-ls-sy {
  margin: 0 0 6px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ls-ink);
  opacity: .92;
}
.juf-ls .juf-ls-credits {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ls-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: center;
}
.juf-ls .juf-ls-credits b {
  color: var(--ls-ink);
  font-weight: 700;
}
.juf-ls .juf-ls-credits a {
  color: var(--cta, var(--accent, #3B4256));
  font-weight: 600;
  text-decoration: none;
}
html[data-theme="dark"] .juf-ls .juf-ls-credits a {
  color: #8C9BFF;
}
.juf-ls[data-view="grid"] .juf-ls-item-foot,
.juf-ls[data-view="compact"] .juf-ls-item-foot {
  display: none !important;
}
/* Build 660 Hotfix 24 (Phase 1 of 5): Hero Light/Dark Contrast Immunity (#juf-list-root specificity) & True Edge-to-Edge Full-Bleed Mobile Hero */
html body #juf-list-root.juf-ls .juf-ls-hero.juf-ls-hero--dark {
  color: #FFFFFF !important;
}
html body #juf-list-root.juf-ls .juf-ls-hero.juf-ls-hero--dark h1.juf-ls-title,
html body #juf-list-root.juf-ls .juf-ls-hero.juf-ls-hero--dark .juf-ls-title {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
  margin: 0 0 10px !important;
}
html body #juf-list-root.juf-ls .juf-ls-hero.juf-ls-hero--dark p.juf-ls-intro,
html body #juf-list-root.juf-ls .juf-ls-hero.juf-ls-hero--dark .juf-ls-intro,
html body #juf-list-root.juf-ls .juf-ls-hero.juf-ls-hero--dark p.juf-ls-subtitle,
html body #juf-list-root.juf-ls .juf-ls-hero.juf-ls-hero--dark .juf-ls-subtitle {
  color: rgba(255, 255, 255, 0.88) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.88) !important;
  margin: 0 0 16px !important;
}
html body #juf-list-root.juf-ls .juf-ls-hero.juf-ls-hero--dark .juf-ls-kicker {
  background: rgba(255, 255, 255, 0.16) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
}
html body #juf-list-root.juf-ls .juf-ls-hero.juf-ls-hero--dark .juf-ls-curator-col small {
  color: rgba(255, 255, 255, 0.72) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.72) !important;
}
html body #juf-list-root.juf-ls .juf-ls-hero.juf-ls-hero--dark .juf-ls-curator-col b,
html body #juf-list-root.juf-ls .juf-ls-hero.juf-ls-hero--dark .juf-ls-curator-col time {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}
html body #juf-list-root.juf-ls .juf-ls-hero.juf-ls-hero--dark .juf-ls-method summary {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}
html body #juf-list-root.juf-ls .juf-ls-hero.juf-ls-hero--dark .juf-ls-method p {
  color: rgba(255, 255, 255, 0.86) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.86) !important;
}
html body #juf-list-root.juf-ls .juf-ls-hero.juf-ls-hero--dark .juf-ls-hero-icbtn {
  color: #FFFFFF !important;
}
html body #juf-list-root.juf-ls .juf-ls-hero.juf-ls-hero--dark .juf-ls-hero-icbtn svg {
  stroke: #FFFFFF !important;
}
@media (max-width: 639px) {
  html body #juf-list-root.juf-ls .juf-ls-breadcrumb {
    margin-bottom: 10px !important;
  }
  html body #juf-list-root.juf-ls .juf-ls-hero.juf-ls-hero--dark {
    width: calc(100% + 24px) !important;
    max-width: none !important;
    margin: 0 -12px 14px !important;
    border-radius: 0 !important;
    padding: 20px 16px 22px !important;
  }
}
/* Build 660 Hotfix 25 (Phase 2 of 5): Exact Reference Book Card Typography, Rating Row, Buttons, Synopsis & Credits (6da8eecf-3233-4a28-96a3-71ee01a1afe4.jpg) */
html body #juf-list-root.juf-ls[data-view="list"] .juf-ls-item:not(.juf-ls-item--author) {
  display: grid !important;
  grid-template-columns: 92px minmax(0, 1fr) !important;
  gap: 4px 16px !important;
  align-items: start !important;
  padding: 20px 2px !important;
}
html body #juf-list-root.juf-ls[data-view="list"] .juf-ls-cover-box {
  width: 92px !important;
  border-radius: 10px !important;
  box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .55), 0 1px 3px rgba(0, 0, 0, .2) !important;
}
html body #juf-list-root.juf-ls .juf-ls-cover-add {
  width: 34px !important;
  height: 38px !important;
  border-radius: 10px 0 10px 0 !important;
  background: rgba(0, 0, 0, .62) !important;
  color: #FFFFFF !important;
  font-size: 20px !important;
}
html body #juf-list-root.juf-ls[data-view="list"] .juf-ls-item:not(.juf-ls-item--author) .juf-ls-item-author {
  display: none !important;
}
html body #juf-list-root.juf-ls .juf-ls-item-title {
  font-family: var(--font-heading-editorial, "Noto Serif Bengali", "Tiro Bangla", Georgia, serif) !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  line-height: 1.38 !important;
  margin: 0 0 5px !important;
  color: var(--ls-ink, #282E37) !important;
}
html body #juf-list-root.juf-ls .juf-ls-item-title a {
  color: var(--ls-ink, #282E37) !important;
  text-decoration: none !important;
}
html body #juf-list-root.juf-ls .juf-ls-rk {
  color: var(--ls-muted, #626A7B) !important;
  font-weight: 600 !important;
  margin-right: 4px !important;
}
html body #juf-list-root.juf-ls .juf-ls-item-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 6px 8px !important;
  margin: 2px 0 4px !important;
}
html body #juf-list-root.juf-ls .juf-ls-year-pill {
  display: inline-flex !important;
  align-items: center !important;
  padding: 2px 10px !important;
  border-radius: 7px !important;
  background: #1F7A4C !important;
  color: #FFFFFF !important;
  font-family: var(--font-ui-system, "Noto Sans Bengali", system-ui, sans-serif) !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
}
html body #juf-list-root.juf-ls .juf-ls-rt2 {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 4px 12px !important;
  margin: 2px 0 6px !important;
  min-height: 32px !important;
}
html body #juf-list-root.juf-ls .juf-ls-rt-avg {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  font-family: var(--font-ui-system, "Noto Sans Bengali", system-ui, sans-serif) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--ls-ink, #282E37) !important;
}
html body #juf-list-root.juf-ls .juf-ls-rt-star {
  color: #C58A2B !important;
}
html body #juf-list-root.juf-ls .juf-ls-rate-trigger {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  min-height: 32px !important;
  padding: 2px 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--accent, #3B4256) !important;
  font-family: var(--font-ui-system, "Noto Sans Bengali", system-ui, sans-serif) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  cursor: pointer !important;
}
html[data-theme="dark"] body #juf-list-root.juf-ls .juf-ls-rate-trigger,
body.dark-mode #juf-list-root.juf-ls .juf-ls-rate-trigger {
  color: #8C9BFF !important;
}
html body #juf-list-root.juf-ls .juf-ls-stars {
  display: inline-flex !important;
  align-items: center !important;
  gap: 2px !important;
}
html body #juf-list-root.juf-ls .juf-ls-stars[hidden] {
  display: none !important;
}
html body #juf-list-root.juf-ls .juf-ls-star-btn {
  width: 32px !important;
  height: 36px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #C58A2B !important;
  font-size: 24px !important;
  line-height: 1 !important;
  cursor: pointer !important;
}
html body #juf-list-root.juf-ls .juf-ls-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px !important;
  margin-top: 6px !important;
}
html body #juf-list-root.juf-ls .juf-ls-btn {
  min-height: 44px !important;
  padding: 0 18px !important;
  border-radius: 13px !important;
  background: var(--accent, #3B4256) !important;
  border: 0 !important;
  color: #FFFFFF !important;
  font-family: var(--font-ui-system, "Noto Sans Bengali", system-ui, sans-serif) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  gap: 7px !important;
  text-decoration: none !important;
}
html body #juf-list-root.juf-ls .juf-ls-btn-sec {
  min-height: 44px !important;
  padding: 0 18px !important;
  border-radius: 13px !important;
  background: var(--ls-surface, #FFFFFF) !important;
  border: 1.5px solid var(--ls-border, #D9D6D0) !important;
  color: var(--ls-ink, #282E37) !important;
  font-family: var(--font-ui-system, "Noto Sans Bengali", system-ui, sans-serif) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  gap: 7px !important;
  text-decoration: none !important;
}
html body #juf-list-root.juf-ls .juf-ls-ic {
  width: 18px !important;
  height: 18px !important;
}
html body #juf-list-root.juf-ls .juf-ls-item-foot {
  grid-column: 1 / -1 !important;
  margin-top: 10px !important;
}
html body #juf-list-root.juf-ls .juf-ls-sy {
  font-family: var(--font-reading, "Noto Serif Bengali", "SolaimanLipi", Georgia, serif) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.78 !important;
  color: var(--ls-ink, #282E37) !important;
  opacity: 1 !important;
  margin: 0 0 8px !important;
}
html body #juf-list-root.juf-ls .juf-ls-credits {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: 6px 18px !important;
  margin: 0 !important;
  font-family: var(--font-ui-system, "Noto Sans Bengali", system-ui, sans-serif) !important;
  font-size: 14.5px !important;
  line-height: 1.55 !important;
  color: var(--ls-ink, #282E37) !important;
}
html body #juf-list-root.juf-ls .juf-ls-credit-item {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 6px !important;
  white-space: nowrap !important;
}
html body #juf-list-root.juf-ls .juf-ls-credits b {
  font-weight: 700 !important;
  color: var(--ls-ink, #282E37) !important;
}
html body #juf-list-root.juf-ls .juf-ls-credits a {
  color: var(--accent, #3B4256) !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}
html[data-theme="dark"] body #juf-list-root.juf-ls .juf-ls-credits a,
body.dark-mode #juf-list-root.juf-ls .juf-ls-credits a {
  color: #8C9BFF !important;
}
html body #juf-list-root.juf-ls[data-view="grid"] .juf-ls-rt2,
html body #juf-list-root.juf-ls[data-view="compact"] .juf-ls-rt2 {
  display: none !important;
}
/* Build 660 Hotfix 26 (Phase 3 of 5): Elevated White Progress Card, Controls Bar + ↑/↓ Sort Direction Button & Crisp Secondary Listen Button */
html body #juf-list-root.juf-ls .juf-ls-progress-card {
  margin: 14px 0 12px !important;
  padding: 16px !important;
  background: #FFFFFF !important;
  border: 1px solid rgba(40, 46, 55, 0.08) !important;
  border-radius: 18px !important;
  box-shadow: 0 2px 10px -4px rgba(40, 46, 55, 0.08) !important;
}
html[data-theme="dark"] body #juf-list-root.juf-ls .juf-ls-progress-card,
body.dark-mode #juf-list-root.juf-ls .juf-ls-progress-card {
  background: #1D2029 !important;
  border-color: #2D313C !important;
  box-shadow: none !important;
}
html body #juf-list-root.juf-ls .juf-ls-progress-text {
  font-family: var(--font-ui-system, "Noto Sans Bengali", system-ui, sans-serif) !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  color: var(--ls-ink, #282E37) !important;
  margin-bottom: 0 !important;
}
html body #juf-list-root.juf-ls .juf-ls-progress-bar {
  height: 7px !important;
  border-radius: 99px !important;
  background: #E5E2DC !important;
  margin: 10px 0 8px !important;
  overflow: hidden !important;
}
html[data-theme="dark"] body #juf-list-root.juf-ls .juf-ls-progress-bar,
body.dark-mode #juf-list-root.juf-ls .juf-ls-progress-bar {
  background: #2D313C !important;
}
html body #juf-list-root.juf-ls .juf-ls-progress-fill {
  background: #C58A2B !important;
  border-radius: 99px !important;
}
html body #juf-list-root.juf-ls .juf-ls-progress-hint {
  font-family: var(--font-ui-system, "Noto Sans Bengali", system-ui, sans-serif) !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  color: var(--ls-muted, #626A7B) !important;
}
html body #juf-list-root.juf-ls .juf-ls-chips-rail {
  gap: 8px !important;
  padding: 6px 0 10px !important;
}
html body #juf-list-root.juf-ls .juf-ls-chips-rail .juf-ls-chip {
  min-height: 40px !important;
  padding: 0 16px !important;
  border-radius: 999px !important;
  border: 1.5px solid #D9D6D0 !important;
  background: #FFFFFF !important;
  color: #282E37 !important;
  font-family: var(--font-ui-system, "Noto Sans Bengali", system-ui, sans-serif) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}
html body #juf-list-root.juf-ls .juf-ls-chips-rail .juf-ls-chip.is-active {
  background: #282E37 !important;
  border-color: #282E37 !important;
  color: #FFFFFF !important;
  font-weight: 600 !important;
}
html[data-theme="dark"] body #juf-list-root.juf-ls .juf-ls-chips-rail .juf-ls-chip,
body.dark-mode #juf-list-root.juf-ls .juf-ls-chips-rail .juf-ls-chip {
  background: #1D2029 !important;
  border-color: #2E3442 !important;
  color: #E9EAEF !important;
}
html[data-theme="dark"] body #juf-list-root.juf-ls .juf-ls-chips-rail .juf-ls-chip.is-active,
body.dark-mode #juf-list-root.juf-ls .juf-ls-chips-rail .juf-ls-chip.is-active {
  background: #E9EAEF !important;
  border-color: #E9EAEF !important;
  color: #14161C !important;
}
html body #juf-list-root.juf-ls .juf-ls-ctl-bar {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 8px 0 12px !important;
  border-bottom: 1px solid var(--ls-border, #D9D6D0) !important;
}
html body #juf-list-root.juf-ls .juf-ls-ctl-count {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  font-family: var(--font-ui-system, "Noto Sans Bengali", system-ui, sans-serif) !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: var(--ls-ink, #282E37) !important;
  white-space: nowrap !important;
}
html body #juf-list-root.juf-ls .juf-ls-sort-select {
  min-height: 40px !important;
  height: 40px !important;
  padding: 0 10px !important;
  border-radius: 12px !important;
  border: 1.5px solid #D9D6D0 !important;
  background: #FFFFFF !important;
  color: #282E37 !important;
  font-family: var(--font-ui-system, "Noto Sans Bengali", system-ui, sans-serif) !important;
  font-size: 13.5px !important;
  max-width: 132px !important;
}
html[data-theme="dark"] body #juf-list-root.juf-ls .juf-ls-sort-select,
body.dark-mode #juf-list-root.juf-ls .juf-ls-sort-select {
  background: #1D2029 !important;
  border-color: #2E3442 !important;
  color: #E9EAEF !important;
}
html body #juf-list-root.juf-ls .juf-ls-dir-btn {
  width: 36px !important;
  height: 40px !important;
  min-width: 36px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 10px !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  color: var(--ls-ink, #282E37) !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  flex: none !important;
}
html body #juf-list-root.juf-ls .juf-ls-dir-btn:hover {
  background: rgba(51, 70, 168, 0.08) !important;
}
html body #juf-list-root.juf-ls .juf-ls-views .juf-ls-view-btn {
  width: 34px !important;
  height: 40px !important;
  min-width: 34px !important;
  min-height: 40px !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: var(--ls-muted, #626A7B) !important;
  border-color: transparent !important;
}
html body #juf-list-root.juf-ls .juf-ls-views .juf-ls-view-btn.is-active {
  background: #E6E9F6 !important;
  color: var(--accent, #3B4256) !important;
  border-color: rgba(51, 70, 168, 0.2) !important;
}
html[data-theme="dark"] body #juf-list-root.juf-ls .juf-ls-views .juf-ls-view-btn.is-active,
body.dark-mode #juf-list-root.juf-ls .juf-ls-views .juf-ls-view-btn.is-active {
  background: #222847 !important;
  color: #8C9BFF !important;
  border-color: rgba(140, 155, 255, 0.28) !important;
}
html:not([data-theme="dark"]) body #juf-list-root.juf-ls .juf-ls-btn-sec {
  background: #FFFFFF !important;
  border-color: #D9D6D0 !important;
  color: #282E37 !important;
}
/* Build 660 Hotfix 27 (Controls Single-Row & No Cover Fade) */
html body #juf-list-root.juf-ls .juf-ls-item.is-completed .juf-ls-cover-box,
html body #juf-list-root.juf-ls .juf-ls-item.is-completed .juf-ls-cover-link {
  opacity: 1 !important;
}
html body #juf-list-root.juf-ls .juf-ls-ctl-bar {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 4px !important;
}
html body #juf-list-root.juf-ls .juf-ls-ctl-count {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  font-size: 14px !important;
}
html body #juf-list-root.juf-ls .juf-ls-sort-select {
  flex: 0 1 auto !important;
  width: auto !important;
  max-width: 118px !important;
  padding: 0 8px !important;
  font-size: 13px !important;
}
html body #juf-list-root.juf-ls .juf-ls-dir-btn {
  width: 30px !important;
  min-width: 30px !important;
  height: 38px !important;
  flex: none !important;
}
html body #juf-list-root.juf-ls .juf-ls-views {
  display: inline-flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 2px !important;
  flex: none !important;
}
html body #juf-list-root.juf-ls .juf-ls-views .juf-ls-view-btn {
  width: 32px !important;
  min-width: 32px !important;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 !important;
  flex: none !important;
}
/* Build 660 Hotfix 28 (Phase 4 of 5): Reference-Matched Grid View (1000184092.jpg) & Compact View (3273549c.jpeg) */
html body #juf-list-root.juf-ls[data-view="grid"] .juf-ls-items {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px 14px !important;
  padding-top: 16px !important;
}
@media (min-width: 768px) {
  html body #juf-list-root.juf-ls[data-view="grid"] .juf-ls-items {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 26px 18px !important;
  }
}
html body #juf-list-root.juf-ls[data-view="grid"] .juf-ls-item {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
html body #juf-list-root.juf-ls[data-view="grid"] .juf-ls-cover-box {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 2 / 3 !important;
  border-radius: 10px !important;
  box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .5), 0 1px 3px rgba(0, 0, 0, .18) !important;
}
html body #juf-list-root.juf-ls[data-view="grid"] .juf-ls-cover-box--author {
  width: 96px !important;
  height: 96px !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 50% !important;
  margin: 0 auto !important;
  box-shadow: none !important;
}
html body #juf-list-root.juf-ls[data-view="grid"] .juf-ls-body {
  margin-top: 10px !important;
}
html body #juf-list-root.juf-ls[data-view="grid"] .juf-ls-item:not(.juf-ls-item--author) .juf-ls-item-author,
html body #juf-list-root.juf-ls[data-view="grid"] .juf-ls-rt2,
html body #juf-list-root.juf-ls[data-view="grid"] .juf-ls-actions,
html body #juf-list-root.juf-ls[data-view="grid"] .juf-ls-item-foot,
html body #juf-list-root.juf-ls[data-view="grid"] .juf-ls-reason {
  display: none !important;
}
html body #juf-list-root.juf-ls[data-view="grid"] .juf-ls-item-title {
  font-size: 15.5px !important;
  line-height: 1.44 !important;
  margin: 0 0 6px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}
html body #juf-list-root.juf-ls[data-view="grid"] .juf-ls-item--author .juf-ls-body {
  text-align: center !important;
}
html body #juf-list-root.juf-ls[data-view="grid"] .juf-ls-item--author .juf-ls-item-author {
  display: block !important;
  font-size: 12.5px !important;
  color: var(--ls-muted, #626A7B) !important;
  margin: 2px 0 0 !important;
}

/* COMPACT VIEW (matches 3273549c.jpeg: clean text rows — rank + title, author, green year pill) */
html body #juf-list-root.juf-ls[data-view="compact"] .juf-ls-items {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}
html body #juf-list-root.juf-ls[data-view="compact"] .juf-ls-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0 !important;
  padding: 14px 2px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--ls-border, #D9D6D0) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
html body #juf-list-root.juf-ls[data-view="compact"] .juf-ls-cover-box,
html body #juf-list-root.juf-ls[data-view="compact"] .juf-ls-rt2,
html body #juf-list-root.juf-ls[data-view="compact"] .juf-ls-actions,
html body #juf-list-root.juf-ls[data-view="compact"] .juf-ls-item-foot,
html body #juf-list-root.juf-ls[data-view="compact"] .juf-ls-reason {
  display: none !important;
}
html body #juf-list-root.juf-ls[data-view="compact"] .juf-ls-body {
  width: 100% !important;
}
html body #juf-list-root.juf-ls[data-view="compact"] .juf-ls-item-title {
  font-size: 16.5px !important;
  line-height: 1.4 !important;
  margin: 0 0 3px !important;
}
html body #juf-list-root.juf-ls[data-view="compact"] .juf-ls-item-author {
  display: block !important;
  font-family: var(--font-ui-system, "Noto Sans Bengali", system-ui, sans-serif) !important;
  font-size: 13.5px !important;
  line-height: 1.4 !important;
  color: var(--ls-muted, #626A7B) !important;
  margin: 0 0 6px !important;
}
html body #juf-list-root.juf-ls[data-view="compact"] .juf-ls-item-author a {
  color: var(--ls-muted, #626A7B) !important;
  text-decoration: none !important;
}
html body #juf-list-root.juf-ls[data-view="compact"] .juf-ls-item-meta {
  margin: 0 !important;
}
/* Build 660 Hotfix 29 (Phase 5 of 5 — Final QA): True 0px Full-Bleed Mobile Hero, Related Lists & Full Dark/Desktop Polish */
@media (max-width: 639px) {
  html body.list-detail-page .site-main,
  html body.list-detail-page main.site-main.container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  html body.list-detail-page #juf-list-root.juf-ls {
    padding: 0 0 88px !important;
    overflow-x: clip !important;
  }
  html body.list-detail-page #juf-list-root.juf-ls .juf-ls-preview-banner {
    margin: 10px 14px !important;
  }
  html body.list-detail-page #juf-list-root.juf-ls .juf-ls-breadcrumb {
    padding: 12px 16px 10px !important;
    margin: 0 !important;
  }
  html body.list-detail-page #juf-list-root.juf-ls .juf-ls-hero.juf-ls-hero--dark {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 12px !important;
    border-radius: 0 !important;
    padding: 20px 16px 22px !important;
    box-shadow: none !important;
  }
  html body.list-detail-page #juf-list-root.juf-ls .juf-ls-controls-v2,
  html body.list-detail-page #juf-list-root.juf-ls .juf-ls-items,
  html body.list-detail-page #juf-list-root.juf-ls .juf-ls-empty,
  html body.list-detail-page #juf-list-root.juf-ls .juf-ls-pager,
  html body.list-detail-page #juf-list-root.juf-ls .juf-ls-related {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
}
@media (min-width: 768px) {
  html body.list-detail-page #juf-list-root.juf-ls .juf-ls-hero.juf-ls-hero--dark {
    padding: 28px 28px 26px !important;
    border-radius: 20px !important;
  }
}
/* Related Lists editorial polish (Light & Dark) */
html body #juf-list-root.juf-ls .juf-ls-related {
  margin-top: 28px !important;
}
html body #juf-list-root.juf-ls .juf-ls-related h2 {
  font-family: var(--font-heading-editorial, "Noto Serif Bengali", "Tiro Bangla", Georgia, serif) !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  color: var(--ls-ink, #282E37) !important;
  margin: 0 0 10px !important;
}
html body #juf-list-root.juf-ls .juf-ls-related-card {
  color: var(--ls-ink, #282E37) !important;
  text-decoration: none !important;
}
html body #juf-list-root.juf-ls .juf-ls-related-card strong,
html body #juf-list-root.juf-ls .juf-ls-related-card span {
  font-family: var(--font-heading-editorial, "Noto Serif Bengali", "Tiro Bangla", Georgia, serif) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--ls-ink, #282E37) !important;
}
html body #juf-list-root.juf-ls .juf-ls-related-card small {
  font-family: var(--font-ui-system, "Noto Sans Bengali", system-ui, sans-serif) !important;
  font-size: 13.5px !important;
  color: var(--ls-muted, #626A7B) !important;
  white-space: nowrap !important;
}
/* Dark Mode completeness pass */
html[data-theme="dark"] body #juf-list-root.juf-ls .juf-ls-item-title,
html[data-theme="dark"] body #juf-list-root.juf-ls .juf-ls-item-title a,
html[data-theme="dark"] body #juf-list-root.juf-ls .juf-ls-sy,
html[data-theme="dark"] body #juf-list-root.juf-ls .juf-ls-credits,
html[data-theme="dark"] body #juf-list-root.juf-ls .juf-ls-credits b,
html[data-theme="dark"] body #juf-list-root.juf-ls .juf-ls-ctl-count,
html[data-theme="dark"] body #juf-list-root.juf-ls .juf-ls-dir-btn,
html[data-theme="dark"] body #juf-list-root.juf-ls .juf-ls-related h2,
html[data-theme="dark"] body #juf-list-root.juf-ls .juf-ls-related-card strong,
html[data-theme="dark"] body #juf-list-root.juf-ls .juf-ls-related-card span,
body.dark-mode #juf-list-root.juf-ls .juf-ls-item-title,
body.dark-mode #juf-list-root.juf-ls .juf-ls-item-title a,
body.dark-mode #juf-list-root.juf-ls .juf-ls-sy {
  color: #E9EAEF !important;
}
html[data-theme="dark"] body #juf-list-root.juf-ls .juf-ls-rk,
html[data-theme="dark"] body #juf-list-root.juf-ls .juf-ls-related-card small,
html[data-theme="dark"] body #juf-list-root.juf-ls .juf-ls-breadcrumb,
html[data-theme="dark"] body #juf-list-root.juf-ls .juf-ls-breadcrumb a,
body.dark-mode #juf-list-root.juf-ls .juf-ls-rk {
  color: #9CA3B4 !important;
}
/* Build 660 Hotfix 30 (Crisp Book Cover Corners): Subtle realistic book corners instead of overly rounded 10px corners */
html body #juf-list-root.juf-ls .juf-ls-cover-box:not(.juf-ls-cover-box--author),
html body #juf-list-root.juf-ls[data-view="list"] .juf-ls-cover-box:not(.juf-ls-cover-box--author),
html body #juf-list-root.juf-ls[data-view="grid"] .juf-ls-cover-box:not(.juf-ls-cover-box--author) {
  border-radius: 3px 6px 6px 3px !important;
}
html body #juf-list-root.juf-ls .juf-ls-cover-box:not(.juf-ls-cover-box--author) .juf-ls-cover-link {
  border-radius: 3px 6px 6px 3px !important;
}
html body #juf-list-root.juf-ls .juf-ls-cover-add {
  border-radius: 3px 0 6px 0 !important;
}
/* Build 660 Hotfix 31 (True Bold Noto Serif Bengali for Book Titles & Editorial Typography — matches 46e54d92.jpeg) */
html body #juf-list-root.juf-ls .juf-ls-hero.juf-ls-hero--dark h1.juf-ls-title,
html body #juf-list-root.juf-ls .juf-ls-hero.juf-ls-hero--dark .juf-ls-title {
  font-family: "Noto Serif Bengali", "Noto Sans Bengali", Georgia, serif !important;
  font-weight: 800 !important;
}
html body #juf-list-root.juf-ls .juf-ls-item-title,
html body #juf-list-root.juf-ls .juf-ls-item-title a {
  font-family: "Noto Serif Bengali", "Noto Sans Bengali", Georgia, serif !important;
  font-weight: 700 !important;
  font-synthesis-weight: auto !important;
}
html body #juf-list-root.juf-ls .juf-ls-rk {
  font-family: "Noto Serif Bengali", "Noto Sans Bengali", Georgia, serif !important;
  font-weight: 600 !important;
}
html body #juf-list-root.juf-ls .juf-ls-sy {
  font-family: "Noto Serif Bengali", "Noto Sans Bengali", Georgia, serif !important;
  font-weight: 400 !important;
}
html body #juf-list-root.juf-ls .juf-ls-related h2,
html body #juf-list-root.juf-ls .juf-ls-related-card strong,
html body #juf-list-root.juf-ls .juf-ls-related-card span {
  font-family: "Noto Serif Bengali", "Noto Sans Bengali", Georgia, serif !important;
  font-weight: 700 !important;
}
/* Build 660 Hotfix 32 (Reference Royal Indigo Hero Color & Clean Floating Hero Icons — matches books-nobel-list (1).html line 103) */
html body #juf-list-root.juf-ls .juf-ls-hero.juf-ls-hero--dark,
html body #juf-list-root.juf-ls[data-palette="teal"] .juf-ls-hero.juf-ls-hero--dark,
html body #juf-list-root.juf-ls[data-palette="indigo"] .juf-ls-hero.juf-ls-hero--dark {
  background: radial-gradient(120% 80% at 85% 0%, #3B4A9C 0%, #1B2250 55%, #101434 100%) !important;
}
html body #juf-list-root.juf-ls[data-palette="amber"] .juf-ls-hero.juf-ls-hero--dark {
  background: radial-gradient(120% 80% at 85% 0%, #8C5A1E 0%, #42290C 55%, #231506 100%) !important;
}
html body #juf-list-root.juf-ls[data-palette="rose"] .juf-ls-hero.juf-ls-hero--dark {
  background: radial-gradient(120% 80% at 85% 0%, #8B2949 0%, #431223 55%, #230912 100%) !important;
}
html body #juf-list-root.juf-ls[data-palette="slate"] .juf-ls-hero.juf-ls-hero--dark {
  background: radial-gradient(120% 80% at 85% 0%, #435066 0%, #1F2633 55%, #11151D 100%) !important;
}
html body #juf-list-root.juf-ls .juf-ls-hero.juf-ls-hero--dark .juf-ls-hero-icbtn {
  width: 44px !important;
  height: 44px !important;
  border-radius: 14px !important;
  background: transparent !important;
  border: 0 !important;
  color: #FFFFFF !important;
}
html body #juf-list-root.juf-ls .juf-ls-hero.juf-ls-hero--dark .juf-ls-hero-icbtn:hover,
html body #juf-list-root.juf-ls .juf-ls-hero.juf-ls-hero--dark .juf-ls-hero-icbtn.is-active {
  background: rgba(255, 255, 255, 0.22) !important;
}
html body #juf-list-root.juf-ls .juf-ls-hero.juf-ls-hero--dark .juf-ls-hero-icbtn svg {
  width: 22px !important;
  height: 22px !important;
}
/* Build 660 Hotfix 38 (Senior-Friendly Readability & Comfortable Tap Targets on List Page) */
html body #juf-list-root.juf-ls .juf-ls-sy {
  font-size: 16.5px !important;
  line-height: 1.82 !important;
}
html body #juf-list-root.juf-ls .juf-ls-rate-trigger {
  min-height: 40px !important;
  font-size: 15.5px !important;
}
html body #juf-list-root.juf-ls .juf-ls-credits {
  font-size: 15px !important;
}
html:not([data-theme="dark"]) body #juf-list-root.juf-ls .juf-ls-breadcrumb,
html:not([data-theme="dark"]) body #juf-list-root.juf-ls .juf-ls-breadcrumb a,
html:not([data-theme="dark"]) body #juf-list-root.juf-ls .juf-ls-rk {
  color: #4E5668 !important;
}
/* Build 660 Hotfix 42: IMDb-style Crisp 10px Mobile Side Gutters & 10px Grid Column Gap */
@media (max-width: 639px) {
  html body.list-detail-page #juf-list-root.juf-ls .juf-ls-preview-banner {
    margin: 10px 10px !important;
  }
  html body.list-detail-page #juf-list-root.juf-ls .juf-ls-breadcrumb {
    padding: 10px 10px 8px !important;
  }
  html body.list-detail-page #juf-list-root.juf-ls .juf-ls-controls-v2,
  html body.list-detail-page #juf-list-root.juf-ls .juf-ls-items,
  html body.list-detail-page #juf-list-root.juf-ls .juf-ls-empty,
  html body.list-detail-page #juf-list-root.juf-ls .juf-ls-pager,
  html body.list-detail-page #juf-list-root.juf-ls .juf-ls-related {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  html body #juf-list-root.juf-ls[data-view="grid"] .juf-ls-items {
    gap: 18px 10px !important;
  }
}
@media (max-width: 768px) {
  html body #juf-lists-index.juf-ls {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* Build 660 Hotfix 44: Exact Home Page Literary Book Card Typography Parity on Grid View */
html body #juf-list-root.juf-ls[data-view="grid"] .juf-ls-item-title {
  font-family: var(--font-display-literary, 'Tiro Bangla', 'SolaimanLipi', 'Kalpurush', serif) !important;
  font-size: 14.5px !important;
  line-height: 1.32 !important;
  font-weight: 600 !important;
  font-synthesis: none !important;
  -webkit-text-stroke: 0.22px currentColor !important;
  text-shadow: 0 0 0.12px currentColor !important;
}
html[data-theme="dark"] body #juf-list-root.juf-ls[data-view="grid"] .juf-ls-item-title {
  -webkit-text-stroke: 0.18px currentColor !important;
  text-shadow: 0 0 0.1px currentColor !important;
}

/* V148 Site-Wide Audit Fix: Full PDF Paper theme for list.php + toast above mobile bottom nav */
html[data-theme="pdf"] .juf-ls,
body[data-pdf-mode="pdf"] .juf-ls {
    --ls-bg: #E6DDD0;
    --ls-surface: #EFE8DD;
    --ls-surface-alt: #E2D7C7;
    --ls-ink: #241E17;
    --ls-muted: #5C5042;
    --ls-border: rgba(108, 92, 72, 0.24);
    --ls-accent: #382F24;
    background-color: #E6DDD0;
    color: #241E17;
}
.juf-ls .juf-ls-toast { z-index: 10030 !important; bottom: calc(78px + env(safe-area-inset-bottom, 0px)) !important; }


/* ==========================================================================
   List & Grid Author Portraits — Crisp, Uniform & Never Warped
   ========================================================================== */
.juf-ls .juf-ls-cover-box--author {
  width: 78px !important;
  height: 78px !important;
  flex: none !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  padding: 0 !important;
  background: var(--ls-surface-alt, #EDEBE6) !important;
  border: 2px solid var(--ls-border, #DEDAD2) !important;
  box-shadow: 0 3px 10px -4px rgba(40, 46, 55, 0.16) !important;
}

.juf-ls .juf-ls-avatar-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.juf-ls .juf-ls-cover-box--author .juf-ls-avatar {
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  border-radius: 0 !important;
  object-fit: cover !important;
  object-position: center top !important;
  display: block !important;
}

.juf-ls .juf-ls-cover-box--author .juf-ls-avatar--mono {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 30px !important;
  font-weight: 700 !important;
  background: linear-gradient(145deg, #3B4256, #525B73) !important;
  color: #F6F5F2 !important;
}

html[data-theme="pdf"] .juf-ls .juf-ls-cover-box--author .juf-ls-avatar--mono {
  background: linear-gradient(145deg, #4B4332, #6A5E4B) !important;
  color: #F1E9D8 !important;
}

html[data-theme="dark"] .juf-ls .juf-ls-cover-box--author .juf-ls-avatar--mono {
  background: linear-gradient(145deg, #3A4254, #2C323F) !important;
  color: #ECE8E1 !important;
}

/* Grid View: Clean full-width 1:1 rounded portrait frame + uniform card */
.juf-ls[data-view="grid"] .juf-ls-item--author {
  background: var(--ls-surface, #FFFFFF) !important;
  border: 1px solid var(--ls-border, #DEDAD2) !important;
  border-radius: 16px !important;
  padding: 10px 10px 14px !important;
  box-shadow: 0 3px 12px -6px rgba(40, 46, 55, 0.14) !important;
  align-items: stretch !important;
  text-align: center !important;
}

.juf-ls[data-view="grid"] .juf-ls-cover-box--author {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 12px !important;
  border: 1px solid var(--ls-border, #DEDAD2) !important;
  margin: 0 !important;
  box-shadow: none !important;
}

.juf-ls[data-view="grid"] .juf-ls-cover-box--author .juf-ls-avatar--mono {
  font-size: 42px !important;
}

.juf-ls[data-view="grid"] .juf-ls-item--author .juf-ls-body {
  padding: 4px 2px 0;
  text-align: center;
}

.juf-ls[data-view="grid"] .juf-ls-item--author .juf-ls-author-badge {
  display: none !important;
}


/* Calm Editorial List Hero Harmony (replaces harsh cobalt-navy #1e2e7a) */
.juf-ls .juf-ls-hero.juf-ls-hero--dark {
  background:
    radial-gradient(110% 130% at 88% 0%, rgba(138, 69, 19, 0.22), transparent 55%),
    linear-gradient(155deg, #2D3342 0%, #1E222B 100%) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

html[data-theme="pdf"] .juf-ls .juf-ls-hero.juf-ls-hero--dark {
  background:
    radial-gradient(110% 130% at 88% 0%, rgba(186, 146, 86, 0.22), transparent 55%),
    linear-gradient(155deg, #433A2C 0%, #2C261D 100%) !important;
}


/* ==========================================================================
   Author List Items — Tall Transparent Cutout Portraits + Box-Free Layout
   Uses #juf-list-root ID specificity to cleanly beat legacy list.css rules.
   ========================================================================== */
html body #juf-list-root.juf-ls:not([data-view="grid"]):not([data-view="compact"]) .juf-ls-items {
  gap: 0 !important;
}

html body #juf-list-root.juf-ls:not([data-view="grid"]):not([data-view="compact"]) .juf-ls-item.juf-ls-item--author {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--ls-border, #DEDAD2) !important;
  border-radius: 0 !important;
  padding: 18px 2px !important;
  gap: 14px !important;
  box-shadow: none !important;
  align-items: stretch !important;
}

html body #juf-list-root.juf-ls:not([data-view="grid"]):not([data-view="compact"]) .juf-ls-item.juf-ls-item--author:last-child {
  border-bottom: 0 !important;
}

/* Tall Transparent Portrait Box (List View: 96x140px matching book-list height) */
html body #juf-list-root.juf-ls[data-view="list"] .juf-ls-cover-box--author,
html body #juf-list-root.juf-ls:not([data-view="grid"]):not([data-view="compact"]) .juf-ls-cover-box--author {
  width: 96px !important;
  height: 140px !important;
  min-height: 140px !important;
  aspect-ratio: auto !important;
  flex: none !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  overflow: visible !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

html body #juf-list-root.juf-ls[data-view="list"] .juf-ls-cover-box--author .juf-ls-avatar-link,
html body #juf-list-root.juf-ls:not([data-view="grid"]):not([data-view="compact"]) .juf-ls-cover-box--author .juf-ls-avatar-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  background: transparent !important;
}

html body #juf-list-root.juf-ls .juf-ls-cover-box--author img.juf-ls-avatar {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center bottom !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: drop-shadow(0 6px 12px rgba(40, 46, 55, 0.14));
}

html[data-theme="dark"] body #juf-list-root.juf-ls .juf-ls-cover-box--author img.juf-ls-avatar {
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45));
}

/* Grid View: Box-Free Transparent Item + Tall 3:4 Transparent Portrait */
html body #juf-list-root.juf-ls[data-view="grid"] .juf-ls-item.juf-ls-item--author {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 4px 2px 10px !important;
  box-shadow: none !important;
  align-items: center !important;
  text-align: center !important;
}

html body #juf-list-root.juf-ls[data-view="grid"] .juf-ls-cover-box--author {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 3 / 4 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 auto 6px !important;
  overflow: visible !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
}

html body #juf-list-root.juf-ls[data-view="grid"] .juf-ls-cover-box--author .juf-ls-avatar-link {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
}

/* Clean Circular Monogram Fallback (only when author has no uploaded portrait) */
html body #juf-list-root.juf-ls .juf-ls-cover-box--author .juf-ls-avatar--mono {
  width: 82px !important;
  height: 82px !important;
  border-radius: 50% !important;
  margin: auto !important;
  font-size: 30px !important;
  box-shadow: 0 4px 12px -4px rgba(40, 46, 55, 0.22) !important;
}

html body #juf-list-root.juf-ls[data-view="grid"] .juf-ls-cover-box--author .juf-ls-avatar--mono {
  width: 96px !important;
  height: 96px !important;
  font-size: 36px !important;
}

/* Rank Numeral + Clean 2-Line Bio + Sleek 36px Soft-Tint Read Biography Pill */
html body #juf-list-root.juf-ls .juf-ls-item--author .juf-ls-rk {
  color: #8A4513 !important;
  font-weight: 700 !important;
  font-variant-numeric: tabular-nums;
  margin-right: 4px;
}

html[data-theme="dark"] body #juf-list-root.juf-ls .juf-ls-item--author .juf-ls-rk {
  color: #E0A56F !important;
}

html body #juf-list-root.juf-ls .juf-ls-item--author .juf-ls-reason {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  margin: 0 0 10px !important;
  font-size: 13.5px !important;
  line-height: 1.55 !important;
}

html body #juf-list-root.juf-ls .juf-ls-item--author .juf-ls-btn.juf-ls-btn--primary {
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 15px !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  background: #F1F0EC !important;
  color: #282E37 !important;
  border: 1px solid #DBD6CC !important;
  box-shadow: 0 1px 2px rgba(40, 46, 55, 0.05) !important;
}

html[data-theme="pdf"] body #juf-list-root.juf-ls .juf-ls-item--author .juf-ls-btn.juf-ls-btn--primary {
  background: #ECE2CD !important;
  color: #3A3226 !important;
  border-color: #D2C3A3 !important;
}

html[data-theme="dark"] body #juf-list-root.juf-ls .juf-ls-item--author .juf-ls-btn.juf-ls-btn--primary {
  background: #353A44 !important;
  color: #ECE8E1 !important;
  border-color: #464C58 !important;
}


/* Author Quick Facts Pills (Lifespan, Birthplace, Books Count) */
html body #juf-list-root.juf-ls .juf-ls-author-facts {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 4px 0 8px !important;
}

html body #juf-list-root.juf-ls .juf-ls-fact-pill {
  display: inline-flex !important;
  align-items: center !important;
  padding: 2px 9px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  background: #EDEBE6 !important;
  color: #4B5563 !important;
  border: 1px solid #DEDAD2 !important;
}

html body #juf-list-root.juf-ls .juf-ls-fact-pill.is-books {
  background: color-mix(in srgb, #8A4513 10%, #F6F5F2) !important;
  color: #8A4513 !important;
  border-color: color-mix(in srgb, #8A4513 24%, #DEDAD2) !important;
  font-weight: 600 !important;
}

html[data-theme="pdf"] body #juf-list-root.juf-ls .juf-ls-fact-pill {
  background: #E8DEC8 !important;
  color: #5C5140 !important;
  border-color: #D8CBB0 !important;
}

html[data-theme="dark"] body #juf-list-root.juf-ls .juf-ls-fact-pill {
  background: #2C3037 !important;
  color: #B4B9C2 !important;
  border-color: #3A3F47 !important;
}

html[data-theme="dark"] body #juf-list-root.juf-ls .juf-ls-fact-pill.is-books {
  background: rgba(224, 165, 111, 0.14) !important;
  color: #E0A56F !important;
  border-color: rgba(224, 165, 111, 0.28) !important;
}

html body #juf-list-root.juf-ls[data-view="grid"] .juf-ls-author-facts {
  justify-content: center !important;
  margin: 4px 0 0 !important;
}

html body #juf-list-root.juf-ls[data-view="grid"] .juf-ls-fact-pill:not(.is-books) {
  display: none !important;
}


/* ==========================================================================
   Author Portraits — Exact Book-Cover 2:3 Proportions (Editorial Parity)
   List View: 92x138px (2:3) transparent | Grid View: 100% width 2:3 transparent
   ========================================================================== */
html body #juf-list-root.juf-ls[data-view="list"] .juf-ls-cover-box--author,
html body #juf-list-root.juf-ls:not([data-view="grid"]):not([data-view="compact"]) .juf-ls-cover-box--author {
  width: 92px !important;
  height: 138px !important;
  min-height: 138px !important;
  aspect-ratio: 2 / 3 !important;
  border-radius: 10px !important;
}

html body #juf-list-root.juf-ls[data-view="grid"] .juf-ls-item.juf-ls-item--author {
  align-items: stretch !important;
  text-align: left !important;
  padding: 0 !important;
}

html body #juf-list-root.juf-ls[data-view="grid"] .juf-ls-cover-box--author {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 2 / 3 !important;
  border-radius: 10px !important;
  margin: 0 !important;
}

html body #juf-list-root.juf-ls[data-view="grid"] .juf-ls-item--author .juf-ls-body {
  text-align: left !important;
  padding: 0 !important;
}

html body #juf-list-root.juf-ls[data-view="grid"] .juf-ls-author-facts {
  justify-content: flex-start !important;
}

/* Editorial 2:3 Monogram Plaque (when no portrait uploaded) matches Book Cover silhouette */
html body #juf-list-root.juf-ls .juf-ls-cover-box--author .juf-ls-avatar--mono {
  width: 100% !important;
  height: 100% !important;
  border-radius: 10px !important;
  margin: 0 !important;
  font-size: 36px !important;
  box-shadow: 0 6px 16px -8px rgba(40, 46, 55, 0.28) !important;
}

html body #juf-list-root.juf-ls[data-view="grid"] .juf-ls-cover-box--author .juf-ls-avatar--mono {
  width: 100% !important;
  height: 100% !important;
  font-size: 48px !important;
}


/* ==========================================================================
   IMDb Curated List Arrangement for Author Items (List / Grid / Compact)
   Top: 2:3 Transparent Portrait + Title/Info + Inline Quick Facts
   Bottom: Full-Width Editorial Synopsis (Zero Cramped Narrow Column)
   ========================================================================== */
html body #juf-list-root.juf-ls:not([data-view="grid"]):not([data-view="compact"]) .juf-ls-item.juf-ls-imdb-item {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  padding: 18px 2px !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--ls-border, #DEDAD2) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html body #juf-list-root.juf-ls:not([data-view="grid"]):not([data-view="compact"]) .juf-ls-imdb-head {
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
  width: 100% !important;
}

html body #juf-list-root.juf-ls[data-view="list"] .juf-ls-imdb-item .juf-ls-cover-box--author,
html body #juf-list-root.juf-ls:not([data-view="grid"]):not([data-view="compact"]) .juf-ls-imdb-item .juf-ls-cover-box--author {
  width: 76px !important;
  height: 114px !important;
  min-height: 114px !important;
  aspect-ratio: 2 / 3 !important;
  flex: none !important;
}

html body #juf-list-root.juf-ls .juf-ls-imdb-head .juf-ls-body {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

html body #juf-list-root.juf-ls .juf-ls-imdb-title-row {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 8px !important;
}

html body #juf-list-root.juf-ls .juf-ls-imdb-info-btn {
  flex: none !important;
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #5B6470 !important;
  text-decoration: none !important;
  margin-top: -2px;
  transition: background 0.15s ease, color 0.15s ease !important;
}

html body #juf-list-root.juf-ls .juf-ls-imdb-info-btn:hover {
  background: rgba(59, 66, 86, 0.08) !important;
  color: #282E37 !important;
}

html[data-theme="dark"] body #juf-list-root.juf-ls .juf-ls-imdb-info-btn {
  color: #A9AEB6 !important;
}

html body #juf-list-root.juf-ls .juf-ls-imdb-info-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* IMDb Inline Dot-Separated Quick Facts Line (1861-1941 · Kolkata · 12 Books) */
html body #juf-list-root.juf-ls .juf-ls-imdb-facts {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 2px 0 !important;
  margin: 4px 0 6px !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  color: #5B6470 !important;
}

html[data-theme="pdf"] body #juf-list-root.juf-ls .juf-ls-imdb-facts {
  color: #6A5E4B !important;
}

html[data-theme="dark"] body #juf-list-root.juf-ls .juf-ls-imdb-facts {
  color: #A9AEB6 !important;
}

html body #juf-list-root.juf-ls .juf-ls-imdb-fact + .juf-ls-imdb-fact::before {
  content: "·";
  margin: 0 7px;
  opacity: 0.6;
}

html body #juf-list-root.juf-ls .juf-ls-imdb-fact.is-books {
  color: #8A4513 !important;
  font-weight: 600 !important;
}

html[data-theme="dark"] body #juf-list-root.juf-ls .juf-ls-imdb-fact.is-books {
  color: #E0A56F !important;
}

/* Subtle Editorial Read Biography Link inside Header Block */
html body #juf-list-root.juf-ls .juf-ls-imdb-cta {
  margin-top: 4px !important;
}

html body #juf-list-root.juf-ls .juf-ls-imdb-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #3B4256 !important;
  text-decoration: none !important;
  padding: 2px 0 !important;
}

html[data-theme="pdf"] body #juf-list-root.juf-ls .juf-ls-imdb-link {
  color: #4B4332 !important;
}

html[data-theme="dark"] body #juf-list-root.juf-ls .juf-ls-imdb-link {
  color: #C9D4EC !important;
}

/* IMDb Full-Width Synopsis Row Below Thumbnail+Identity */
html body #juf-list-root.juf-ls .juf-ls-imdb-bio {
  width: 100% !important;
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: #3F4652 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

html[data-theme="pdf"] body #juf-list-root.juf-ls .juf-ls-imdb-bio {
  color: #4A4031 !important;
}

html[data-theme="dark"] body #juf-list-root.juf-ls .juf-ls-imdb-bio {
  color: #C6CBD3 !important;
}

/* IMDb Grid View: Vertical 2:3 Poster Card + Title + Facts (No Bio/Info Icon) */
html body #juf-list-root.juf-ls[data-view="grid"] .juf-ls-imdb-head {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  width: 100% !important;
}

html body #juf-list-root.juf-ls[data-view="grid"] .juf-ls-imdb-info-btn,
html body #juf-list-root.juf-ls[data-view="grid"] .juf-ls-imdb-bio,
html body #juf-list-root.juf-ls[data-view="grid"] .juf-ls-imdb-cta {
  display: none !important;
}

/* IMDb Compact View: Clean Single-Line Ranked List */
html body #juf-list-root.juf-ls[data-view="compact"] .juf-ls-imdb-head {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
}

html body #juf-list-root.juf-ls[data-view="compact"] .juf-ls-imdb-bio,
html body #juf-list-root.juf-ls[data-view="compact"] .juf-ls-imdb-cta,
html body #juf-list-root.juf-ls[data-view="compact"] .juf-ls-item--author .juf-ls-item-author {
  display: none !important;
}

html body #juf-list-root.juf-ls[data-view="compact"] .juf-ls-imdb-facts {
  margin: 2px 0 0 !important;
  font-size: 12px !important;
}
