:root {
  color-scheme: dark;
  --ink: #f3efdf;
  --muted: #b9baaf;
  --line: #ffffff20;
  --gold: #dec387;
  --header: 77px;
  --gutter-left: clamp(82px, 12vw, 175px);
  --gutter-right: clamp(29px, 7vw, 104px);
  font: 15px/1.5 system-ui, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(ellipse at 13% 0%, #28352b 0, transparent 49%),
              radial-gradient(ellipse at 88% 68%, #252839 0, transparent 64%),
              #181b24;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
[hidden] { display: none !important; }
.masthead {
  position: relative;
  z-index: 4;
  min-height: var(--header);
  border-bottom: 1px solid #c5bf9d29;
  background: #111515;
}
.masthead-inner {
  min-height: var(--header);
  max-width: 1600px;
  padding-inline: var(--gutter-left) var(--gutter-right);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand span {
  font: bold 20px/.98 Georgia, serif;
  letter-spacing: .085em;
  text-transform: uppercase;
}
.brand small {
  display: block;
  margin-top: 6px;
  color: #c8c7b9;
  font: 10px/1 system-ui, sans-serif;
  letter-spacing: .19em;
}
.masthead-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.home-menu-trigger, .home-icon-shortcut {
  display: inline-grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #c5bc9558;
  border-radius: 6px;
  background: #1b211f;
  color: var(--ink);
}
.home-menu-trigger > .icon { width: 21px; height: 21px; }
.home-icon-shortcut img { display: block; object-fit: contain; }
.home-literuninho-shortcut img { width: 27px; height: 27px; }
.home-icon-shortcut:hover { border-color: var(--gold); }
.home-menu-trigger:hover, .home-menu-trigger[aria-expanded="true"] {
  border-color: var(--gold);
  color: var(--gold);
}
#lnSideDrawerCombined[aria-hidden="true"] { visibility: hidden; }
.bookmarks {
  position: sticky;
  top: 20px;
  z-index: 3;
  grid-area: 1 / 1;
  justify-self: start;
  width: max-content;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 8px;
  margin-top: 38px;
  margin-left: clamp(24px, 2.4vw, 34px);
  align-self: start;
}
.bookmark {
  --tone: #232c28;
  --accent: #a4ba95;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  width: 49px;
  padding: 15px 12px;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 69%);
  background: var(--tone);
  box-shadow: 3px 3px 9px #0003, inset 3px 0 9px #0002;
  color: #f3efdf;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  border-right: 2px solid var(--accent);
  border-radius: 7px 2px 2px 7px;
  font-size: 12px;
  font-weight: 630;
  letter-spacing: .025em;
  transition: width .19s ease, background .19s ease, box-shadow .19s ease;
}
.bookmark[data-page="atividades"] { --tone: #393027; --accent: #c3a079; }
.bookmark[data-page="autores"] { --tone: #382a36; --accent: #c79bb6; }
.bookmark[data-page="influenciadores"] { --tone: #263341; --accent: #9fb4cf; }
.bookmark[aria-current="page"] {
  width: 59px;
  color: #17251d;
  background: #dce3cb;
  border-color: #c9d4b4;
  box-shadow: 0 3px 13px #06100969;
}
.bookmark:hover:not([aria-current]) {
  width: 56px;
  background: color-mix(in srgb, var(--tone), var(--accent) 17%);
}
.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bookmark .icon { width: 15px; height: 15px; transform: rotate(180deg); opacity: .9; }
.layout {
  display: grid;
  grid-template-columns: var(--gutter-left) minmax(0, 1fr);
  max-width: 1600px;
  margin-inline: auto;
}
main {
  min-width: 0;
  grid-area: 1 / 2;
  padding: 33px var(--gutter-right) 56px 0;
}
.page { min-width: 0; }
.page.arriving { animation: page-open .33s cubic-bezier(.21,.75,.32,1) both; }
@keyframes page-open {
  from { opacity: 0; transform: translateX(-32px); }
  to { opacity: 1; transform: translateX(0); }
}
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 { font-family: Georgia, serif; font-weight: normal; }
h1 { font-size: clamp(31px, 3.5vw, 45px); line-height: 1.13; letter-spacing: -.029em; }
h2 { font-size: clamp(22px, 2.5vw, 28px); line-height: 1.16; letter-spacing: -.025em; }
h1:focus { outline: none; }
.intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 61px;
  padding-bottom: 19px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.search-box { width: min(380px, 100%); position: relative; color: var(--muted); z-index: 2; }
.search-box .ln-home-book-search { margin: 0; }
.search-box .ln-home-book-search .cardx { background: none; border: 0; padding: 0; border-radius: 0; backdrop-filter: none; }
.search-box .ln-home-book-search .title, .search-box .ln-home-book-search .hint { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
.search-box .ln-home-book-search .results { left: 0; right: 0; margin: 0; top: calc(100% + 5px); }
.search-box > .icon { z-index: 1; }
.search-box > .icon { position: absolute; top: 12px; left: 13px; pointer-events: none; }
.search-box .ln-home-book-search input {
  width: 100%;
  height: 43px;
  padding: 0 12px 0 40px;
  border: 1px solid #d0d6c837;
  border-radius: 6px;
  color: var(--ink);
  background: #1017139e;
}
.search-box .ln-home-book-search input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.search-box .ln-home-book-search input::placeholder { color: #b6bbae; opacity: 1; }
.shelf, .shelves .chapter-strip { margin-bottom: 26px; }
.shelf-top--filter { flex-wrap: wrap; }
.genre-filter {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-inline-start: auto;
  min-width: 0;
  font-size: 13px;
  color: var(--muted);
}
.genre-filter select, .genre-filter button {
  min-height: 38px;
  border: 1px solid #c5bc9558;
  border-radius: 5px;
  padding: 6px 8px;
  background: #1b211f;
  color: var(--ink);
  font: inherit;
}
.genre-filter select { min-width: 0; max-width: min(55vw, 210px); }
.genre-filter button { color: var(--gold); }
.shelf-empty { color: var(--muted); }
.home-hot-access {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  margin-top: 22px;
  border: 1px solid #bd72687a;
  border-radius: 7px;
  background: #282024;
}
.home-hot-access:hover { border-color: #ea9b89; }
.home-hot-access img { display: block; object-fit: contain; }
.home-hot-access strong, .home-hot-access small { display: block; }
.home-hot-access small { color: #d3baaf; font-size: 12px; }
.home-hot-access .icon { color: var(--gold); }
@media (max-width: 610px) {
  .genre-filter { order: 3; flex-basis: 100%; margin-inline-start: 0; }
  .genre-filter select { flex: 1; max-width: 100%; }
}
.shelf-top, .shelves .chapter-strip-head {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  margin-bottom: 12px;
}
.shelves .chapter-strip-head > a { color: var(--gold); font-size: 13px; margin-left: auto; white-space: nowrap; }
.shelves .chapter-strip-head > a:hover { text-decoration: underline; }
.shelf-actions { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.all-books { padding: 6px 7px; color: var(--gold); font-size: 13px; white-space: nowrap; }
.turn {
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  border-radius: 5px;
  border: 1px solid #d0d6c83d;
  background: #141b19a1;
  color: var(--ink);
}
.turn:hover:enabled { background: #304034; }
.turn:disabled { opacity: .38; }
.turn .icon { width: 16px; height: 16px; }
.covers, .shelves .chapter-strip-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 90px) / 6);
  gap: 18px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}
.covers::-webkit-scrollbar, .shelves .chapter-strip-grid::-webkit-scrollbar { display: none; }
.book, .chapter-cover-card {
  scroll-snap-align: start;
  min-width: 0;
  padding: 2px 2px 8px;
  display: flex;
  flex-direction: column;
}
.book:focus-visible, .chapter-cover-card:focus-visible { outline-offset: -2px; }
.cover, .chapter-cover-frame > img {
  width: 100%;
  height: auto;
  aspect-ratio: 0.72;
  display: block;
  object-fit: contain;
  background: #171a1e;
  border: 1px solid #e0dab02b;
  border-radius: 4px;
  box-shadow: 0 4px 9px #090c113b;
  transition: border-color .18s ease;
}
.book:hover .cover, .chapter-cover-card:hover .chapter-cover-frame > img { border-color: var(--gold); }
.book-name, .chapter-cover-card > strong {
  display: block;
  margin-top: 9px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 640;
}
.book-meta, .chapter-cover-card > span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: 12px;
  margin-top: 1px;
}
.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-block: 3px 7px;
  font-size: 13px;
  color: var(--gold);
}
.back .icon { width: 15px; height: 15px; }
.section-heading { margin: 9px 0 23px; padding-bottom: 19px; border-bottom: 1px solid var(--line); }
.feature {
  display: grid;
  grid-template-columns: 44% 1fr;
  overflow: hidden;
  background: #f0ebde;
  color: #25241d;
  border-radius: 7px;
  border: 1px solid #d8c9a4;
}
.feature > img { width: 100%; height: 100%; min-height: 240px; aspect-ratio: 1.85; object-fit: cover; }
.feature-body { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(23px, 3.2vw, 47px); }

.feature h2 { font-size: clamp(25px, 3vw, 36px); max-width: 550px; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 650;
  margin-top: 17px;
}
.card-link .icon { width: 15px; height: 15px; }
.feature:hover .card-link { text-decoration: underline; }
.group { margin-top: 31px; }
.card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 13px; }
.card {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: flex-start;
  min-height: 155px;
  overflow: hidden;
  padding: 19px;
  background: #252c2b;
  border: 1px solid #bfc1a739;
  border-radius: 7px;
}
.card-grid > :nth-child(2) { background: #302c31; }
.card-grid > :nth-child(3) { background: #282d37; }
.card:hover { border-color: #b5ab82; }
.card h3 { font: normal 20px/1.19 Georgia, serif; }
.card p { margin: 8px 0 15px; color: #d0cec4; font-size: 13px; }
.card .card-link { margin-top: auto; color: var(--gold); }
.activity-card {
  display: grid;
  grid-template-columns: clamp(58px, 32%, 118px) minmax(0, 1fr);
  align-items: stretch;
  gap: 14px;
}
.online-profiles {
  margin: 0 0 24px;
  padding: 16px 19px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #1b211f;
}
.online-profiles p { margin: 8px 0 4px; color: var(--muted); font-size: 13px; }
.online-profiles-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 13px;
  margin: 7px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 11px;
}
.online-profiles-legend li { display: flex; align-items: center; gap: 5px; }
.online-status-dot {
  display: inline-block;
  box-sizing: border-box;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #78dba0;
}
.online-status-dot--recent { background: #f6cc59; }
.online-profiles-list {
  display: flex;
  gap: 11px;
  overflow-x: auto;
  padding: 10px 4px 7px;
  scrollbar-width: thin;
  scrollbar-color: #a4ba9570 transparent;
}
.online-profile {
  flex: 0 0 78px;
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 5px;
}
.online-profile-avatar { position: relative; }
.online-profile-avatar .online-status-dot {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 14px;
  height: 14px;
  border: 2px solid #1b211f;
}
.online-profile img {
  display: block;
  width: 54px;
  height: 54px;
  object-fit: cover;
  border: 2px solid #a4ba95;
  border-radius: 50%;
  background: #2b3832;
}
.online-profile-name {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: 11px;
}
.online-profile:hover .online-profile-name, .online-profile:focus-visible .online-profile-name { color: var(--ink); }
.activities-featured {
  margin: 0 0 24px;
}
.activities-featured .card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.activities-featured .activity-card {
  grid-template-columns: clamp(58px, 29%, 132px) minmax(0, 1fr);
  border-color: #b5ab826e;
}
.activities-featured .activity-card:hover {
  border-color: var(--gold);
}
.activity-visual {
  position: relative;
  align-self: start;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid #ffffff20;
  border-radius: 5px;
  background: #171c21;
}
.activity-visual img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.activity-visual--crop img { object-fit: cover; }
.activity-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}
.activity-copy h3 { text-wrap: wrap; }
.activity-copy .card-link { gap: 6px; }
@media (max-width: 610px) {
  .activity-card { gap: 11px; }
  .activities-featured .card-grid { grid-template-columns: minmax(0, 1fr); }
}
.feature-community { background: #dde5d4; border-color: #a9ba9a; }
.feature-community > img { object-fit: contain; height: 245px; padding: 23px; background: #c1d1bf; }
.feature-author { background: #e9e0d3; border-color: #d1bda5; }
.feature-author > img { padding: 47px; background: radial-gradient(ellipse at 48% 48%, #5b414e, #2f252f 77%); }
.feature-community p { margin: 9px 0 0; color: #354535; max-width: 470px; }

@media (max-width: 1090px) {
  .covers, .shelves .chapter-strip-grid { grid-auto-columns: calc((100% - 64px) / 5); gap: 16px; }
}
@media (max-width: 840px) {
  :root { --gutter-left: 94px; }
  .bookmarks { margin-left: 16px; }
  .covers, .shelves .chapter-strip-grid { grid-auto-columns: calc((100% - 42px) / 4); gap: 14px; }
  .card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 610px) {
  :root { --header: 63px; --gutter-left: 61px; --gutter-right: 14px; }
  .masthead-inner { padding-left: 12px; gap: 7px; }
  .brand { gap: 7px; }
  .brand img { width: 38px; height: 38px; }
  .brand span { font-size: 16px; }
  .brand small { font-size: 8px; letter-spacing: .13em; margin-top: 5px; }
  .masthead-actions { gap: 5px; }
  .bookmarks { top: 12px; margin: 19px 0 0 5px; gap: 6px; }
  .bookmark { width: 39px; padding: 11px 8px; font-size: 11px; gap: 7px; }
  .bookmark[aria-current="page"] { width: 46px; }
  .bookmark:hover:not([aria-current]) { width: 43px; }
  .bookmark .icon { width: 14px; height: 14px; }
  main { padding-top: 16px; padding-bottom: 36px; }
  .intro { align-items: stretch; flex-direction: column; gap: 12px; margin-bottom: 12px; padding-bottom: 14px; }
  .shelf, .shelves .chapter-strip { margin-bottom: 20px; }
  .shelf-top, .shelves .chapter-strip-head { padding-top: 2px; gap: 5px; margin-bottom: 8px; }
  .shelf-top h2, .shelves .chapter-strip-head h2 { font-size: 20px; }
  .shelf-actions { gap: 4px; }
  .all-books, .shelves .chapter-strip-head > a { font-size: 11px; padding: 5px 3px; }
  .turn { width: 28px; height: 30px; }
  .turn .icon { width: 13px; height: 13px; }
  .covers, .shelves .chapter-strip-grid { grid-auto-columns: min(39%, 158px); gap: 9px; }
  .book-name, .chapter-cover-card > strong { font-size: 12px; margin-top: 6px; }
  .book-meta, .chapter-cover-card > span { font-size: 11px; }
  .section-heading { margin: 7px 0 15px; padding-bottom: 14px; }
  .feature { grid-template-columns: minmax(0,1fr); }
  .feature > img { min-height: 0; height: auto; aspect-ratio: 1.86; }
  .feature-body { padding: 16px; }
  .feature h2 { font-size: 24px; }
  .feature-community > img { height: 145px; padding: 10px; }
  .feature-author > img { padding: 23px; }
  .group { margin-top: 21px; }
  .card-grid { grid-template-columns: minmax(0,1fr); gap: 8px; margin-top: 9px; }
  .card { min-height: auto; padding: 14px; }
  .card p { margin: 6px 0 10px; }
}
@media (max-width: 365px) {
  .brand { gap: 6px; }
  .brand img { width: 34px; height: 34px; }
  .brand span { font-size: 14px; letter-spacing: .05em; }
  .masthead-actions { gap: 4px; }
  .shelf-top h2, .shelves .chapter-strip-head h2 { font-size: 18px; }
  .shelf-top .all-books { font-size: 10px; }
  .turn { width: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .page.arriving { animation: none; }
  .bookmark { transition: none; }
}

.shelves .chapter-strip { padding: 0; }
.shelves .chapter-strip-grid { margin: 0; }
.chapter-cover-frame { width: 100%; }
.shelves .chapter-strip-head { justify-content: flex-start; }
.shelves .chapter-strip-head .shelf-actions { margin-left: auto; }
.shelves .chapter-strip-head > a + .shelf-actions { margin-left: 0; }
.highlighted-book { width: clamp(120px, 25%, 175px); }
.highlighted-book .book-name { white-space: normal; }
.book-home-journal .home-jornal[data-home-jornal] {
  padding: 0;
  margin: 0;
  border: 1px solid #d8c9a4;
  border-radius: 7px;
  background: #f0ebde;
}
.book-home-journal .home-jornal__masthead,
.book-home-journal .home-jornal__edition,
.book-home-journal .home-jornal__section,
.book-home-journal .home-jornal__note,
.book-home-journal .home-jornal__copy p { display: none; }
.book-home-journal .home-jornal__body { padding: 0; gap: 0; align-items: stretch; }
.book-home-journal .home-jornal__image { flex: 0 0 44%; }
.book-home-journal .home-jornal__image img { height: 100%; min-height: 240px; aspect-ratio: 1.85; border: 0; }
.book-home-journal .home-jornal__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(23px, 3.2vw, 47px);
}
.book-home-journal .home-jornal__copy::before {
  content: 'Diário do Jornal';
  color: #675d45;
  font: 670 12px/1.45 system-ui, sans-serif;
}
.book-home-journal .home-jornal .home-jornal__copy h3 {
  font: 400 clamp(25px, 3vw, 36px)/1.17 Georgia, serif;
  margin: 7px 0 14px;
}
.book-home-journal .home-jornal.home-jornal .home-jornal__read,
.book-home-journal .home-jornal.home-jornal .home-jornal__read span { color: #25241d !important; }
.book-home-journal .home-jornal .home-jornal__read {
  width: auto;
  min-height: 0;
  background: none;
  padding: 4px 0;
  justify-content: flex-start;
}
.book-home-journal .home-jornal .home-jornal__read:hover { text-decoration: underline; }
.book-home-journal .home-jornal__empty { padding: 22px; }
@media (max-width: 650px) {
  .book-home-journal .home-jornal__image img { height: auto; min-height: 0; }
  .book-home-journal .home-jornal__copy { padding: 16px; }
}
@media (max-width: 340px) {
  .shelves .chapter-strip-head { gap: 4px; }
  .shelves .chapter-strip-head h2 { font-size: 17px; }
  .shelves .chapter-strip-head > a { font-size: 10px; }
}

.shelves .chapter-cover-card { content-visibility: visible; }
