@font-face {
  font-family: "Literata";
  src: url("fonts/literata.9b1571871248.ttf") format("truetype");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope.946beb949095.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --room-ui: "Manrope", Arial, sans-serif;
  --room-literary: "Literata", Georgia, serif;
}
body { --room-face: var(--room-ui); font-weight: 400; }
body, body *, input::placeholder, textarea::placeholder {
  font-family: var(--room-face, var(--room-ui)) !important;
}
body :is(h2, h3, h4, h5, h6) { font-weight: 700 !important; }
body :is(h1, .brand, .home-name) {
  --room-face: var(--room-literary);
  font-weight: 600 !important;
}
body .brand span { font-weight: 600 !important; }
body :is(.side nav a, .side nav button, .navCap, .crumbs, .footer-links) {
  --room-face: var(--room-ui);
  font-weight: 500 !important;
}
body :is(button, .btn, .ghost, .primary, .neutral, .nickname, .accountIcon, .accountAction, .loginAction, .authBtn, .home-audience__action, .filter-actions a) {
  --room-face: var(--room-ui);
  font-weight: 600 !important;
}
body :is(.side nav .loginAction, .side nav .railAction, .side nav .accountAction) { font-weight: 600 !important; }
body :is(.tag, .chip, .kindName, .genreTile b, .work-kind, .byline) {
  --room-face: var(--room-ui);
  font-weight: 500 !important;
}
body :is(.work b, .work-title, .rowInfo h2, .tile .tt, .sampleGrid h2, .story h2, #heroTitle) {
  --room-face: var(--room-ui);
  font-weight: 600 !important;
}
body :is(.rowDetails p, .excerpt, .work-annot .annot, .storyExcerpt) {
  --room-face: var(--room-ui);
  font-weight: 400 !important;
}
body :is(#rin, #crb .cb, .work-annot .reading-text) {
  --room-face: var(--room-literary);
  font-weight: 400 !important;
}
body :is(.project-news-item, .subNews, .news-article) {
  --room-face: var(--room-ui);
  font-weight: 400;
}
body :is(.project-news-item h3, .project-news-meta, .subNews h2, .subNews time, .news-article h2) { font-weight: 500 !important; }
.home-welcome {
  text-align: center;
  margin: clamp(18px, 3vw, 40px) auto 12px;
}
.home-welcome .home-name {
  font-size: clamp(2.3rem, 6vw, 5rem);
  line-height: 1.12;
  letter-spacing: -.035em;
  margin: 0 0 .22em;
  text-wrap: balance;
}
.home-welcome .home-name span { color: var(--accent, #bb6575); }
.home-welcome p { max-width: 65ch; margin-inline: auto; text-wrap: balance; }
.home-welcome .welcome-intro { font-size: clamp(17px, 2vw, 23px); font-weight: 500; }
.featureGrid .hero #heroTitle {
  font-size: clamp(26px, 2.8vw, 41px);
  line-height: 1;
  letter-spacing: -.035em;
  min-height: 2.18em;
  margin: 5px 0;
  max-width: 85%;
}

.side nav a[data-page] { display: flex; align-items: center; gap: 9px; }
.side .menu-engraving { display: block; width: 36px; height: 36px; flex: 0 0 36px; object-fit: contain; mix-blend-mode: screen; }
.shell footer.note { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.shell footer.note .footer-links { width: 100%; white-space: normal; text-align: center; }
.shell footer.note .footer-socials { display: flex; justify-content: center; align-items: center; margin: 0 auto; }

.side .brand img, .top .brand img { object-fit: contain; background: transparent; mix-blend-mode: normal; }

.catalog-invite {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px 24px; margin: 14px 0;
  padding: clamp(16px, 2.5vw, 26px);
  border: 1px solid var(--line); border-left: 3px solid #99545a;
  border-radius: 5px; background: #19151bf5;
}
.catalog-invite h2 { margin: 0; font-size: clamp(20px, 2.1vw, 28px); line-height: 1.2; }
.catalog-invite p { margin: 5px 0 0; color: var(--soft); max-width: 58ch; }
.catalog-invite .primary { flex: none; }

.home-welcome{padding:8px 0 10px;text-align:center}
.home-welcome .home-name{color:#dccfc3;--room-literary:"Literata",Georgia,serif;line-height:1.16;letter-spacing:-.035em}
.home-welcome .home-name .last-word{color:#994554;white-space:nowrap}
.home-welcome .door-letter,.home-welcome .baseline{color:inherit}
.home-welcome .door-letter{position:relative}
.home-welcome .baseline{display:inline-block;width:0;height:0;position:relative;vertical-align:baseline;letter-spacing:0}
.home-welcome .baseline svg{position:absolute;right:.147em;bottom:.06ex;width:.207em;height:.88ex;overflow:visible;pointer-events:none}
.home-welcome .light{transform-box:fill-box;transform-origin:right center;transition:transform .32s ease}
.home-welcome .door-letter:is(:hover,:active) .light{transform:scaleX(2.2)}
@media(prefers-reduced-motion:reduce){.home-welcome .light{transition:none}}
 .home-welcome .home-name .eye-letter{color:inherit}
.eye-anchor{position:relative;display:inline-block;width:0;height:0;vertical-align:baseline;letter-spacing:0;pointer-events:none}
.eye-anchor i{position:absolute;display:none;border-radius:50%;background:#331f1a;transform:translate(-50%,-50%)}
.eye-anchor i::after{content:"";position:absolute;left:15%;top:12%;width:30%;height:30%;border-radius:50%;background:#ffeed0}

.catalog .catalogHead { background: transparent; border: 0; box-shadow: none; }
.catalog .catalogHead::before, .catalog .catalogHead::after { content: none; }
.topActions :is(.notification-bell,.message-bell) { position: relative; }
.notification-bell [data-unread], .message-bell [data-message-unread] {
  position: absolute; top: -6px; right: -7px; min-width: 16px; padding: 0 3px;
  text-align: center; border-radius: 10px; background: #a33e4b; color: #fff;
  font: 600 11px/16px var(--room-ui);
}
.notification-bell [hidden], .message-bell [hidden] { display: none !important; }

.dm-arrival:not(:empty) { position: fixed; top: 68px; right: 14px; z-index: 40; max-width: 85vw; padding: 12px 16px; border: 1px solid #ab6973; border-radius: 6px; background: #241b22; color: #f3e9de; }

/* An ink seal with an eye, readable on the smallest shelves. */
.bestseller-stamp {
  display: inline-flex; align-items: center; width: max-content; max-width: 100%;
  box-sizing: border-box; gap: .3em; padding: .28em .48em; margin: .25em .35em .25em 0;
  color: #ffd9ca; background: linear-gradient(110deg, #551e29, #2e1119);
  border: 1px solid #aa6561; border-radius: 2px; box-shadow: inset 0 0 0 2px #31141c;
  font: 700 10px/1.2 var(--room-ui); letter-spacing: .055em; text-transform: uppercase;
  vertical-align: middle; white-space: nowrap;
}
.bestseller-stamp svg { flex: none; width: 1.45em; height: 1em; color: #edb7a2; }
.work > .bestseller-stamp { display: flex; margin-top: 6px; }
