/* ==========================================================================
   도서출판 나무와열매 — 아마존 킨들(Amazon Kindle) 스타일 전자책 뷰어 앱 스타일시트
   Kindle Cloud Reader / Kindle Paperwhite & Oasis UI 완벽 구현
   ========================================================================== */

:root {
  /* 킨들 3대 테마 기본값 (White) */
  --kindle-bg: #ffffff;
  --kindle-text: #1a1a1a;
  --kindle-text-muted: #666666;
  --kindle-toolbar-bg: rgba(255, 255, 255, 0.96);
  --kindle-toolbar-border: #e2e8f0;
  --kindle-card-bg: #f8fafc;
  --kindle-active: #c5a059;
  --kindle-progress-track: #e2e8f0;
  --kindle-progress-fill: #1e293b;
  --kindle-font-family: 'KoPub Batang', 'Batang', 'Apple Myeongjo', serif;
  --kindle-font-size: 18px;
  --kindle-line-height: 1.8;
  --kindle-margin-max-width: 760px;
  --kindle-text-align: justify;
}

/* 1. 세피아 테마 (Sepia - 눈이 가장 편안한 킨들 고유 미색) */
[data-kindle-theme="sepia"] {
  --kindle-bg: #fbf0d9;
  --kindle-text: #3c2a1e;
  --kindle-text-muted: #7d6552;
  --kindle-toolbar-bg: rgba(246, 233, 206, 0.96);
  --kindle-toolbar-border: #e6d3ad;
  --kindle-card-bg: #f4e5c5;
  --kindle-active: #b45309;
  --kindle-progress-track: #e6d3ad;
  --kindle-progress-fill: #854d0e;
}

/* 2. 다크 테마 (Dark - 야간 몰입 독서용 킨들 딥블랙) */
[data-kindle-theme="dark"] {
  --kindle-bg: #121212;
  --kindle-text: #e4e4e7;
  --kindle-text-muted: #9ca3af;
  --kindle-toolbar-bg: rgba(24, 24, 27, 0.96);
  --kindle-toolbar-border: #27272a;
  --kindle-card-bg: #1c1917;
  --kindle-active: #f59e0b;
  --kindle-progress-track: #27272a;
  --kindle-progress-fill: #f59e0b;
}

[hidden] {
  display: none !important;
}

/* 폰트 패밀리 프리셋 */
.font-myeongjo {
  font-family: 'KoPub Batang', 'Batang', 'Nanum Myeongjo', serif !important;
}
.font-gothic {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Noto Sans KR', sans-serif !important;
}
.font-bookerly {
  font-family: 'Georgia', 'Cambria', 'Times New Roman', serif !important;
}
.font-ridi {
  font-family: 'Nanum Myeongjo', 'Batang', serif !important;
}

/* ==========================================================================
   기본 레이아웃 및 뷰어 셸
   ========================================================================== */
html, body.kindle-reader-body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--kindle-bg);
  color: var(--kindle-text);
  font-family: var(--kindle-font-family);
  -webkit-font-smoothing: antialiased;
  -webkit-touch-callout: none;
  user-select: none; /* 불법 텍스트 복사 차단 (DRM 장치) */
  transition: background-color 0.25s ease, color 0.25s ease;
}

.kindle-app-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  position: relative;
  overflow: hidden;
}

/* ==========================================================================
   상단 킨들 툴바 (Top Kindle Toolbar)
   ========================================================================== */
.kindle-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: var(--kindle-toolbar-bg);
  border-bottom: 1px solid var(--kindle-toolbar-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease;
}

.kindle-app-container.immersive-mode .kindle-top-bar {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.kindle-nav-left, .kindle-nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-kindle-tool {
  background: transparent;
  border: none;
  color: var(--kindle-text);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.btn-kindle-tool:hover {
  background: rgba(125, 125, 125, 0.12);
}

.btn-kindle-tool.active {
  color: var(--kindle-active);
  background: rgba(197, 160, 89, 0.15);
}

.kindle-book-header-info {
  display: flex;
  flex-direction: column;
  margin-left: 8px;
}

.kindle-book-header-title {
  font-size: 0.95rem;
  font-weight: 700;
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--kindle-text);
}

.kindle-book-header-author {
  font-size: 0.75rem;
  color: var(--kindle-text-muted);
}

/* 북마크 리본 (우측 상단 킨들 고유 리본) */
.kindle-bookmark-ribbon {
  position: absolute;
  top: 0;
  right: 48px;
  width: 24px;
  height: 38px;
  background: #cbd5e1;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 75%, 0 100%);
  cursor: pointer;
  z-index: 105;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.kindle-bookmark-ribbon:hover {
  height: 44px;
}

.kindle-bookmark-ribbon.bookmarked {
  background: linear-gradient(135deg, #d97706, #b45309);
  height: 46px;
  box-shadow: 0 4px 10px rgba(180, 83, 9, 0.4);
}

/* ==========================================================================
   하단 킨들 진행률 및 상태 바 (Bottom Kindle Bar)
   ========================================================================== */
.kindle-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: var(--kindle-toolbar-bg);
  border-top: 1px solid var(--kindle-toolbar-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6px 20px;
  z-index: 100;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease;
}

.kindle-app-container.immersive-mode .kindle-bottom-bar {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

/* 킨들 스크러버 바 (진행률 슬라이더) */
.kindle-scrubber-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.kindle-scrubber-track {
  flex: 1;
  height: 4px;
  background: var(--kindle-progress-track);
  border-radius: 999px;
  position: relative;
  cursor: pointer;
}

.kindle-scrubber-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--kindle-progress-fill);
  border-radius: 999px;
  width: 0%;
  transition: width 0.15s ease;
}

.kindle-scrubber-thumb {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 12px;
  height: 12px;
  background: var(--kindle-text);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
  transition: left 0.15s ease;
}

.kindle-bottom-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--kindle-text-muted);
}

.kindle-loc-info {
  display: flex;
  gap: 8px;
}

.kindle-reading-time-btn {
  background: transparent;
  border: none;
  color: var(--kindle-text-muted);
  font-size: 0.78rem;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
}

.kindle-reading-time-btn:hover {
  color: var(--kindle-text);
  background: rgba(125, 125, 125, 0.1);
}

/* 미니 상태 표시줄 (몰입 독서 모드일 때 화면 최하단에 작게 표시되는 킨들 인디케이터) */
.kindle-mini-indicator {
  position: absolute;
  bottom: 6px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--kindle-text-muted);
  opacity: 0.65;
  pointer-events: none;
  z-index: 50;
  transition: opacity 0.2s ease;
}

.kindle-app-container:not(.immersive-mode) .kindle-mini-indicator {
  opacity: 0;
}

/* ==========================================================================
   중앙 본문 독서 무대 (Kindle Stage)
   ========================================================================== */
.kindle-stage {
  flex: 1;
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

/* 클릭/터치 내비게이션 존 (킨들 3단 분할: 좌20%, 중60%, 우20%) */
.kindle-touch-zone {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 20;
}

.touch-zone-prev {
  left: 0;
  width: 20%;
  cursor: w-resize;
}

.touch-zone-center {
  left: 20%;
  width: 60%;
  cursor: default;
}

.touch-zone-next {
  right: 0;
  width: 20%;
  cursor: e-resize;
}

/* 좌우 데스크톱 화살표 플로팅 버튼 */
.btn-kindle-nav-floating {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 70px;
  background: rgba(125, 125, 125, 0.1);
  border: none;
  color: var(--kindle-text-muted);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 25;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.15s ease, color 0.15s ease;
}

.kindle-stage:hover .btn-kindle-nav-floating {
  opacity: 0.6;
}

.btn-kindle-nav-floating:hover {
  opacity: 1 !important;
  background: rgba(125, 125, 125, 0.25);
  color: var(--kindle-text);
}

.btn-kindle-nav-prev { left: 16px; }
.btn-kindle-nav-next { right: 16px; }

/* 본문 뷰포트 & 스크롤러 */
.kindle-reading-viewport {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  padding: 72px 24px 80px;
  scroll-behavior: smooth;
}

.kindle-reading-viewport::-webkit-scrollbar {
  width: 6px;
}
.kindle-reading-viewport::-webkit-scrollbar-thumb {
  background: rgba(125, 125, 125, 0.2);
  border-radius: 4px;
}

.kindle-reading-page {
  width: 100%;
  max-width: var(--kindle-margin-max-width);
  box-sizing: border-box;
  font-size: var(--kindle-font-size);
  line-height: var(--kindle-line-height);
  text-align: var(--kindle-text-align);
  position: relative;
  padding-bottom: 60px;
}

/* DRM 보호 워터마크 배경 */
.kindle-watermark-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    -35deg,
    rgba(125, 125, 125, 0.035),
    rgba(125, 125, 125, 0.035) 1px,
    transparent 1px,
    transparent 160px
  );
  z-index: 1;
}

.kindle-watermark-tag {
  position: absolute;
  bottom: 12px;
  right: 0;
  font-size: 0.7rem;
  color: var(--kindle-text-muted);
  opacity: 0.45;
  letter-spacing: 0.5px;
}

/* 본문 타이포그래피 요소들 */
.kindle-chapter-header {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--kindle-toolbar-border);
}

.kindle-chapter-num {
  display: block;
  font-size: 0.85em;
  font-weight: 700;
  color: var(--kindle-active);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.kindle-chapter-title {
  margin: 0;
  font-size: 1.75em;
  font-weight: 800;
  line-height: 1.35;
  color: var(--kindle-text);
}

.kindle-chapter-sub {
  margin-top: 8px;
  font-size: 0.9em;
  color: var(--kindle-text-muted);
  font-style: italic;
}

.kindle-quote-box {
  background: var(--kindle-card-bg);
  border-left: 4px solid var(--kindle-active);
  padding: 18px 22px;
  margin: 28px 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  font-size: 1.05em;
  line-height: 1.7;
}

.kindle-scripture-box {
  background: var(--kindle-card-bg);
  border: 1px solid var(--kindle-toolbar-border);
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 8px;
  font-size: 0.95em;
}

.kindle-paragraph {
  margin-top: 0;
  margin-bottom: 1.35em;
  text-indent: 1em;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.kindle-reflection-box {
  margin-top: 40px;
  padding: 24px;
  background: var(--kindle-card-bg);
  border-radius: 10px;
  border: 1px dashed var(--kindle-toolbar-border);
}

.kindle-reflection-title {
  font-size: 1.05em;
  font-weight: 700;
  color: var(--kindle-active);
  margin-top: 0;
  margin-bottom: 12px;
}

/* 표지 페이지 렌더링 */
.kindle-cover-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  text-align: center;
  padding: 20px;
}

.kindle-cover-art {
  max-width: 320px;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  margin-bottom: 24px;
}

.kindle-cover-title {
  font-size: 1.9em;
  font-weight: 800;
  margin: 0 0 10px;
}

.kindle-cover-author {
  font-size: 1.1em;
  color: var(--kindle-text-muted);
  margin: 0 0 20px;
}

.kindle-cover-license {
  display: inline-block;
  font-size: 0.78em;
  color: var(--kindle-text-muted);
  background: var(--kindle-card-bg);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--kindle-toolbar-border);
}

/* ==========================================================================
   Aa 타이포그래피 모달 (Kindle Aa Panel)
   ========================================================================== */
.kindle-flyout-panel {
  position: absolute;
  top: 60px;
  right: 16px;
  width: 340px;
  background: var(--kindle-toolbar-bg);
  border: 1px solid var(--kindle-toolbar-border);
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
  padding: 18px;
  z-index: 150;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: kindleFadeInDown 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes kindleFadeInDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.flyout-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--kindle-toolbar-border);
}

.flyout-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--kindle-text);
  margin: 0;
}

.flyout-section {
  margin-bottom: 16px;
}

.flyout-label {
  display: block;
  font-size: 0.75rem;
  color: var(--kindle-text-muted);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

/* 3대 테마 선택기 */
.theme-picker-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.theme-choice-btn {
  height: 40px;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.theme-choice-white {
  background: #ffffff;
  color: #111827;
  border-color: #e2e8f0;
}
.theme-choice-sepia {
  background: #fbf0d9;
  color: #4a3525;
  border-color: #e6d3ad;
}
.theme-choice-dark {
  background: #18181b;
  color: #f4f4f5;
  border-color: #3f3f46;
}

.theme-choice-btn.active {
  border-color: var(--kindle-active) !important;
  box-shadow: 0 0 0 2px rgba(197, 160, 89, 0.4);
}

/* 글자 크기 스텝 조절 */
.font-size-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--kindle-card-bg);
  border-radius: 8px;
  padding: 4px;
}

.btn-step-action {
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  color: var(--kindle-text);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-step-action:hover {
  background: rgba(125, 125, 125, 0.15);
}

.font-size-indicator {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--kindle-text);
}

/* 폰트 및 정렬 버튼 그룹 */
.btn-grid-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.btn-option-pill {
  padding: 8px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--kindle-card-bg);
  border: 1px solid var(--kindle-toolbar-border);
  color: var(--kindle-text);
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
}

.btn-option-pill.active {
  background: var(--kindle-active);
  color: #ffffff;
  border-color: var(--kindle-active);
}

/* ==========================================================================
   목차 및 북마크 사이드 드로어 (TOC Drawer)
   ========================================================================== */
.kindle-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  transition: opacity 0.25s ease;
}

.kindle-drawer-content {
  width: 360px;
  max-width: 85vw;
  height: 100%;
  background: var(--kindle-toolbar-bg);
  border-right: 1px solid var(--kindle-toolbar-border);
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.2);
  animation: kindleSlideInLeft 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes kindleSlideInLeft {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

.drawer-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--kindle-toolbar-border);
}

.drawer-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  color: var(--kindle-text);
}

.drawer-tabs {
  display: flex;
  border-bottom: 1px solid var(--kindle-toolbar-border);
}

.drawer-tab-btn {
  flex: 1;
  padding: 10px;
  background: transparent;
  border: none;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--kindle-text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.drawer-tab-btn.active {
  color: var(--kindle-active);
  border-bottom-color: var(--kindle-active);
}

.drawer-list-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
}

.toc-item-link {
  display: block;
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--kindle-text);
  text-decoration: none;
  font-size: 0.88rem;
  line-height: 1.45;
  margin-bottom: 4px;
  transition: all 0.15s ease;
}

.toc-item-link:hover {
  background: rgba(125, 125, 125, 0.1);
}

.toc-item-link.current-chapter {
  background: rgba(197, 160, 89, 0.15);
  color: var(--kindle-active);
  font-weight: 700;
}

.bookmark-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--kindle-card-bg);
  border: 1px solid var(--kindle-toolbar-border);
  margin-bottom: 8px;
}

.bookmark-info {
  flex: 1;
  cursor: pointer;
}

.bookmark-title {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--kindle-text);
  margin-bottom: 2px;
}

.bookmark-date {
  font-size: 0.72rem;
  color: var(--kindle-text-muted);
}

.btn-del-bookmark {
  background: transparent;
  border: none;
  color: #ef4444;
  cursor: pointer;
  padding: 4px 6px;
  font-size: 0.8rem;
}

/* ==========================================================================
   앱 설치 / 다운로드 안내 모달 (PWA Download Modal)
   ========================================================================== */
.kindle-install-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.kindle-install-modal-card {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 16px;
  max-width: 520px;
  width: 100%;
  color: #ffffff;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  text-align: center;
}

.modal-app-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid #059669;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.install-platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0;
  text-align: left;
}

.platform-card {
  background: #1e293b;
  border-radius: 10px;
  padding: 14px;
  border: 1px solid #334155;
}

.platform-card h4 {
  margin: 0 0 6px;
  font-size: 0.9rem;
  color: #38bdf8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.platform-card p {
  margin: 0;
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.45;
}

.btn-primary-install {
  width: 100%;
  background: linear-gradient(135deg, #059669, #047857);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 14px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.4);
  transition: all 0.2s ease;
}

.btn-primary-install:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.6);
}

/* ==========================================================================
   인쇄 방지 및 불법 출력 차단 (DRM Printing Protection)
   ========================================================================== */
@media print {
  body, .kindle-app-container, .kindle-stage {
    display: none !important;
  }
}
