
@font-face {
  font-family: 'GFS Didot';
  src: url('/Fonts/gfs-didot/GFSDidot-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/Fonts/plus-jakarta-sans/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/Fonts/plus-jakarta-sans/plus-jakarta-sans-latin-wght-italic.woff2') format('woff2');
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/Fonts/bricolage-grotesque/bricolage-grotesque-latin-wght-normal.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('/Fonts/instrument-serif/instrument-serif-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('/Fonts/instrument-serif/instrument-serif-latin-400-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Caveat';
  src: url('/Fonts/caveat/caveat-latin-wght-normal.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6em;
  background: linear-gradient(180deg, #f8f4ec 0%, #f4efe7 100%);
  color: #3e3933;
  min-height: 100vh;
}

h1, h2, h3 {
  font-family: 'GFS Didot', sans-serif;
  margin: 0 0 10px;
}

main h1, main h2 {
  color: #2f2a25;
  font-weight: normal;
  padding-bottom: 0.1em; 
  line-height: 1.2em;
  margin-bottom: 15px;
}
main h2 {
  font-size: 32px;
  border-bottom: 1px solid rgba(182, 132, 51, 0.2);
  padding-bottom: 10px;
  margin-bottom: 25px;
  display: inline-block;
}

header {
  background: rgba(28, 23, 19, 0.85); 
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 20px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(182, 132, 51, 0.2);
  position: sticky;
  top: 0;
  z-index: 100;
}

.branding h1 {
  font-size: 30px;
  margin-bottom: 5px;
  color: #333;
}

.branding .tagline {
  font-size: 16px;
  color: #333;
}

.branding {
  display: flex;
  align-items: center;
  gap: 20px;
}

.branding img {
  flex-shrink: 0;
}

.branding .tagline {
  font-size: 16px;
  color: #333;
  margin: 0;
		line-height: 1.3em;

}


a {
  text-decoration: none;
  color: #4b2e2e; 
}

main {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

section {
  margin-bottom: 60px;
}

.archive-line-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(220, 210, 195, 0.35);
  border: 1px solid rgba(182, 132, 51, 0.15);
  box-shadow: inset 0 2px 6px rgba(46, 37, 23, 0.06);
}

.archive-line-tab {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 6px 24px 6px 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.archive-line-tab:hover:not(.is-active) {
  background: rgba(255, 255, 255, 0.6);
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(46, 37, 23, 0.05);
}

.archive-line-tab.is-active {
  background: linear-gradient(135deg, #2b241c 0%, #1a1510 100%);
  border: 1px solid #4a3e30;
  box-shadow: 0 10px 20px rgba(26, 21, 16, 0.25);
}

.archive-line-tab-orb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #8c7653;
  font-family: 'GFS Didot', 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.archive-line-tab.is-active .archive-line-tab-orb {
  background: linear-gradient(180deg, #ffe5a6 0%, #c9b077 52%, #937b48 100%);
  color: #1a1510;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 6px 14px rgba(182,132,51,0.25);
}

.archive-line-tab-copy {
  display: grid;
  gap: 3px;
  text-align: left;
}

.archive-line-tab-copy strong {
  color: #5c554c;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: bold;
  transition: color 0.3s ease;
}
.archive-line-tab-copy span {
  color: #8a8177;
  font-size: 13px;
  line-height: 1.25;
  transition: color 0.3s ease;
}

.archive-line-tab.is-active .archive-line-tab-copy strong {
  color: #f5dda6;
}
.archive-line-tab.is-active .archive-line-tab-copy span {
  color: rgba(248, 243, 234, 0.65);
}

@media (max-width: 780px) {
  .archive-line-tabs {
    flex-direction: row;
    border-radius: 24px;
    width: 100%;
    box-sizing: border-box;
  }
  .archive-line-tab {
    flex: 1;
    width: auto;
    padding: 4px 8px 4px 4px;
    gap: 6px;
  }
  .archive-line-tab-orb {
    width: 32px;
    height: 32px;
    font-size: 12px;
    flex-shrink: 0;
  }
  .archive-line-tab-copy strong {
    font-size: 12px;
  }
  .archive-line-tab-copy span {
    font-size: 10px;
  }
}

.book-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 30px;
}

.book-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 10px 10px 30px 10px;
  margin: 0 -10px; 
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.book-carousel::-webkit-scrollbar {
  display: none;
}

.carousel-wrapper {
  position: relative;
  display: block;
}

.carousel-nav {
  position: absolute;
  top: calc(50% - 20px);
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(182, 132, 51, 0.3);
  color: #4b2e2e;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.2s ease, background 0.2s ease;
  pointer-events: none;
}

.carousel-wrapper:hover .carousel-nav {
  opacity: 1;
  pointer-events: auto;
}

.carousel-nav:hover {
  background: #d6af67;
  color: #fff;
  transform: translateY(-50%) scale(1.05);
}

.carousel-nav.prev {
  left: -15px;
}

.carousel-nav.next {
  right: -15px;
}

@media (hover: none), (pointer: coarse) {
  .carousel-nav {
    display: none !important;
  }
}

.cover-only-card {
  flex: 0 0 auto;
  width: 140px;
  scroll-snap-align: start;
  cursor: pointer;
  border-radius: 4px 10px 10px 4px;
  position: relative;
  box-shadow: 4px 5px 10px rgba(27, 23, 18, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background-color: #eaddc7;
}
@media (min-width: 768px) {
  .cover-only-card {
    width: 180px;
  }
}
.cover-only-card:hover {
  transform: translateY(-4px);
  box-shadow: 4px 5px 10px rgba(27, 23, 18, 0.20);
}

.cover-only-card img {
  width: 100%;
  aspect-ratio: 1 / 1.5;
  object-fit: cover;
  border-radius: 4px 10px 10px 4px;
  display: block;
}

.cover-only-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  border-radius: 4px 10px 10px 4px;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.4) 2%,
    rgba(0, 0, 0, 0.15) 4%,
    rgba(0, 0, 0, 0.0) 6%,
    rgba(0, 0, 0, 0.0) 97%,
    rgba(0, 0, 0, 0.08) 100%
  );
  border-left: 1px solid rgba(255, 255, 255, 0.5);
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  pointer-events: none;
  z-index: 3;
}

.cover-only-card.has-progress::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 45px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
  border-radius: 0 0 10px 4px;
  z-index: 1;
  pointer-events: none;
}

.card-progress-container {
  position: absolute;
  bottom: 12px;
  left: 10px;
  right: 36px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  overflow: hidden;
  z-index: 2;
}
.card-progress-bar {
  height: 100%;
  background: #d6af67; 
  width: 0%;
  border-radius: 2px;
}
.card-progress-text {
  position: absolute;
  bottom: 6px;
  right: 8px;
  font-size: 11px;
  color: #ffffff;
  font-family: 'Open Sans', sans-serif;
  font-weight: bold;
  z-index: 2;
  line-height: 1;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}



.
d {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.archive-book-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 300px;
  max-width: 400px;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(21, 21, 21, 0.04);
  box-shadow: 0 18px 36px rgba(27, 23, 18, 0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.archive-book-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 42px rgba(27, 23, 18, 0.16);
  border-color: rgba(182, 132, 51, 0.18);
}
.archive-book-cover {
  position: relative;
  overflow: hidden;
}
.archive-book-cover img {
  width: 100%;
  aspect-ratio: 1.2 / 1.0;
  object-fit: cover;
  object-position: 50% -50px;
  transition: transform 0.32s ease;
  display: block;
}
.archive-book-card:hover .archive-book-cover img {
  transform: scale(1.04);
}
.archive-book-badge-row {
  position: absolute;
  left: 16px;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.archive-badge, .archive-result-pill {
  display: inline-block;
  vertical-align: middle;
  min-height: 22px;
  padding: 5px 8px 3px;
  border-radius: 999px;
  background: rgba(10, 15, 23, 0.78);
  border: 1px solid rgba(236, 212, 164, 0.26);
  color: #fff8eb;
  font-family: 'Open Sans', sans-serif;
  font-size: 9px;
  font-weight: bold;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  max-width: 170px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
	line-height: 2.5em;
}
.archive-result-pill {
  background: rgba(17, 23, 34, 0.08);
  border: 1px solid rgba(17, 23, 34, 0.08);
  color: #67563b;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.archive-book-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 22px 20px 20px;
}
.archive-book-title {
  margin: 0 0 10px;
  color: #2e2a26;
  font-family: 'GFS Didot', sans-serif;
  font-size: 26px;
  line-height: 1.16;
  font-weight: 400;
}
.archive-book-text {
  margin: 0 0 16px;
  color: #655d54;
  font-size: 16px;
  line-height: 1.58;
}
.archive-book-meta, .book-detail-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.archive-book-chip {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(182, 132, 51, 0.08);
  border: 1px solid rgba(182, 132, 51, 0.14);
  color: #6d5d44;
  font-size: 10px;
  font-weight: bold;
  line-height: 1.2;
  max-width: 160px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.archive-book-actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.archive-book-actions .btn {
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  padding: 12px 10px;
}

.book-detail-view {
  display: grid;
  grid-template-columns: minmax(240px, 0.92fr) 1.08fr;
  gap: 32px;
  align-items: start;
  text-align: left;
}
.book-detail-cover {
  border-radius: 20px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  background: rgba(255,255,255,0.08);
}
.book-detail-cover img {
  width: 100%;
  display: block;
}
.book-detail-copy {
  display: grid;
  gap: 16px;
}
.book-detail-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.book-detail-kicker {
  margin: 0 0 8px;
  color: var(--theme-kicker, #a2752b);
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
#dossier-title {
  color: var(--theme-title, inherit);
}
#dossier-detailtext p {
  margin: 0 0 16px;
  color: var(--theme-text, #5d554d);
  font-size: 16px;
  line-height: 1.66;
}

.book-blurb-accordion {
  position: relative;
  margin: 8px 0 2px;
  border-radius: 22px;
  overflow: hidden;
  background: var(--theme-accordion-bg, radial-gradient(circle at top left, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0) 38%), linear-gradient(180deg, rgba(255, 249, 240, 0.98) 0%, rgba(244, 234, 220, 0.98) 100%));
  border: 1px solid var(--theme-accordion-border, rgba(182, 132, 51, 0.18));
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.15);
}
.book-blurb-accordion::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  pointer-events: none;
}
.book-blurb-summary {
  position: relative;
  z-index: 1;
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  transition: background 0.22s ease;
}
.book-blurb-summary::-webkit-details-marker { display: none; }
.book-blurb-summary:hover { background: rgba(182, 132, 51, 0.06); }
.book-blurb-summary-label {
  display: block;
  color: var(--theme-title, #2f2a25);
  font-weight: bold;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.book-blurb-summary-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--theme-close-bg, rgba(255, 255, 255, 0.78));
  border: 1px solid var(--theme-border, rgba(182, 132, 51, 0.18));
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.15);
  color: var(--theme-close-color, #6c5835);
}
.book-blurb-summary-icon svg {
  width: 20px;
  height: 20px;
  transition: transform 0.26s ease;
}
.book-blurb-accordion[open] .book-blurb-summary-icon svg {
  transform: rotate(180deg);
}
.book-blurb-content {
  position: relative;
  z-index: 1;
  padding: 0 20px 20px;
}
.book-blurb-content::before {
  content: '';
  display: block;
  height: 1px;
  margin-bottom: 16px;
  background: linear-gradient(90deg, var(--theme-border, rgba(182, 132, 51, 0.28)) 0%, transparent 100%);
}
.book-blurb-content p {
  margin: 0 0 12px;
  color: var(--theme-text, #5d554d);
  line-height: 1.66;
}

#dossier-close {
  position: sticky !important;
  top: 12px !important;
  align-self: flex-end !important;
  margin-left: auto !important;
  margin-right: 0 !important;
  margin-bottom: -38px !important;
  z-index: 1000 !important;
  background: var(--theme-close-bg, transparent);
  color: var(--theme-close-color, #a2752b);
  border: 1px solid var(--theme-border, rgba(182, 132, 51, 0.45));
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  box-shadow: none;
  cursor: pointer;
  transition: transform 0.4s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}
#dossier-close:hover {
  background: var(--theme-close-hover-bg, color-mix(in srgb, #c49a4f 12%, transparent));
  color: var(--theme-close-hover-color, #6c5835);
  border-style: dashed;
  border-color: var(--theme-border-hover, #c49a4f);
  transform: rotate(90deg);
  box-shadow: none;
}
#dossier-close:active {
  transform: rotate(90deg) scale(0.95);
  box-shadow: none;
}

@media (max-width: 780px) {
  .book-detail-view { grid-template-columns: 1fr; }
  .book-detail-cover { max-width: 190px; margin: 0 auto; } 
  
  #dossier-modal {
    padding: 0 !important;
  }
  #dossier-modal .modal-content {
    max-width: 100% !important;
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100vh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 45px 20px calc(40px + env(safe-area-inset-bottom)) !important; 
    box-sizing: border-box !important; 
    border: none !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
  }

  #dossier-close {
    position: fixed !important;
    top: 15px !important;
    right: 15px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  }
}
.book-card .buttons {
  display: flex;
  gap: 10px;
}

.btn {
  padding: 12px 24px;
  background: linear-gradient(180deg, #ffe5a6 0%, #c9b077 52%, #937b48 100%);
  color: #fff8eb;
  border-radius: 12px;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  font-weight: 700 !important;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.08em;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
  border: 1px solid rgba(135, 98, 35, 0.52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 22px rgba(124, 85, 21, 0.22);
  cursor: pointer;
  text-align: center;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 14px 26px rgba(71, 56, 30, 0.35);
  filter: brightness(1.02);
}
.btn.ghost {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(135, 98, 35, 0.22);
  color: #614f35;
  box-shadow: 0 12px 22px rgba(44, 35, 20, 0.08);
}
.btn.ghost:hover {
  background: #fff;
  color: #4d3d26;
  border-color: rgba(135, 98, 35, 0.4);
}

footer {
  background: transparent;
  border-top: 1px solid rgba(182, 132, 51, 0.2);
  text-align: center;
  padding: 30px 20px;
  font-size: 15px;
  color: #655d54;
  margin-top: 40px;
}
footer a {
  color: #9d7128;
  transition: color 0.2s ease;
}
footer a:hover {
  color: #7b5a22;
}

#pwa-hint-outer {
  display: none; 
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 340px;
  background: rgba(28, 23, 19, 0.92);
  border: 1px solid rgba(182, 132, 51, 0.3);
  box-shadow: 0 16px 36px rgba(27, 23, 18, 0.25);
  border-radius: 16px;
  padding: 16px 18px;
  z-index: 9999;
  color: #f8f4ec;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: slideInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#pwa-hint-inner .pwa-steps {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 8px;
  font-weight: 600;
  color: #ffe5a6;
}

#pwa-hint-inner .pwa-dots {
  width: 22px;
  height: 7px;
  fill: currentColor;
  color: #c9b077;
  vertical-align: middle;
}

@keyframes slideInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

#pwa-hint-inner {
  position: relative;
  font-size: 14px;
  line-height: 1.5;
}

#pwa-hint-inner strong {
  color: #c9b077;
  font-family: 'GFS Didot', sans-serif;
  font-size: 16px;
  display: block;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

#pwa-hint-inner em {
  color: #ffe5a6;
  font-style: normal;
  font-weight: 600;
}

#pwa-close-btn {
  position: absolute;
  top: -12px;
  right: -12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(182, 132, 51, 0.2);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  color: #c9b077;
  cursor: pointer;
  transition: all 0.2s ease;
}

#pwa-close-btn:hover {
  background: #c9b077;
  color: #1c1713;
  transform: scale(1.1);
}

#pwa-note-android #pwa-install-btn {
  margin-top: 12px;
  width: 100%;
}

#pwa-note-desktop {
  display: none;
}

@media (min-width: 769px) {
  #pwa-note-desktop {
    display: block;
  }
}

@media (max-width: 600px) {
  #pwa-hint-outer {
    bottom: auto;
    top: 20px;
    right: 16px;
    left: 16px;
    max-width: none;
    animation: slideInDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

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


#my-library-section {
  margin-bottom: 0 !important;
}
#my-library-books {
  padding-bottom: 20px !important; 
}
#reading-insights-section {
  margin-top: 10px !important;
  margin-bottom: 0 !important;
}

.insights-container {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) minmax(250px, 1.5fr);
  gap: 24px;
  align-items: stretch;
}

.insight-card {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(182, 132, 51, 0.15);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(46, 37, 23, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.insight-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(182, 132, 51, 0.08);
  border-color: rgba(182, 132, 51, 0.25);
}

.goal-card {
  align-items: center;
  text-align: center;
  justify-content: center;
}

.goal-card h3 {
  font-family: 'GFS Didot', serif;
  font-size: 22px;
  color: #2f2a25;
  margin: 0 0 4px 0;
}

.insight-subtitle {
  font-size: 13px;
  color: #8a8177;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 20px 0;
}

.goal-progress-wrapper {
  position: relative;
  width: 110px;
  height: 110px;
  margin: 0 auto 15px auto;
}

.goal-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-bg {
  fill: none;
  stroke: rgba(182, 132, 51, 0.1);
  stroke-width: 2.5;
}

.ring-fill {
  fill: none;
  stroke: #d6af67;
  stroke-width: 2.5;
  stroke-linecap: round;
  transition: stroke-dasharray 1s ease-out;
}

.goal-center-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'GFS Didot', serif;
  font-size: 36px;
  color: #2f2a25;
  line-height: 1;
}

.insight-status {
  font-size: 14px;
  color: #9d7128;
  font-weight: 600;
  margin: 0;
}

.stats-card {
  justify-content: center;
  gap: 20px;
}

.stat-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-icon-svg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(182, 132, 51, 0.08);
  color: #9d7128;
}

.stat-icon-svg svg {
  width: 22px;
  height: 22px;
}

.stat-text {
  display: flex;
  flex-direction: column;
}

.stat-val {
  font-family: 'GFS Didot', serif;
  font-size: 24px;
  color: #2f2a25;
  line-height: 1.1;
}

.stat-lbl {
  font-size: 12px;
  color: #8a8177;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

@media (max-width: 650px) {
  .insights-container {
    grid-template-columns: 1fr;
  }
  .goal-progress-wrapper {
    width: 90px;
    height: 90px;
  }
  .goal-center-text {
    font-size: 30px;
  }
}

#cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 320px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(182, 132, 51, 0.18);
  box-shadow: 0 16px 36px rgba(27, 23, 18, 0.15);
  border-radius: 16px;
  padding: 22px;
  z-index: 9998;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

#cookie-banner.show {
  opacity: 1;
  transform: translateY(0);
}

#cookie-banner p {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.55;
  color: #5d554d;
}

#cookie-banner a {
  color: #9d7128;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.2s ease;
}

#cookie-banner a:hover {
  color: #7b5a22;
}

#cookie-banner .cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

#cookie-banner .btn {
  flex: 1;
  padding: 10px 12px;
  font-size: 12px;
  border-radius: 10px;
  min-width: 120px;
}

@media (max-width: 600px) {
  #cookie-banner {
    bottom: 16px;
    left: 16px;
    right: 16px;
    max-width: none;
    padding: 18px;
  }
  
  #cookie-banner .cookie-buttons {
    flex-direction: column;
  }
}


.theme-autor-light {
  --ws-cream: #fbf8ef;
  --ws-cream-2: #f5f1e6;
  --ws-cream-3: #e6e1d3;
  --ws-plum-ink: #2a1e2e;
  --ws-plum-soft: #4a3a4f;
  --ws-plum-mute: #6b5d6f;
  --ws-mauve: #d4c0e6;
  --ws-mauve-deep: #8e6fae;
  --ws-peach: #f5cdb0;
  --ws-peach-deep: #c98a5c;
  --ws-sage: #c2d6c0;
  --ws-sage-deep: #6f8c6e;
  --ws-rose: #f0c5cc;
  --ws-rose-deep: #b87080;
  --ws-blue: #c0d4e6;
  --ws-blue-deep: #5d7a9e;
  --ws-gold-warm: #b8924a;
  --ws-gold-pale: #f4e3b8;
  --ws-gold-light: #e6cf8a;
  background:
    radial-gradient(520px 380px at 8% 6%, rgba(245,205,176,.35), transparent 60%),
    radial-gradient(480px 360px at 92% 14%, rgba(212,192,230,.32), transparent 60%),
    radial-gradient(420px 320px at 6% 76%, rgba(240,197,204,.28), transparent 60%),
    radial-gradient(440px 340px at 94% 86%, rgba(194,214,192,.25), transparent 60%),
    var(--ws-cream);
  color: var(--ws-plum-ink);
  border-color: rgba(184, 146, 74, 0.3);
  box-shadow: 0 32px 80px rgba(42, 30, 46, 0.18);
}
.theme-autor-light #author-content.expose-page-shell { padding: 56px 40px 50px !important; }
.theme-autor-light .autor-kombi header,
.theme-autor-light .autor-kombi footer,
.theme-autor-light .autor-kombi article,
.theme-autor-light .autor-kombi section,
.theme-autor-light .autor-kombi aside,
.theme-autor-light .autor-kombi main,
.theme-autor-light .autor-kombi nav {
  position: static !important;
  background: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  border-top: none !important;
  border-bottom: none !important;
  top: auto !important;
  z-index: auto !important;
  text-align: inherit !important;
  font-size: inherit !important;
  color: inherit !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.popup.popup-light--author:has(.autor-kombi) .popup-kicker,.popup.popup-light--author:has(.autor-kombi) .popup-title{display:none!important}.popup.popup-light--author .popup-content:has(.autor-kombi){margin:0;padding:0}.autor-kombi{font-family:'Plus Jakarta Sans',Inter,system-ui,sans-serif;color:var(--ws-plum-ink);--ak-mauve:var(--ws-mauve-deep);--ak-peach:var(--ws-peach-deep);--ak-sage:var(--ws-sage-deep);--ak-rose:var(--ws-rose-deep);--ak-blue:var(--ws-blue-deep);--ak-gold:var(--ws-gold-warm)}.autor-kombi *{box-sizing:border-box}.ak-head{margin:0 0 36px;text-align:center}.ak-kicker,.popup-content .ak-kicker,.popup-light .ak-kicker,.popup.popup-light--author .ak-kicker{font-family:Caveat,cursive!important;font-weight:600!important;font-size:52px!important;color:var(--ws-mauve-deep)!important;display:inline-block!important;transform:rotate(-1.5deg)!important;margin:0 0 6px!important;padding:0!important;border:none!important;background:0 0!important;line-height:1!important;letter-spacing:0!important;text-transform:none!important}.ak-title{font-family:'Bricolage Grotesque',system-ui,sans-serif;font-variation-settings:"wdth" 92,"wght" 700,"opsz" 96;font-size:clamp(44px,5.8vw,76px);letter-spacing:-.03em;line-height:.96;margin:0 0 18px;color:var(--ws-plum-ink)}.ak-title em{font-family:'Instrument Serif',Georgia,serif;font-style:italic;font-weight:400;color:var(--ws-mauve-deep)}.ak-lede{font-family:'Instrument Serif',Georgia,serif;font-style:italic;font-size:19px;color:var(--ws-plum-soft);max-width:720px;margin:0 auto;line-height:1.55}.ak-divider{display:flex;align-items:center;justify-content:center;margin:0 0 28px;gap:18px;color:var(--ws-mauve-deep)}.ak-divider::after,.ak-divider::before{content:"";flex:1;height:1px;max-width:240px;opacity:.4;background:linear-gradient(90deg,transparent,currentColor,transparent)}.ak-divider span{font-family:'Instrument Serif',Georgia,serif;font-style:italic;font-size:18px;opacity:.85}.ak-layout{display:grid;grid-template-columns:1fr 280px;gap:48px;align-items:flex-start;margin:0 0 36px}.ak-qa-list{display:flex;flex-direction:column;gap:28px}.ak-qa{position:relative;padding:0 0 28px;border-bottom:1px dashed rgba(184,146,74,.3)}.ak-qa:last-child{border-bottom:none;padding-bottom:0}.ak-qa .ak-q{display:flex;align-items:flex-start;gap:14px;margin:0 0 14px}.ak-q-mark{flex:0 0 auto;width:38px;height:38px;border-radius:50%;background:var(--ak-c);color:#fff;display:flex;align-items:center;justify-content:center;font-family:'Bricolage Grotesque',system-ui,sans-serif;font-variation-settings:"wdth" 95,"wght" 700;font-size:18px;line-height:1;box-shadow:0 0 0 4px var(--ak-c-soft)}.ak-q-text{font-family:Caveat,cursive;font-weight:600;font-size:30px;line-height:1.05;color:var(--ak-c);display:inline-block;transform:rotate(-1.2deg);padding-top:2px}.ak-a{padding-left:52px}.ak-a p{font-family:'Plus Jakarta Sans',Inter,system-ui,sans-serif;font-size:16px;line-height:1.78;color:var(--ws-plum-soft);margin:0 0 12px}.ak-a p:last-child{margin-bottom:0}.ak-a em,.ak-a i{font-family:'Instrument Serif',Georgia,serif;font-style:italic;color:var(--ak-c);font-size:18px}.ak-qa-1{--ak-c:var(--ws-mauve-deep);--ak-c-soft:rgba(212,192,230,.5)}.ak-qa-2{--ak-c:var(--ws-peach-deep);--ak-c-soft:rgba(245,205,176,.5)}.ak-qa-3{--ak-c:var(--ws-sage-deep);--ak-c-soft:rgba(194,214,192,.5)}.ak-qa-4{--ak-c:var(--ws-rose-deep);--ak-c-soft:rgba(240,197,204,.5)}.ak-qa-5{--ak-c:var(--ws-blue-deep);--ak-c-soft:rgba(192,212,230,.5)}.ak-qa-6{--ak-c:var(--ws-gold-warm);--ak-c-soft:rgba(244,227,184,.5)}.ak-aside{position:sticky;top:24px;display:flex;flex-direction:column;gap:18px}.ak-polaroid{background:#fff;padding:14px 14px 18px;border-radius:6px;box-shadow:0 12px 30px -10px rgba(42,30,46,.25),0 2px 6px rgba(42,30,46,.1);text-decoration:none;color:inherit;display:block;transition:transform .25s}.ak-polaroid:hover{transform:rotate(-1deg) scale(1.02)}.ak-polaroid-photo{aspect-ratio:3/4;border-radius:3px;background:linear-gradient(135deg,var(--ws-mauve) 0,var(--ws-peach) 50%,var(--ws-rose) 100%);display:flex;align-items:center;justify-content:center;font-family:'Instrument Serif',Georgia,serif;font-style:italic;color:rgba(255,255,255,.85);font-size:14px;letter-spacing:.2em;overflow:hidden;position:relative}.ak-polaroid-photo img{width:100%;height:100%;object-fit:cover;display:block}.ak-polaroid-cap{font-family:Caveat,cursive;font-weight:600;font-size:20px;color:var(--ws-plum-soft);text-align:center;margin:10px 0 0;line-height:1.1}.ak-polaroid-cap .strike,.ak-polaroid-cap s{text-decoration:line-through;text-decoration-color:var(--ws-rose-deep);text-decoration-thickness:2px}.ak-fact-card{background:radial-gradient(220px 160px at 88% 12%,rgba(212,192,230,.5),transparent 60%),linear-gradient(180deg,#fff,var(--ws-cream-2));border-radius:14px;padding:18px 20px;position:relative;box-shadow:inset 0 0 0 1px rgba(255,255,255,.55),0 1px 2px rgba(42,30,46,.06),0 8px 18px -10px rgba(42,30,46,.15)}.ak-fact-card::before{content:"";position:absolute;inset:0;border-radius:14px;border:1px solid rgba(142,111,174,.3);opacity:.4;pointer-events:none}.ak-fact-card .ak-skicker{font-family:'Instrument Serif',Georgia,serif;font-style:italic;font-size:12px;letter-spacing:.25em;text-transform:uppercase;color:var(--ws-mauve-deep);margin:0 0 12px}.ak-fact-row{display:flex;align-items:baseline;justify-content:space-between;padding:6px 0;border-bottom:1px dotted rgba(42,30,46,.15);gap:10px}.ak-fact-row:last-child{border-bottom:none}.ak-fact-row strong{font-family:'Bricolage Grotesque',system-ui,sans-serif;font-variation-settings:"wdth" 95,"wght" 700;font-size:14px;color:var(--ws-plum-ink);font-weight:700}.ak-fact-row span{font-family:'Instrument Serif',Georgia,serif;font-style:italic;font-size:13px;color:var(--ws-plum-mute)}.ak-fact-row:nth-child(2) strong{color:var(--ws-mauve-deep)}.ak-fact-row:nth-child(3) strong{color:var(--ws-peach-deep)}.ak-fact-row:nth-child(4) strong{color:var(--ws-sage-deep)}.ak-fact-row:nth-child(5) strong{color:var(--ws-rose-deep)}.ak-fact-row:nth-child(6) strong{color:var(--ws-blue-deep)}.ak-story-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:0 0 36px}.ak-story{background:radial-gradient(280px 220px at 88% 12%,var(--ak-c-soft),transparent 60%),linear-gradient(180deg,#fff,var(--ws-cream-2));border-radius:14px;padding:28px 30px;position:relative;box-shadow:inset 0 0 0 1px rgba(255,255,255,.55),0 1px 2px rgba(42,30,46,.06),0 8px 18px -10px rgba(42,30,46,.15)}.ak-story::before{content:"";position:absolute;inset:0;border-radius:14px;border:1px solid var(--ak-c-line);opacity:.4;pointer-events:none}.ak-s-1{--ak-c:var(--ws-peach-deep);--ak-c-soft:rgba(245,205,176,.5);--ak-c-line:rgba(201,138,92,.3)}.ak-s-2{--ak-c:var(--ws-sage-deep);--ak-c-soft:rgba(194,214,192,.5);--ak-c-line:rgba(111,140,110,.3)}.ak-s-3{--ak-c:var(--ws-mauve-deep);--ak-c-soft:rgba(212,192,230,.5);--ak-c-line:rgba(142,111,174,.3)}.ak-s-4{--ak-c:var(--ws-rose-deep);--ak-c-soft:rgba(240,197,204,.5);--ak-c-line:rgba(184,112,128,.3)}.ak-s-5{--ak-c:var(--ws-blue-deep);--ak-c-soft:rgba(192,212,230,.5);--ak-c-line:rgba(93,122,158,.3)}.ak-s-6{--ak-c:var(--ws-gold-warm);--ak-c-soft:rgba(244,227,184,.5);--ak-c-line:rgba(184,146,74,.3)}.ak-story .ak-skicker{font-family:'Instrument Serif',Georgia,serif;font-style:italic;font-size:13px;letter-spacing:.25em;text-transform:uppercase;color:var(--ak-c);margin:0 0 6px}.ak-story h3{font-family:'Bricolage Grotesque',system-ui,sans-serif;font-variation-settings:"wdth" 95,"wght" 700;font-size:24px;letter-spacing:-.02em;line-height:1.15;margin:0 0 14px;color:var(--ws-plum-ink);font-weight:700}.ak-story h3 em{font-family:'Instrument Serif',Georgia,serif;font-style:italic;font-weight:400;color:var(--ak-c)}.ak-story p{font-family:'Plus Jakarta Sans',Inter,system-ui,sans-serif;font-size:15px;line-height:1.78;color:var(--ws-plum-soft);margin:0 0 12px}.ak-story p:last-child{margin-bottom:0}.ak-story em,.ak-story i{font-family:'Instrument Serif',Georgia,serif;font-style:italic;color:var(--ak-c);font-size:16.5px}.ak-story a{color:var(--ak-c);text-decoration:none;font-weight:600;border-bottom:1px solid var(--ak-c-line);padding-bottom:1px;transition:border-color .2s,color .2s}.ak-story a:hover{color:var(--ws-rose-deep);border-color:var(--ws-rose-deep)}.ak-foot{margin:0;padding:28px 0 0;border-top:1px solid rgba(42,30,46,.15);display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px}.ak-foot-script{font-family:Caveat,cursive;font-weight:600;font-size:36px;color:var(--ws-rose-deep);transform:rotate(-2deg);display:inline-block;line-height:1;margin:0}.ak-foot-meta{font-family:'Plus Jakarta Sans',Inter,system-ui,sans-serif;font-size:11px;letter-spacing:.25em;text-transform:uppercase;color:var(--ws-plum-mute);font-weight:600;margin:0}@media (max-width:840px){.ak-layout{grid-template-columns:1fr}.ak-aside{order:-1;flex-direction:row;flex-wrap:wrap;justify-content:center;position:static}.ak-fact-card,.ak-polaroid{max-width:300px;flex:1 1 240px}.ak-story-grid{grid-template-columns:1fr}}


.br-audio-snippets {
  position: relative;
  margin: 8px 0 2px;
  border-radius: 22px;
  overflow: hidden;
  background: var(--theme-accordion-bg, radial-gradient(circle at top left, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0) 38%), linear-gradient(180deg, rgba(255, 249, 240, 0.98) 0%, rgba(244, 234, 220, 0.98) 100%));
  border: 1px solid var(--theme-accordion-border, rgba(182, 132, 51, 0.18));
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.15);
  padding: 18px 20px 16px;
  font-family: 'Open Sans', sans-serif;
}
.br-audio-snippets::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  pointer-events: none;
}

.br-audio-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.br-audio-kicker {
  font-family: 'Open Sans', sans-serif;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--theme-kicker, #a2752b);
}
.br-audio-title {
  margin: 0;
  font-family: 'GFS Didot', 'Open Sans', sans-serif;
  font-size: 17px;
  font-weight: normal;
  letter-spacing: 0.02em;
  color: var(--theme-title, #2f2a25);
}

.br-audio-deck {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 14px;
}
@media (max-width: 600px) {
  .br-audio-deck { grid-template-columns: auto 1fr; gap: 12px; }
  .br-audio-eq { display: none; }
}

.br-audio-eq {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  width: 46px;
  height: 32px;
  flex: none;
}
.br-audio-eq i {
  display: block;
  width: 4px;
  height: 30%;
  background: color-mix(in srgb, var(--theme-kicker, #a2752b) 65%, transparent);
  border-radius: 1px;
  transform-origin: bottom center;
}
.br-audio-snippets.is-playing .br-audio-eq i {
  animation: brAudioEq 1s ease-in-out infinite;
}
.br-audio-snippets.is-playing .br-audio-eq i:nth-child(1) { animation-delay: 0s;   animation-duration: .95s; }
.br-audio-snippets.is-playing .br-audio-eq i:nth-child(2) { animation-delay: .12s; animation-duration: .85s; }
.br-audio-snippets.is-playing .br-audio-eq i:nth-child(3) { animation-delay: .24s; animation-duration: 1.05s; }
.br-audio-snippets.is-playing .br-audio-eq i:nth-child(4) { animation-delay: .06s; animation-duration: .75s; }
.br-audio-snippets.is-playing .br-audio-eq i:nth-child(5) { animation-delay: .18s; animation-duration: .95s; }
.br-audio-snippets.is-playing .br-audio-eq i:nth-child(6) { animation-delay: .30s; animation-duration: 1.10s; }
.br-audio-snippets.is-playing .br-audio-eq i:nth-child(7) { animation-delay: .10s; animation-duration: .80s; }
@keyframes brAudioEq {
  0%, 100% { height: 25%; }
  50%      { height: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .br-audio-snippets.is-playing .br-audio-eq i { animation: none; height: 60%; }
}

.br-audio-play {
  position: relative;
  flex: none;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: var(--theme-close-bg, rgba(255, 255, 255, 0.78));
  color: var(--theme-close-color, #6c5835);
  border: 1px solid var(--theme-border, rgba(182, 132, 51, 0.35));
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  transition: background .25s ease, border-color .25s ease, color .25s ease, transform .15s ease, box-shadow .25s ease;
}
.br-audio-play:hover {
  background: var(--theme-close-hover-bg, #fff);
  border-color: var(--theme-border-hover, rgba(182, 132, 51, 0.55));
  color: var(--theme-close-hover-color, #1a1510);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}
.br-audio-play:active { transform: translateY(0); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); }
.br-audio-play:focus-visible { outline: 2px solid var(--theme-kicker, #a2752b); outline-offset: 3px; }
.br-audio-snippets.is-playing .br-audio-play {
  background: var(--theme-kicker, #a2752b);
  color: #fff;
  border-color: var(--theme-kicker, #a2752b);
}
.br-audio-icon {
  width: 22px;
  height: 22px;
  display: block;
}
.br-audio-icon-pause { display: none; }
.br-audio-snippets.is-playing .br-audio-icon-play { display: none; }
.br-audio-snippets.is-playing .br-audio-icon-pause { display: block; }
.br-audio-play-ring {
  position: absolute;
  inset: -4px;
  border: 1px solid color-mix(in srgb, var(--theme-kicker, #a2752b) 50%, transparent);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
}
.br-audio-snippets.is-playing .br-audio-play-ring {
  opacity: 1;
  animation: brAudioPulse 2s ease-out infinite;
}
@keyframes brAudioPulse {
  0%   { transform: scale(1);    opacity: .55; }
  100% { transform: scale(1.35); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .br-audio-snippets.is-playing .br-audio-play-ring { animation: none; }
}

.br-audio-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.br-audio-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.br-audio-track-label {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--theme-title, #2f2a25);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.br-audio-times {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Open Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--theme-text, #5d554d);
  flex: none;
  font-variant-numeric: tabular-nums;
  opacity: 0.78;
}
.br-audio-time-sep { opacity: .5; }

.br-audio-progress {
  position: relative;
  height: 18px;
  display: flex;
  align-items: center;
}
.br-audio-progress-track {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 3px;
  background: color-mix(in srgb, var(--theme-text, #5d554d) 14%, transparent);
  border-radius: 2px;
  overflow: hidden;
}
.br-audio-progress-buffered {
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  width: 0%;
  background: color-mix(in srgb, var(--theme-text, #5d554d) 22%, transparent);
  transition: width .25s linear;
}
.br-audio-progress-fill {
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, color-mix(in srgb, var(--theme-kicker, #a2752b) 75%, transparent) 0%, var(--theme-kicker, #a2752b) 100%);
  transition: width .12s linear;
}
.br-audio-progress-thumb {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 12px;
  height: 12px;
  background: var(--theme-close-bg, #fff);
  border: 2px solid var(--theme-kicker, #a2752b);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  transition: opacity .2s ease;
}
.br-audio-progress:hover .br-audio-progress-thumb,
.br-audio-snippets.is-playing .br-audio-progress-thumb { opacity: 1; }
.br-audio-seek {
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  opacity: 0;
}
.br-audio-seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px; height: 18px;
  background: transparent;
  cursor: pointer;
}
.br-audio-seek::-moz-range-thumb {
  width: 18px; height: 18px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.br-audio-tracks {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 16px 0 0;
  padding: 14px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px dashed var(--theme-accordion-border, rgba(182, 132, 51, 0.22));
}
.br-audio-tracks li { margin: 0; padding: 0; }
.br-audio-track {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 10px 14px;
  background: color-mix(in srgb, var(--theme-title, #2f2a25) 4%, transparent);
  color: var(--theme-text, #5d554d);
  border: 1px solid var(--theme-accordion-border, rgba(182, 132, 51, 0.18));
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.br-audio-track:hover {
  background: color-mix(in srgb, var(--theme-title, #2f2a25) 8%, transparent);
  border-color: var(--theme-border-hover, rgba(182, 132, 51, 0.45));
  color: var(--theme-title, #2f2a25);
}
.br-audio-track:focus-visible {
  outline: 1px solid var(--theme-kicker, #a2752b);
  outline-offset: 2px;
}
.br-audio-track.is-active {
  background: linear-gradient(90deg, color-mix(in srgb, var(--theme-kicker, #a2752b) 16%, transparent) 0%, color-mix(in srgb, var(--theme-kicker, #a2752b) 4%, transparent) 100%);
  border-color: var(--theme-kicker, #a2752b);
  color: var(--theme-title, #2f2a25);
}
.br-audio-track-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 30px;
  height: 30px;
  font-family: 'GFS Didot', 'Open Sans', sans-serif;
  font-size: 14px;
  color: var(--theme-kicker, #a2752b);
  background: color-mix(in srgb, var(--theme-title, #2f2a25) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--theme-kicker, #a2752b) 35%, transparent);
  border-radius: 50%;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.br-audio-track.is-active .br-audio-track-num {
  background: var(--theme-kicker, #a2752b);
  color: #fff;
  border-color: var(--theme-kicker, #a2752b);
}
.br-audio-track-name {
  flex: 1;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.br-audio-track-state {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--theme-kicker, #a2752b);
}
.br-audio-track-icon { width: 14px; height: 14px; display: block; }
.br-audio-track-bars {
  display: none;
  align-items: flex-end;
  gap: 2px;
  width: 14px;
  height: 12px;
}
.br-audio-track-bars i {
  display: block;
  width: 2px;
  height: 30%;
  background: var(--theme-kicker, #a2752b);
  border-radius: 1px;
}
.br-audio-snippets.is-playing .br-audio-track.is-active .br-audio-track-icon { display: none; }
.br-audio-snippets.is-playing .br-audio-track.is-active .br-audio-track-bars { display: flex; }
.br-audio-snippets.is-playing .br-audio-track.is-active .br-audio-track-bars i {
  animation: brAudioMiniEq .9s ease-in-out infinite;
}
.br-audio-snippets.is-playing .br-audio-track.is-active .br-audio-track-bars i:nth-child(1) { animation-delay: 0s;   }
.br-audio-snippets.is-playing .br-audio-track.is-active .br-audio-track-bars i:nth-child(2) { animation-delay: .12s; }
.br-audio-snippets.is-playing .br-audio-track.is-active .br-audio-track-bars i:nth-child(3) { animation-delay: .24s; }
.br-audio-snippets.is-playing .br-audio-track.is-active .br-audio-track-bars i:nth-child(4) { animation-delay: .06s; }
@keyframes brAudioMiniEq {
  0%, 100% { height: 25%; }
  50%      { height: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .br-audio-snippets.is-playing .br-audio-track.is-active .br-audio-track-bars i { animation: none; height: 60%; }
}

.br-audio-snippets audio[data-audio-element] { display: none; }

.br-audio-snippets.has-error .br-audio-play { opacity: .5; pointer-events: none; }
.br-audio-snippets.has-error .br-audio-track-label { opacity: 0.6; }

.br-audio-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
}
.br-audio-narrator-line {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}
.br-audio-narrator-prefix {
  font-family: 'GFS Didot', 'Open Sans', sans-serif;
  font-size: 16px;
  font-weight: normal;
  color: var(--theme-text, #5d554d);
  opacity: 0.7;
}
.br-audio-narrator-name {
  font-family: 'GFS Didot', 'Open Sans', sans-serif;
  font-size: 17px;
  font-weight: normal;
  letter-spacing: 0.02em;
  color: var(--theme-title, #2f2a25);
  white-space: nowrap;
}
a.br-audio-narrator-name {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--theme-kicker, #a2752b);
  text-decoration-color: color-mix(in srgb, var(--theme-kicker, #a2752b) 50%, transparent);
  transition: color .2s ease, text-decoration-color .2s ease;
}
a.br-audio-narrator-name:hover {
  color: var(--theme-kicker, #a2752b);
  text-decoration-color: var(--theme-kicker, #a2752b);
}
.br-audio-narrator-socials {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 2px;
}
.br-audio-narrator-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--theme-accordion-border, rgba(182, 132, 51, 0.28));
  background: rgba(255, 255, 255, 0.45);
  color: var(--theme-kicker, #a2752b);
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.br-audio-narrator-social:hover {
  transform: translateY(-1px);
  background: var(--theme-kicker, #a2752b);
  color: #fff;
  border-color: var(--theme-kicker, #a2752b);
}
.br-audio-narrator-social:active { transform: translateY(0); }
.br-audio-narrator-icon { width: 13px; height: 13px; display: block; }

.br-audio-title-meta {
  font-family: 'Open Sans', sans-serif;
  font-size: 11px;
  font-weight: normal;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--theme-text, #5d554d);
  opacity: 0.55;
}

.br-audio-track-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
  text-align: left;
}
.br-audio-track-body .br-audio-track-name {
  flex: none;
  display: block;
}
.br-audio-track-narrator {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 6px;
  font-family: 'GFS Didot', 'Open Sans', sans-serif;
  font-size: 12.5px;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.3;
  margin-top: 2px;
  font-weight: normal;
  color: var(--theme-text, #5d554d);
  opacity: 0.85;
}
.br-audio-track-narrator-name {
  font-size: 12.5px;
  white-space: nowrap;
  font-weight: normal;
}
a.br-audio-track-narrator-name {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  text-decoration-color: color-mix(in srgb, var(--theme-kicker, #a2752b) 40%, transparent);
}
a.br-audio-track-narrator-name:hover {
  color: var(--theme-kicker, #a2752b);
  text-decoration-color: var(--theme-kicker, #a2752b);
}
.br-audio-track-narrator .br-audio-narrator-socials {
  margin-left: 0;
}
.br-audio-track-narrator .br-audio-narrator-social {
  width: 22px;
  height: 22px;
}
.br-audio-track-narrator .br-audio-narrator-icon {
  width: 11px;
  height: 11px;
}

@media (max-width: 600px) {
  .br-audio-narrator-name { white-space: normal; }
  .br-audio-narrator-line { gap: 2px 6px; }
  .br-audio-narrator-social { width: 24px; height: 24px; }
}

.book-reader-preview-chapter h1,
.book-reader-preview-chapter h2,
.book-reader-preview-chapter h3,
.book-reader-preview-chapter h4,
.book-reader-preview-chapter h5,
.book-reader-preview-chapter h6 {
  color: var(--theme-text, #5d554d) !important;
}

.cover-only-card { isolation: isolate; }

.br-prelaunch-stamp {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px 4px 7px;
  background: rgba(255, 251, 244, 0.94);
  border: 1px solid rgba(162, 117, 43, 0.55);
  border-radius: 2px;
  font-family: 'Open Sans', sans-serif;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8a5f1f;
  box-shadow: 0 2px 5px rgba(33, 25, 13, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  transform: rotate(-2deg);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.br-prelaunch-stamp__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c49a4f;
  flex-shrink: 0;
}
.br-prelaunch-stamp__label {
  display: inline-block;
  line-height: 1;
}

.book-detail-cover {
  position: relative;
}
.book-detail-cover .br-prelaunch-stamp {
  top: 12px;
  left: 12px;
  padding: 5px 10px 5px 9px;
  font-size: 9.5px;
  letter-spacing: 0.24em;
}
.book-detail-cover .br-prelaunch-stamp__dot {
  width: 5px;
  height: 5px;
}

#book-detail .book-cover {
  position: relative;
}

.br-prelaunch-notice {
  margin: 4px 0 14px;
  padding: 11px 14px 11px 16px;
  border-left: 2px solid var(--theme-border, rgba(196, 154, 79, 0.55));
  background: var(--theme-accordion-bg, linear-gradient(180deg, rgba(255, 249, 240, 0.7), rgba(244, 234, 220, 0.4)));
  border-radius: 4px;
  border-top: 1px solid var(--theme-accordion-border, rgba(196, 154, 79, 0.18));
  border-right: 1px solid var(--theme-accordion-border, rgba(196, 154, 79, 0.18));
  border-bottom: 1px solid var(--theme-accordion-border, rgba(196, 154, 79, 0.18));
}
.br-prelaunch-notice__kicker {
  margin: 0 0 5px;
  font-family: 'Open Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--theme-kicker, #a2752b);
}
.br-prelaunch-notice__body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  line-height: 1.55;
  color: var(--theme-text, #6c5835);
  font-style: italic;
}
.br-prelaunch-notice__body p { margin: 0 0 6px; }
.br-prelaunch-notice__body p:last-child { margin-bottom: 0; }
.br-prelaunch-notice__footer {
  margin: 7px 0 0;
  font-size: 11px;
  color: var(--theme-text, #8e7e6a);
  opacity: 0.75;
  font-style: italic;
}

@media (max-width: 600px) {
  .br-prelaunch-stamp {
    top: 6px;
    left: 6px;
    padding: 3px 6px 3px 5px;
    font-size: 7.5px;
    letter-spacing: 0.2em;
  }
  .br-prelaunch-stamp__dot {
    width: 3px;
    height: 3px;
  }
  .book-detail-cover .br-prelaunch-stamp {
    top: 10px;
    left: 10px;
    padding: 4px 8px 4px 7px;
    font-size: 9px;
  }
  .br-prelaunch-notice {
    padding: 10px 12px 10px 14px;
  }
  .br-prelaunch-notice__body {
    font-size: 12.5px;
  }
}

.autor-kombi,
.autor-kombi p,
.autor-kombi h1,
.autor-kombi h3,
.autor-kombi .ak-q-text,
.autor-kombi .ak-skicker,
.autor-kombi .ak-polaroid-cap,
.autor-kombi .ak-fact-row strong,
.autor-kombi .ak-fact-row span {
  overflow-wrap: anywhere;
  -webkit-hyphens: auto;
  hyphens: auto;
}
.autor-kombi .ak-aside,
.autor-kombi .ak-fact-card,
.autor-kombi .ak-polaroid,
.autor-kombi .ak-fact-row,
.autor-kombi .ak-fact-row strong,
.autor-kombi .ak-fact-row span {
  min-width: 0;
}

#imprint-modal .modal-content,
#privacy-modal .modal-content {
  width: min(92vw, 720px);
  max-width: 720px;
  max-height: 85vh;
  padding: 0;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(520px 380px at 8% 6%, rgba(245, 205, 176, 0.35), transparent 60%),
    radial-gradient(480px 360px at 92% 14%, rgba(212, 192, 230, 0.32), transparent 60%),
    radial-gradient(420px 320px at 6% 76%, rgba(240, 197, 204, 0.28), transparent 60%),
    radial-gradient(440px 340px at 94% 86%, rgba(194, 214, 192, 0.25), transparent 60%),
    var(--ws-cream, #fbf8ef);
  color: var(--ws-plum-soft, #4a3a4f);
  box-shadow: 0 32px 80px rgba(42, 30, 46, 0.18);
  font-family: 'Plus Jakarta Sans', Inter, system-ui, sans-serif;
}
#imprint-modal .modal-scroll,
#privacy-modal .modal-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 50px 44px 42px;
}
#imprint-modal h2,
#privacy-modal h2 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.06;
  margin: 0 0 24px;
  color: var(--ws-plum-ink, #2a1e2e);
}
#imprint-modal p,
#privacy-modal p {
  font-size: 15px;
  line-height: 1.72;
  color: var(--ws-plum-soft, #4a3a4f);
  overflow-wrap: anywhere;
}
#imprint-modal strong,
#privacy-modal strong {
  color: var(--ws-plum-ink, #2a1e2e);
}
#imprint-modal a,
#privacy-modal a {
  color: var(--ws-mauve-deep, #8e6fae);
  text-decoration: none;
  border-bottom: 1px solid rgba(142, 111, 174, 0.4);
  word-break: break-word;
}
#imprint-modal a:hover,
#privacy-modal a:hover {
  color: var(--ws-rose-deep, #b87080);
  border-color: var(--ws-rose-deep, #b87080);
}
#imprint-close,
#privacy-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(214, 175, 103, 0.2);
  color: #8a7a66;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(46, 37, 23, 0.08);
  z-index: 5;
}
#imprint-close:hover,
#privacy-close:hover {
  background: #fff;
  border-color: rgba(154, 121, 50, 0.6);
}

.autor-kombi .ak-polaroid-cap {
  margin-top: 18px;
}

.theme-autor-light .autor-kombi .ak-aside {
  position: sticky !important;
  top: 64px !important;
  align-self: start !important;
}

@media (max-width: 768px) {
  #author-modal,
  #imprint-modal,
  #privacy-modal {
    padding: 0 !important;
  }
  #author-modal .modal-content,
  #imprint-modal .modal-content,
  #privacy-modal .modal-content {
    width: 100% !important;
    max-width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100vh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
    margin: 0 !important;
  }
  .theme-autor-light #author-content.expose-page-shell {
    padding: 46px 16px 40px !important;
  }
  #imprint-modal .modal-scroll,
  #privacy-modal .modal-scroll {
    padding: 54px 18px 40px !important;
  }
  .theme-autor-light .autor-kombi .ak-aside {
    position: static !important;
    top: auto !important;
  }
}
