.dnc-catalog-reader {
  position: relative;
  overflow: visible;
  border-radius: 28px;
  padding: 18px 18px 28px;
  min-height: auto;
  background:
    radial-gradient(circle at 20% 12%, rgba(255, 171, 0, .18), transparent 28%),
    radial-gradient(circle at 90% 15%, rgba(255, 92, 0, .15), transparent 30%),
    linear-gradient(135deg, rgba(8, 4, 13, .97), rgba(34, 13, 3, .98));
  border: 1px solid rgba(255, 211, 150, .22);
  box-shadow: 0 34px 110px rgba(255, 106, 0, .15), inset 0 1px 0 rgba(255,255,255,.18);
}

.dnc-catalog-reader:before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,.08), transparent 32%, rgba(255,122,0,.08));
}

.dnc-catalog-toolbar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 0 16px;
}

.dnc-catalog-toolbar button,
.dnc-catalog-toolbar a {
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 10px 18px;
  color: #fff;
  background: linear-gradient(135deg, #ff6a00, #ffb000);
  box-shadow: 0 12px 30px rgba(255,106,0,.22);
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}

.dnc-catalog-toolbar button:hover,
.dnc-catalog-toolbar a:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(255,106,0,.32);
}

.dnc-catalog-page-indicator {
  min-width: 92px;
  text-align: center;
  color: #ffe6c9;
  font-weight: 900;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.14);
}

.dnc-catalog-stage {
  position: relative;
  z-index: 2;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 6px 6px;
  perspective: 2200px;
}

.dnc-catalog-stage:after {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 20px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,0,0,.55), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

.dnc-catalog-book {
  width: min(1180px, 94vw);
  height: auto;
  aspect-ratio: var(--catalog-spread-ratio, 1.414) / 1;
  min-height: 0;
  max-height: none;
  margin: auto;
}

.pdf-book-page {
  background: #fff;
  overflow: hidden;
  border-radius: 7px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.04);
}

.pdf-book-page img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #fff;
  user-select: none;
  -webkit-user-drag: none;
}

.stf__wrapper { filter: drop-shadow(0 28px 35px rgba(0,0,0,.42)); }
.stf__block { border-radius: 8px; }
.stf__item { background: #fff; }

.dnc-catalog-status {
  position: absolute;
  z-index: 8;
  inset: 82px 18px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  text-align: center;
  border-radius: 22px;
  background: rgba(0,0,0,.24);
}

.dnc-catalog-status:before {
  content: '';
  width: 28px;
  height: 28px;
  margin-right: 12px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.35);
  border-top-color: #ffb000;
  animation: pdfSpin .8s linear infinite;
}

.pdf-fallback-frame {
  width: min(1180px, 94vw);
  height: min(860px, calc(100vh - 120px));
  min-height: 620px;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 26px 80px rgba(0,0,0,.38);
}

@keyframes pdfSpin { to { transform: rotate(360deg); } }

@media (max-width: 768px) {
  .dnc-catalog-reader { border-radius: 18px; padding: 12px 8px 20px; min-height: auto; overflow: visible; }
  .dnc-catalog-toolbar { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 10px; }
  .dnc-catalog-toolbar button,
  .dnc-catalog-toolbar a { white-space: nowrap; padding: 9px 13px; font-size: 13px; }
  .dnc-catalog-page-indicator { min-width: 78px; padding: 8px 11px; }
  .dnc-catalog-stage {min-height: auto;padding-top: 12px;}
  .dnc-catalog-book { width: 96vw; height: auto; aspect-ratio: var(--catalog-mobile-ratio, .707) / 1; min-height: 0; }
  .pdf-fallback-frame { width: 96vw; height: 78vh; min-height: 520px; }
  .dnc-catalog-status { inset: 64px 8px 8px; }
}
.dnc-catalog-book {
  min-width: auto !important;
  min-height: auto !important;
  max-width: 2914px !important;
}