
.comic-reader-page .reader-main {
  width: min(1320px, calc(100% - 24px));
}
.comic-reader-topbar {
  padding: 28px;
}
.comic-reader-shell {
  padding: 24px;
  margin-top: 24px;
}
.comic-reader-shell-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.reader-window-status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.comic-reader-stage-wrap {
  display: grid;
  grid-template-columns: 72px 1fr 72px;
  gap: 14px;
  align-items: center;
}
.comic-reader-stage {
  margin: 0;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
}
.comic-reader-stage img {
  width: 100%;
  max-width: 860px;
  max-height: 74vh;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 18px 32px rgba(19,49,77,0.18);
  background: rgba(255,255,255,0.86);
}
.comic-reader-stage figcaption {
  text-align: center;
  font-weight: 700;
  color: #2d6a97;
}
.reader-nav-btn {
  width: 100%;
  min-height: 76px;
  border: 0;
  border-radius: 22px;
  cursor: pointer;
  font-size: 2rem;
  font-weight: 700;
  color: #1f5a86;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 10px 24px rgba(19,49,77,0.12);
}
.reader-nav-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.reader-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 18px;
}
.comic-thumb-rail-wrap {
  margin-top: 22px;
  overflow: hidden;
}
.comic-thumb-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.comic-thumb-card {
  min-width: 110px;
  border: 2px solid transparent;
  border-radius: 18px;
  background: rgba(255,255,255,0.75);
  padding: 8px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(19,49,77,0.10);
}
.comic-thumb-card.is-active {
  border-color: #ff8a2b;
  box-shadow: 0 0 0 4px rgba(255,138,43,0.14);
}
.comic-thumb-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
.comic-thumb-card span {
  display: block;
  text-align: center;
  margin-top: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #255f89;
}
.comic-reader-footer {
  margin-top: 18px;
  text-align: center;
  color: #42698f;
}
.reader-launch-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(30,95,168,0.10);
  color: #1e5fa8;
  font-weight: 700;
  font-size: 0.92rem;
}
@media (max-width: 900px) {
  .comic-reader-shell-header {
    flex-direction: column;
  }
  .comic-reader-stage-wrap {
    grid-template-columns: 1fr;
  }
  .reader-nav-btn {
    min-height: 54px;
  }
  .reader-nav-prev { order: 2; }
  .comic-reader-stage { order: 1; min-height: auto; }
  .reader-nav-next { order: 3; }
}
