@charset "UTF-8";

:root {
  --ink: #08040f;
  --ink-soft: #100718;
  --panel: rgba(24, 11, 31, .88);
  --panel-strong: #190c21;
  --line: rgba(235, 197, 112, .2);
  --line-strong: rgba(235, 197, 112, .42);
  --gold: #edca7d;
  --gold-bright: #ffe5a4;
  --violet: #b993d6;
  --rose: #f0b9d4;
  --text: #fbf6fb;
  --muted: #c8b8c8;
  --muted-soft: #9e8da2;
  --shadow: 0 28px 75px rgba(0, 0, 0, .44);
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 280px;
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -8%, rgba(112, 43, 137, .32), transparent 34rem),
    radial-gradient(circle at 8% 28%, rgba(70, 30, 95, .2), transparent 24rem),
    radial-gradient(circle at 92% 66%, rgba(124, 72, 38, .12), transparent 30rem),
    linear-gradient(180deg, #090410 0%, #07030c 54%, #0b0610 100%);
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: .48;
  background-image:
    radial-gradient(circle at 11% 13%, rgba(255,255,255,.7) 0 1px, transparent 1.4px),
    radial-gradient(circle at 71% 8%, rgba(255,226,157,.65) 0 1px, transparent 1.3px),
    radial-gradient(circle at 88% 31%, rgba(255,255,255,.48) 0 1px, transparent 1.3px),
    radial-gradient(circle at 28% 57%, rgba(255,255,255,.4) 0 1px, transparent 1.3px),
    radial-gradient(circle at 62% 78%, rgba(255,226,157,.38) 0 1px, transparent 1.3px);
  background-size: 230px 230px, 310px 310px, 270px 270px, 350px 350px, 410px 410px;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

p,
li,
dd {
  overflow-wrap: anywhere;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  color: #1b1018;
  background: var(--gold-bright);
  font-weight: 800;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  width: min(1180px, calc(100% - 32px));
  min-height: 92px;
  margin: 0 auto;
  padding: max(18px, env(safe-area-inset-top)) 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.site-brand {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  text-decoration: none;
  letter-spacing: .17em;
}

.site-brand span {
  color: var(--gold-bright);
  font: 500 18px/1.1 Georgia, "Times New Roman", serif;
}

.site-brand small {
  color: var(--muted-soft);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .23em;
}

.header-actions,
.site-footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.header-actions a,
.site-footer a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.header-actions a:hover,
.site-footer a:hover {
  color: var(--gold-bright);
}

.page-shell {
  width: min(1060px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 86px;
}

.breadcrumbs {
  margin: 4px 0 32px;
}

.breadcrumbs ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted-soft);
  font-size: 12px;
  font-weight: 650;
}

.breadcrumbs li:not(:last-child)::after {
  margin-left: 7px;
  color: rgba(237, 202, 125, .45);
  content: "›";
}

.breadcrumbs a {
  color: var(--muted);
  text-underline-offset: 3px;
}

.breadcrumbs [aria-current="page"] {
  color: var(--gold);
}

.card-hero {
  display: grid;
  grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
  padding: 22px 0 46px;
}

.card-portrait {
  position: relative;
  isolation: isolate;
  width: 100%;
  margin: 0;
}

.card-aura {
  position: absolute;
  z-index: -1;
  inset: 8% -13% 3%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(190, 126, 231, .27), rgba(220, 174, 85, .11) 40%, transparent 71%);
  filter: blur(16px);
}

.card-portrait img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border: 1px solid rgba(255, 229, 164, .5);
  border-radius: 21px;
  box-shadow: 0 32px 78px rgba(0, 0, 0, .58), 0 0 0 7px rgba(255,255,255,.018);
}

.card-portrait figcaption {
  margin-top: 13px;
  color: var(--muted-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-align: center;
  text-transform: uppercase;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .19em;
  line-height: 1.55;
  text-transform: uppercase;
}

h1,
h2,
h3,
blockquote {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

h1 {
  max-width: 790px;
  margin: 0 0 22px;
  color: #fff9fc;
  font-size: clamp(43px, 7vw, 74px);
  line-height: .98;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.hero-essence,
.index-hero > p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.78;
}

.keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.keyword-list li {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #dccdde;
  background: rgba(255,255,255,.018);
  font-size: 12px;
  line-height: 1.3;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}

.button {
  min-height: 46px;
  padding: 13px 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.button-primary {
  color: #211118;
  background: linear-gradient(135deg, #ffe6a6, #d4a950 70%, #c58c32);
  box-shadow: 0 12px 32px rgba(206, 153, 55, .17);
}

.button-secondary {
  border-color: var(--line-strong);
  color: var(--gold-bright);
  background: rgba(255,255,255,.025);
}

.button:hover {
  border-color: rgba(255, 231, 173, .72);
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.card-facts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0 0 26px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(28, 13, 36, .92), rgba(14, 7, 19, .92));
  box-shadow: 0 18px 45px rgba(0,0,0,.16);
}

.card-facts > div {
  min-width: 0;
  padding: 17px 15px;
}

.card-facts > div + div {
  border-left: 1px solid var(--line);
}

.card-facts dt {
  margin-bottom: 6px;
  color: var(--muted-soft);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.card-facts dd {
  margin: 0;
  color: #f5e8f2;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.page-toc {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 30px;
  padding: 13px;
  border: 1px solid rgba(185, 147, 214, .16);
  border-radius: 16px;
  background: rgba(13, 6, 18, .7);
}

.page-toc strong {
  margin-right: 5px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.page-toc a {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,.03);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.page-toc a:hover {
  color: var(--gold-bright);
  background: rgba(237, 202, 125, .08);
}

.reading-section,
.responsible-note,
.closing-portal {
  scroll-margin-top: 16px;
}

.reading-section {
  margin-top: 18px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 25px;
  background:
    radial-gradient(circle at 100% 0, rgba(94, 48, 117, .12), transparent 36%),
    linear-gradient(180deg, rgba(27, 13, 35, .9), rgba(12, 6, 17, .93));
  box-shadow: 0 18px 48px rgba(0, 0, 0, .14);
}

.reading-lead {
  border-color: rgba(237, 202, 125, .31);
}

.reading-section h2,
.responsible-note h2,
.closing-portal h2,
.library-group h2 {
  margin: 0 0 15px;
  color: var(--gold-bright);
  font-size: clamp(28px, 4vw, 39px);
  line-height: 1.08;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.reading-section h3,
.combination-card h3 {
  margin: 0 0 10px;
  color: #f5d990;
  font-size: 21px;
  line-height: 1.25;
}

.reading-section p,
.responsible-note p,
.closing-portal p,
.library-group > header p {
  max-width: 82ch;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.78;
}

.reading-grid {
  display: grid;
  gap: 18px;
}

.two-columns,
.subreading-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tone-light {
  border-color: rgba(223, 190, 105, .3);
}

.tone-tension {
  border-color: rgba(190, 112, 149, .25);
}

.subreading-grid {
  display: grid;
  gap: 30px;
}

.subreading-grid > div + div {
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.section-intro {
  margin-bottom: 22px !important;
}

.symbol-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.symbol-list li {
  display: flex;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid rgba(237, 202, 125, .13);
  border-radius: 14px;
  color: #d6c7d6;
  background: rgba(255,255,255,.018);
  font-size: 14px;
  line-height: 1.5;
}

.symbol-list span {
  flex: 0 0 auto;
  color: var(--gold);
}

.combination-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.combination-card {
  padding: 18px;
  border: 1px solid rgba(185, 147, 214, .18);
  border-radius: 17px;
  background: rgba(255,255,255,.02);
}

.combination-card h3 {
  font-size: 18px;
}

.combination-card h3 a {
  color: var(--gold-bright);
  text-decoration-color: rgba(237, 202, 125, .38);
  text-underline-offset: 4px;
}

.combination-card p {
  font-size: 14px;
  line-height: 1.65;
}

.reflection-card {
  margin-top: 30px;
  padding: clamp(20px, 4vw, 30px);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: radial-gradient(circle at 10% 0, rgba(237, 202, 125, .09), transparent 40%), rgba(8, 4, 13, .55);
}

.reflection-card blockquote {
  max-width: 850px;
  margin: 0 0 22px;
  color: #fff5dc;
  font-size: clamp(23px, 3.8vw, 33px);
  line-height: 1.28;
}

.reflection-card p strong {
  display: block;
  margin-bottom: 5px;
  color: var(--gold);
  font-size: 11px;
  font-family: Inter, ui-sans-serif, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.responsible-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 17px;
  align-items: start;
  margin-top: 20px;
  padding: 22px;
  border: 1px solid rgba(185, 147, 214, .25);
  border-radius: 20px;
  background: rgba(28, 17, 36, .74);
}

.responsible-note > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(237, 202, 125, .3);
  border-radius: 50%;
  color: var(--gold);
}

.responsible-note h2 {
  margin-bottom: 7px;
  font-size: 22px;
}

.responsible-note p {
  font-size: 14px;
  line-height: 1.65;
}

.card-navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.card-nav-link {
  min-height: 86px;
  padding: 17px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  text-decoration: none;
  background: rgba(255,255,255,.018);
}

.card-nav-link small {
  margin-bottom: 5px;
  color: var(--muted-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.card-nav-link strong {
  color: var(--gold-bright);
  font: 400 21px/1.25 Georgia, "Times New Roman", serif;
}

.card-nav-next {
  grid-column: 2;
  text-align: right;
}

.card-nav-link:hover {
  border-color: var(--line-strong);
  background: rgba(237, 202, 125, .045);
}

.closing-portal {
  margin-top: 56px;
  padding: clamp(28px, 6vw, 58px);
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0, rgba(124, 64, 151, .24), transparent 52%),
    linear-gradient(180deg, rgba(28, 14, 37, .95), rgba(12, 6, 17, .96));
  box-shadow: var(--shadow);
}

.closing-portal h2,
.closing-portal p {
  margin-right: auto;
  margin-left: auto;
}

.closing-portal .hero-actions {
  justify-content: center;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 27px 0 max(34px, env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 28px;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted-soft);
}

.site-footer p,
.site-footer small {
  margin: 0;
}

.site-footer p {
  color: var(--muted);
  font-size: 13px;
}

.site-footer p strong {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
}

.site-footer nav {
  justify-content: flex-end;
}

.site-footer small {
  grid-column: 1 / -1;
  font-size: 11px;
  line-height: 1.5;
}

/* Índice estático das 78 cartas */

.index-shell {
  width: min(1180px, calc(100% - 32px));
}

.index-hero {
  padding: clamp(30px, 7vw, 78px) 0 46px;
  text-align: center;
}

.index-hero h1 {
  max-width: 960px;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(46px, 8vw, 88px);
}

.index-hero > p {
  max-width: 780px;
  margin-right: auto;
  margin-left: auto;
}

.index-stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 850px;
  margin: 34px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(19, 9, 25, .72);
}

.index-stat-row span {
  min-width: 0;
  padding: 17px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.index-stat-row span + span {
  border-left: 1px solid var(--line);
}

.index-stat-row strong {
  color: var(--gold-bright);
  font: 400 27px/1 Georgia, "Times New Roman", serif;
}

.index-stat-row small {
  color: var(--muted-soft);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
}

.suit-navigation {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.suit-navigation a {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.suit-navigation a:hover {
  border-color: var(--line-strong);
  color: var(--gold-bright);
}

.index-hero .hero-actions {
  justify-content: center;
}

.index-contract {
  max-width: 720px !important;
  margin-top: 24px !important;
  color: var(--muted-soft) !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
}

.index-contract span {
  margin-right: 7px;
  color: var(--gold);
}

.library-group {
  scroll-margin-top: 16px;
  margin-top: 54px;
}

.library-group > header {
  margin-bottom: 23px;
}

.library-group h2 {
  margin-bottom: 7px;
  font-size: clamp(34px, 5vw, 50px);
}

.library-group > header p {
  color: var(--muted-soft);
  font-size: 14px;
}

.library-index-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.library-tile {
  min-width: 0;
}

.library-tile a {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(28, 14, 36, .86), rgba(12, 6, 17, .94));
  box-shadow: 0 14px 38px rgba(0,0,0,.2);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.library-tile img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  background: #160b1d;
}

.library-tile a > span {
  min-height: 150px;
  padding: 14px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.library-tile small {
  margin-bottom: 5px;
  color: var(--gold);
  font-size: 9px;
  font-style: normal;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.library-tile strong {
  color: #fff7ed;
  font: 400 20px/1.14 Georgia, "Times New Roman", serif;
}

.library-tile em {
  margin: 8px 0 16px;
  color: var(--muted-soft);
  font-size: 11px;
  font-style: normal;
  line-height: 1.45;
}

.library-tile b {
  margin-top: auto;
  color: var(--gold-bright);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.library-tile a:hover {
  border-color: var(--line-strong);
  box-shadow: 0 21px 48px rgba(0,0,0,.32);
  transform: translateY(-3px);
}

.index-note {
  margin-top: 58px;
}

:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .card-hero {
    grid-template-columns: minmax(210px, 280px) minmax(0, 1fr);
    gap: 36px;
  }

  .card-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .card-facts > div:nth-child(4) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .card-facts > div:nth-child(5) {
    border-top: 1px solid var(--line);
  }

  .combination-grid {
    grid-template-columns: 1fr;
  }

  .library-index-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header,
  .page-shell,
  .site-footer,
  .index-shell {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    min-height: 78px;
    gap: 10px;
  }

  .site-brand span {
    font-size: 15px;
  }

  .site-brand small {
    font-size: 8px;
  }

  .header-actions {
    justify-content: flex-end;
    gap: 6px 11px;
  }

  .header-actions a {
    font-size: 11px;
  }

  .page-shell {
    padding-top: 16px;
    padding-bottom: 58px;
  }

  .breadcrumbs {
    margin-bottom: 22px;
  }

  .card-hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 4px;
  }

  .card-portrait {
    width: min(76vw, 278px);
    margin: 0 auto;
  }

  .hero-copy {
    text-align: center;
  }

  h1 {
    font-size: clamp(41px, 13.5vw, 62px);
  }

  .hero-essence,
  .index-hero > p {
    font-size: 16px;
    line-height: 1.72;
  }

  .keyword-list,
  .hero-actions {
    justify-content: center;
  }

  .hero-actions .button {
    flex: 1 1 145px;
  }

  .card-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-facts > div,
  .card-facts > div:nth-child(4) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .card-facts > div:nth-child(-n+2) {
    border-top: 0;
  }

  .card-facts > div:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .card-facts > div:last-child {
    grid-column: 1 / -1;
    border-left: 0;
  }

  .page-toc {
    align-items: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 11px;
    scrollbar-width: thin;
  }

  .page-toc strong,
  .page-toc a {
    flex: 0 0 auto;
  }

  .two-columns,
  .subreading-grid,
  .symbol-list {
    grid-template-columns: 1fr;
  }

  .subreading-grid > div + div {
    padding-top: 24px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .reading-section {
    border-radius: 21px;
  }

  .reading-section p {
    font-size: 15.5px;
    line-height: 1.74;
  }

  .responsible-note {
    grid-template-columns: 1fr;
  }

  .card-navigation {
    grid-template-columns: 1fr;
  }

  .card-nav-next {
    grid-column: 1;
  }

  .closing-portal {
    margin-top: 42px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .site-footer small {
    grid-column: 1;
  }

  .index-hero {
    padding-top: 32px;
  }

  .index-hero h1 {
    font-size: clamp(43px, 14vw, 66px);
  }

  .index-stat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .index-stat-row span:nth-child(3) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .index-stat-row span:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .library-group {
    margin-top: 45px;
  }

  .library-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .library-tile a {
    border-radius: 15px;
  }

  .library-tile a > span {
    min-height: 138px;
    padding: 12px;
  }

  .library-tile strong {
    font-size: 18px;
  }
}

@media (max-width: 350px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-actions {
    justify-content: flex-start;
  }

  .library-tile strong {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  body {
    color: #181118;
    background: #fff;
  }

  body::before,
  .site-header,
  .breadcrumbs,
  .page-toc,
  .hero-actions,
  .card-navigation,
  .closing-portal,
  .site-footer {
    display: none !important;
  }

  .page-shell {
    width: 100%;
    padding: 0;
  }

  .card-hero {
    grid-template-columns: 190px 1fr;
  }

  .card-portrait img,
  .reading-section,
  .responsible-note,
  .card-facts {
    border-color: #cfc3ca;
    box-shadow: none;
  }

  h1,
  .reading-section h2,
  .reading-section h3,
  .responsible-note h2,
  .hero-essence,
  .reading-section p,
  .responsible-note p,
  .card-facts dd {
    color: #181118;
  }

  .reading-section,
  .responsible-note,
  .card-facts {
    break-inside: avoid;
    background: #fff;
  }
}
