/* ==========================================================================
   Catálogo estilo Netflix, episódio em blocos, elenco, clima e notícias
   ========================================================================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

/* ---------- etiquetas e cores ---------- */
.chip--butter { background: var(--butter); }
.chip--rose { background: var(--rose); }
.chip--sky { background: var(--sky); }
.chip--sage { background: var(--sage); }
.chip--lilac { background: var(--lilac); }
.chip--oat { background: var(--oat); }
.chip--butter.is-on, .chip--rose.is-on, .chip--sky.is-on, .chip--sage.is-on, .chip--lilac.is-on, .chip--oat.is-on { background: var(--ink); }

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.85rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 700;
}
.pill--ink { background: var(--ink); color: var(--paper); }
.pill--butter { background: var(--butter); }
.pill--rose { background: var(--rose); }
.pill--sky { background: var(--sky); }
.pill--sage { background: var(--sage); }
.pill--lilac { background: var(--lilac); }
.pill--oat { background: var(--oat); }

/* ---------- miniaturas: a imagem inteira, sem cortes ---------- */
.thumb {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: var(--oat);
  isolation: isolate;
}
.thumb::before {
  content: '';
  position: absolute;
  inset: -12%;
  z-index: -1;
  background: var(--bg, none) center / cover;
  filter: blur(22px) saturate(1.1) brightness(0.95);
  opacity: 0.85;
}
.thumb > img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* mantém a proporção original */
}
.thumb__empty {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 1rem;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0 14px, rgba(255, 255, 255, 0.2) 14px 28px), var(--sky);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.15;
  text-align: center;
  text-wrap: balance;
}
.thumb__empty--big {
  font-size: clamp(1.6rem, 4vw, 3rem);
}

/* ---------- catálogo ---------- */
.catalog {
  padding: clamp(1rem, 3vw, 2rem) 0 clamp(3rem, 6vw, 5rem);
}
.catalog--page {
  padding-inline: var(--gutter);
}
.page-head {
  display: grid;
  gap: 0.6rem;
  margin: 1.2rem 0 1.6rem;
}
.page-head h1 {
  font-size: clamp(2.2rem, 6vw, 4.2rem);
}

.billboard {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  margin: 0 var(--gutter) clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(1rem, 2.4vw, 2rem);
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 2.6rem;
  box-shadow: 8px 10px 0 var(--ink);
}
.billboard__media {
  border: 3px solid var(--ink);
  border-radius: 1.8rem;
  min-height: 14rem;
  max-height: 34rem;
}
.billboard__copy {
  display: grid;
  gap: 0.9rem;
  justify-items: start;
}
.billboard__kicker,
.billboard__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
}
.billboard__title {
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.billboard__period {
  font-weight: 600;
  color: var(--ink-soft);
}
.billboard__lead {
  max-width: 52ch;
  font-size: clamp(1.02rem, 1.4vw, 1.25rem);
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.billboard__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.4rem;
}

.cat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 var(--gutter) clamp(1.2rem, 3vw, 2rem);
}

/* ---------- fileiras (carrosséis) ---------- */
.row-shelf {
  margin-bottom: clamp(1.6rem, 3.5vw, 2.8rem);
}
.row-shelf__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 var(--gutter);
  margin-bottom: 0.8rem;
}
.row-shelf__head h2 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
}
.row-shelf__more {
  font-weight: 700;
  white-space: nowrap;
}
.row-shelf__body {
  position: relative;
}
.row-shelf__track,
.news__track {
  display: flex;
  gap: clamp(0.8rem, 1.6vw, 1.3rem);
  padding: 0.6rem var(--gutter) 1.4rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.row-shelf__track::-webkit-scrollbar,
.news__track::-webkit-scrollbar {
  display: none;
}
.row-shelf__arrow {
  position: absolute;
  top: 0.6rem;
  bottom: 1.4rem;
  z-index: 3;
  display: grid;
  place-items: center;
  width: clamp(2.6rem, 4vw, 3.6rem);
  padding: 0;
  border: 0;
  color: var(--paper);
  font-size: 2rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.row-shelf__arrow svg {
  width: 1.6rem;
  height: 1.6rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.row-shelf__arrow--prev {
  left: 0;
  background: linear-gradient(90deg, rgba(31, 42, 46, 0.78), transparent);
  border-radius: 0 1.4rem 1.4rem 0;
}
.row-shelf__arrow--next {
  right: 0;
  background: linear-gradient(270deg, rgba(31, 42, 46, 0.78), transparent);
  border-radius: 1.4rem 0 0 1.4rem;
}
.row-shelf.can-prev .row-shelf__arrow--prev,
.row-shelf.can-next .row-shelf__arrow--next,
.news__body:hover .row-shelf__arrow {
  opacity: 1;
  pointer-events: auto;
}
@media (hover: none) {
  .row-shelf__arrow { display: none; }
}

.tile {
  flex: 0 0 clamp(15rem, 22vw, 21rem);
  scroll-snap-align: start;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: translate 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.tile:hover,
.tile:focus-within {
  translate: -3px -5px;
  box-shadow: 7px 9px 0 var(--ink);
}
.tile__link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.tile .thumb {
  border-bottom: 2px solid var(--ink);
}
.tile__badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 700;
}
.tile__info {
  display: grid;
  gap: 0.35rem;
  padding: 0.9rem 1.1rem 1.15rem;
}
.tile__info h3 {
  font-size: 1.2rem;
  line-height: 1.15;
}
.tile__period {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.tile__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
}
.tile-grid .tile {
  flex: none;
}

/* ---------- elenco ---------- */
.cast-strip {
  padding: 0 0 1rem;
}
.cast-strip__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding: 0 var(--gutter);
}
.post__cast .cast-strip__list {
  padding: 0;
}
.cast-mini {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 1rem 0.35rem 0.4rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, translate 0.2s var(--ease);
}
.cast-mini:hover {
  background: var(--butter);
  translate: 0 -2px;
}
.cast-mini img,
.cast-mini__ph,
.avatar-sm {
  width: 2.6rem;
  height: 2.6rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}
.cast-mini__ph,
.avatar-sm--ph {
  display: grid;
  place-items: center;
  background: var(--rose);
  font-weight: 800;
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
  gap: clamp(1rem, 2.4vw, 1.8rem);
  align-items: start;
}
.cast-card {
  overflow: hidden;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  scroll-margin-top: 6rem;
}
.cast-card.is-focus {
  box-shadow: 8px 10px 0 var(--ink);
  background: var(--butter);
}
.cast-card__img {
  width: 100%;
  height: auto; /* proporção original do avatar */
  border-bottom: 2px solid var(--ink);
}
.cast-card__ph {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.45) 0 14px, rgba(255, 255, 255, 0.15) 14px 28px), var(--rose);
  border-bottom: 2px solid var(--ink);
  font-size: 4.5rem;
  font-weight: 800;
}
.cast-card__body {
  display: grid;
  gap: 0.6rem;
  padding: 1.1rem 1.3rem 1.4rem;
}
.cast-card__body h2 {
  font-size: 1.7rem;
}
.cast-card__traits {
  white-space: pre-line;
  color: var(--ink-soft);
}
.cast-card__label {
  margin-top: 0.4rem;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.cast-card__eps {
  margin: 0;
  padding-left: 1.1rem;
}
a.mention {
  padding: 0 0.35em;
  border-radius: 0.5em;
  background: var(--butter);
  font-weight: 700;
  text-decoration: none;
}
a.mention:hover {
  background: var(--rose);
}

/* ---------- episódio ---------- */
.draft-banner {
  margin: 0 0 1.2rem;
  padding: 0.8rem 1.2rem;
  border: 2px dashed var(--ink);
  border-radius: 1rem;
  background: var(--butter);
  font-weight: 600;
}
.post__period {
  font-weight: 600;
  color: var(--ink-soft);
}
.synopsis {
  position: relative;
  display: grid;
  gap: 0.5rem;
  margin-top: 0.8rem;
  padding: 1.5rem 1.7rem 1.4rem;
  background: var(--butter);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: 6px 7px 0 var(--ink);
  font-size: 1.12rem;
}
.synopsis__label {
  justify-self: start;
  padding: 0.15rem 0.8rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--butter);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.synopsis .prose {
  max-width: none;
  margin: 0;
  font-size: inherit;
  line-height: 1.6;
}

.post__content {
  display: grid;
  gap: clamp(1.2rem, 2.4vw, 2rem);
  margin-top: 2rem;
}
.post__content > * {
  min-width: 0;
}
.blk--texto,
.blk--sinopse {
  width: min(100%, 66ch);
  margin-inline: auto;
}
.blk--texto.prose {
  font-size: 1.18rem;
  line-height: 1.75;
}
.blk--texto.prose > * + * {
  margin-top: 1.1em;
}
.blk--texto.prose h1,
.blk--texto.prose h2,
.blk--texto.prose h3 {
  margin-top: 1.6em;
  line-height: 1.15;
}
.blk--texto.prose a:not(.mention) {
  color: var(--petrol);
  font-weight: 600;
}
.blk--texto.prose ul,
.blk--texto.prose ol {
  padding-left: 1.4em;
}
.blk--texto.prose blockquote {
  margin-inline: 0;
  padding: 0.9rem 1.3rem;
  border-left: 6px solid var(--ink);
  border-radius: 0 1rem 1rem 0;
  background: var(--oat);
}

/* imagens: nunca cortadas nem esticadas */
.blk--imagem {
  margin: 0;
}
.blk--imagem img {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  cursor: zoom-in;
}
.blk--imagem figcaption,
.masonry figcaption,
.video__title,
.audio__title {
  margin-top: 0.45rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.blk--imagem.w100 {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  padding-inline: var(--gutter);
}
.blk--imagem.w100 img {
  width: auto;
  max-width: 100%;
  max-height: 90vh;
  margin-inline: auto;
}
.blk--imagem.w100 figcaption {
  text-align: center;
}
.blk-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(0.8rem, 1.6vw, 1.4rem);
}
.blk-row .w50 { flex: 1 1 calc(50% - 1rem); min-width: min(100%, 16rem); }
.blk-row .w33 { flex: 1 1 calc(33.333% - 1rem); min-width: min(100%, 11rem); }

/* galeria em mosaico (masonry) com proporções originais */
.masonry {
  column-width: 16rem;
  column-gap: clamp(0.7rem, 1.4vw, 1.2rem);
}
.masonry figure {
  margin: 0 0 clamp(0.7rem, 1.4vw, 1.2rem);
  break-inside: avoid;
}
.masonry img {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  cursor: zoom-in;
}

/* vídeo */
.blk--video,
.blk--videofile,
.blk--mapa,
.blk--audio,
.blk--arquivo,
.blk--citacao {
  width: min(100%, 62rem);
  margin-inline: auto;
}
.video-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  cursor: pointer;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-thumb img.is-broken { display: none; }
.video__noimg { position: absolute; inset: 0; background: repeating-linear-gradient(135deg, #2c3a3f 0 14px, var(--ink) 14px 28px); }
.play {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 4.6rem;
  height: 4.6rem;
  translate: -50% -50%;
  background: var(--butter);
  border: 3px solid var(--ink);
  border-radius: 50%;
  box-shadow: 0 5px 0 var(--ink);
  transition: scale 0.2s var(--spring);
}
.play::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 54%;
  translate: -50% -50%;
  border-left: 1.3rem solid var(--ink);
  border-block: 0.85rem solid transparent;
}
.video-thumb:hover .play { scale: 1.1; }
.video-frame,
.blk--videofile video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  background: #000;
}
.blk--videofile video { aspect-ratio: auto; max-height: 85vh; }
.video-link {
  display: grid;
  gap: 0.3rem;
  justify-items: start;
  padding: 1.2rem 1.5rem 1.2rem 6rem;
  position: relative;
  background: var(--sky);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  font-weight: 700;
  text-decoration: none;
}
.video-link .play { inset: 50% auto auto 2.8rem; width: 3.2rem; height: 3.2rem; }

/* mapa */
.map-frame {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
}
.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.map-caption,
.map-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1rem;
  margin-top: 0.6rem;
}
.map-caption a { font-weight: 700; }

/* áudio e arquivos */
.blk--audio {
  padding: 1rem 1.3rem;
  background: var(--lilac);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
}
.blk--audio audio {
  display: block;
  width: 100%;
  margin-top: 0.4rem;
}
.audio__title { margin: 0 0 0.2rem; font-weight: 700; color: var(--ink); font-size: 1rem; }
.file-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  background: var(--sage);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 700;
}
.file-card__icon {
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 0.8rem;
  font-size: 0.78rem;
}
.file-card__name { flex: 1; overflow-wrap: anywhere; }
.file-card__cta { padding: 0.25rem 0.9rem; border-radius: 999px; background: var(--ink); color: var(--paper); }

/* citação com aspas desenhadas */
.blk--citacao {
  position: relative;
  margin-block: 0.6rem;
  padding: 2.6rem clamp(1.4rem, 4vw, 3.5rem) 1.6rem;
  background: var(--rose);
  border: 2px solid var(--ink);
  border-radius: 2.2rem;
  box-shadow: 7px 8px 0 var(--ink);
}
.blk--citacao::before,
.blk--citacao::after {
  position: absolute;
  font-family: var(--font-logo);
  font-size: clamp(4.5rem, 9vw, 7rem);
  line-height: 0.6;
  color: var(--petrol);
  text-shadow: 3px 3px 0 var(--butter);
}
.blk--citacao::before { content: '“'; top: 1.9rem; left: 1.1rem; }
.blk--citacao::after { content: '”'; right: 1.3rem; bottom: 0.9rem; }
.blk--citacao blockquote {
  margin: 0;
  padding-inline: clamp(1.6rem, 4vw, 3rem);
  font-size: clamp(1.35rem, 2.8vw, 2.1rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.blk--citacao figcaption {
  margin-top: 1rem;
  padding-inline: clamp(1.6rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--ink-soft);
}
.blk--citacao figcaption::before { content: '— '; }

/* ampliar imagem */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: rgba(20, 28, 31, 0.92);
  opacity: 0;
  transition: opacity 0.25s;
  cursor: zoom-out;
}
.lightbox.in { opacity: 1; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: var(--radius-md);
}
.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem 1.1rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

/* ---------- clima e notícias ---------- */
.context {
  display: grid;
  gap: 1.6rem;
  margin: clamp(3rem, 6vw, 5rem) 0 0;
  padding: clamp(1.2rem, 3vw, 2.2rem);
  background: var(--sky);
  border: 2px solid var(--ink);
  border-radius: 2.4rem;
}
.context > * { min-width: 0; }
.context__head { display: grid; gap: 0.3rem; }
.context__head h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.context__sub { margin-bottom: 0.8rem; font-size: 1.25rem; }
.context__loading::before {
  content: '';
  display: inline-block;
  width: 0.8rem;
  height: 0.8rem;
  margin-right: 0.6rem;
  border-radius: 50%;
  background: var(--signal);
  animation: blink 1s steps(2, jump-none) infinite;
}
.weather__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1rem;
}
.wcard {
  display: grid;
  gap: 0.35rem;
  align-content: start;
  padding: 1.1rem 1.3rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
}
.wcard header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.2rem 0.8rem; }
.wcard header strong { font-size: 1.15rem; }
.wcard header span { font-size: 0.85rem; }
.wcard__main { display: flex; align-items: center; gap: 0.8rem; margin-top: 0.3rem; }
.wcard__main b { font-size: 2rem; }
.wcard__icon { font-size: 2.6rem; line-height: 1; }
.wcard__label { font-weight: 700; }
.weather__days summary { margin-top: 0.5rem; cursor: pointer; font-weight: 700; }
.weather__days ul { display: grid; gap: 0.25rem; margin: 0.6rem 0 0; padding: 0; list-style: none; font-size: 0.92rem; }
.weather__days li { display: grid; grid-template-columns: 3rem 1.6rem 1fr auto; gap: 0.4rem; }

.news__tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.8rem; }
.news__body { position: relative; margin-inline: calc(-1 * clamp(1.2rem, 3vw, 2.2rem)); }
.news__track { padding-inline: clamp(1.2rem, 3vw, 2.2rem); scroll-padding-inline: clamp(1.2rem, 3vw, 2.2rem); }
.news__note { margin-top: 0.4rem; font-size: 0.88rem; }
.ncard {
  display: grid;
  flex: 0 0 clamp(15rem, 22vw, 19rem);
  align-content: start;
  scroll-snap-align: start;
  overflow: hidden;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  color: inherit;
  text-decoration: none;
  transition: translate 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.ncard:hover { translate: -3px -4px; box-shadow: 6px 7px 0 var(--ink); }
.ncard__media {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--oat);
  border-bottom: 2px solid var(--ink);
}
.ncard__media img { width: 100%; height: 100%; object-fit: contain; }
.ncard__ph { padding: 1rem; font-weight: 800; text-align: center; }
.ncard__body { display: grid; gap: 0.35rem; padding: 0.85rem 1rem 1rem; }
.ncard__cat {
  justify-self: start;
  padding: 0.1rem 0.65rem;
  border-radius: 999px;
  background: var(--butter);
  border: 1.5px solid var(--ink);
  font-size: 0.75rem;
  font-weight: 800;
}
.ncard__body strong { font-size: 1rem; line-height: 1.25; }

/* ---------- painel: complementos ---------- */
.admin__list--full { max-width: none; }
.row__main { display: grid; gap: 0.2rem; min-width: 0; }
.row__cats { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.row__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.row__actions form { margin: 0; }
.row__who { display: flex; align-items: center; gap: 0.8rem; }
.row__who > div { display: grid; }
.form__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.tone-picker { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; border: 0; padding: 0; margin: 0; }
.tone-picker legend { padding: 0; margin-bottom: 0.4rem; font-weight: 700; font-size: 0.95rem; }
.tone input { position: absolute; opacity: 0; }
.tone__dot { display: block; width: 2.4rem; height: 2.4rem; border: 2px solid var(--ink); border-radius: 50%; cursor: pointer; }
.tone input:checked + .tone__dot { box-shadow: 0 0 0 3px var(--paper), 0 0 0 6px var(--ink); }
.tone input:focus-visible + .tone__dot { outline: 3px solid var(--petrol); outline-offset: 4px; }
.avatar-field { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-start; }
.avatar-field__preview {
  display: grid;
  place-items: center;
  width: 8rem;
  min-height: 6rem;
  overflow: hidden;
  background: var(--oat);
  border: 2px dashed var(--ink);
  border-radius: var(--radius-md);
}
.avatar-field__preview img { width: 100%; height: auto; }
.avatar-field__controls { display: grid; gap: 0.6rem; flex: 1 1 14rem; }
.inline-input { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.inline-input input { flex: 1 1 12rem; min-width: 0; }
.check { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; }
input[type='url'], input[type='number'] {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--ink);
  border-radius: 1rem;
  background: #fffdf7;
  color: var(--ink);
  font: inherit;
}

/* ---------- responsivo ---------- */
@media (max-width: 62rem) {
  .billboard { grid-template-columns: 1fr; }
}
@media (max-width: 40rem) {
  .billboard { border-radius: 1.8rem; box-shadow: 5px 7px 0 var(--ink); }
  .tile { flex-basis: 78vw; }
  .weather__days li { grid-template-columns: 2.6rem 1.4rem 1fr; }
  .weather__days li span:last-child { grid-column: 2 / -1; }
}

/* âncoras de bloco (usadas pelo PDF do modo leitura) */
.blk-anchor { position: absolute; width: 0; height: 0; scroll-margin-top: 6rem; }

/* ações do autor nos cards */
.card-admin {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.6rem 0.9rem 0.8rem;
  border-top: 2px dashed var(--ink);
}
.card-admin form { margin: 0; }
.billboard__copy > .card-admin { padding: 0; border: 0; margin: 0.2rem 0 0.4rem; }
.tile--season .thumb::after { content: none; }
.season-head { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
.season-head__cover { display: block; max-width: min(22rem, 100%); height: auto; border: 2px solid var(--ink); border-radius: 1.2rem; }

.ncard__source { font-weight: 700; color: var(--ink-soft); }
.news__note a { font-weight: 700; text-decoration: underline; }

/* ==========================================================================
   Exportar Modo Leitura: botão e modal
   ========================================================================== */

/* botão do menu: folha com "PDF", brilho passando e sombra dura */
.xbtn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.5rem 0.4rem 0.85rem;
  overflow: hidden;
  isolation: isolate;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--butter), #f6e9b9 55%, var(--rose));
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 2px 3px 0 var(--ink);
  transition: translate 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.xbtn svg { width: 1.15rem; height: 1.15rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: rotate 0.35s var(--ease); }
.xbtn em { padding: 0.28rem 0.5rem; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 0.68rem; font-style: normal; font-weight: 800; letter-spacing: 0.08em; }
.xbtn::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 -60%;
  z-index: -1;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  transform: skewX(-18deg);
  animation: xbtn-shine 5.5s var(--ease) 1.2s infinite;
}
@keyframes xbtn-shine { 0%, 62% { left: -60%; } 100% { left: 130%; } }
.xbtn:hover { translate: -1px -2px; box-shadow: 4px 6px 0 var(--ink); }
.xbtn:hover svg { rotate: -8deg; }
.xbtn:active { translate: 1px 1px; box-shadow: 1px 1px 0 var(--ink); }
.xbtn:focus-visible { outline: 3px solid var(--petrol); outline-offset: 3px; }
.xbtn--sm { padding: 0.3rem 0.4rem 0.3rem 0.75rem; font-size: 0.9rem; }
.topnav .xbtn { margin-inline: 0.35rem; }

/* modal em tela cheia na largura */
.xmodal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: flex-start; }
.xmodal[hidden] { display: none; }
.xmodal__scrim { position: absolute; inset: 0; background: rgba(31, 42, 46, 0.5); backdrop-filter: blur(3px); animation: xm-fade 0.3s ease; }
@keyframes xm-fade { from { opacity: 0; } }
.xmodal__sheet {
  position: relative;
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  width: 100%;
  max-height: 100svh;
  overflow-x: hidden;
  overflow-y: auto;
  padding: clamp(1.1rem, 3vw, 2.2rem) var(--gutter) clamp(1rem, 2.2vw, 1.6rem);
  background:
    repeating-linear-gradient(90deg, rgba(205, 224, 234, 0.28) 0 1.4rem, transparent 1.4rem 2.8rem),
    var(--paper);
  border-bottom: 3px solid var(--ink);
  border-radius: 0 0 2.4rem 2.4rem;
  box-shadow: 0 9px 0 var(--ink);
  animation: xm-in 0.5s var(--ease);
}
@keyframes xm-in { from { opacity: 0; transform: translateY(-36px) scale(0.985); } }
.xmodal__blob { position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; }
.xmodal__blob--a { top: -7rem; right: -5rem; width: 22rem; height: 22rem; background: var(--rose); opacity: 0.55; }
.xmodal__blob--b { bottom: -9rem; left: -6rem; width: 20rem; height: 20rem; background: var(--sky); opacity: 0.55; }
.xmodal__sheet > :not(.xmodal__blob) { position: relative; z-index: 1; }

.xhead { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(0.8rem, 2vw, 1.5rem); }
.xhead__tv { width: clamp(4.4rem, 8vw, 6.2rem); height: auto; overflow: visible; animation: xtv-bob 4s ease-in-out infinite; }
@keyframes xtv-bob { 50% { translate: 0 -4px; rotate: -1.5deg; } }
.xhead__tv .tv-body { fill: var(--wood); stroke: var(--ink); stroke-width: 3; }
.xhead__tv .tv-screen { fill: var(--sky); stroke: var(--ink); stroke-width: 3; }
.xhead__tv .tv-ant { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.xhead__tv .tv-lines { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; opacity: 0.55; }
.xhead__tv .tv-knob { fill: var(--butter); stroke: var(--ink); stroke-width: 2.5; }
.xhead__tv .tv-knob--b { fill: var(--rose); }
.xkicker { display: inline-block; margin: 0; padding: 0.22rem 0.8rem; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.xhead h2 { margin: 0.35rem 0 0.15rem; font-family: var(--font-logo); font-size: clamp(1.9rem, 4vw, 3.1rem); font-weight: 400; line-height: 1.05; color: var(--ink); }
.xhead__lead { max-width: 44rem; margin: 0; color: var(--ink-soft); }
.xclose { display: grid; place-items: center; align-self: start; width: 2.8rem; height: 2.8rem; padding: 0; border: 2px solid var(--ink); border-radius: 50%; background: #fffdf7; cursor: pointer; transition: rotate 0.3s var(--ease), background 0.2s, box-shadow 0.2s var(--ease); }
.xclose svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; }
.xclose:hover { rotate: 90deg; background: var(--rose); box-shadow: 2px 3px 0 var(--ink); }
.xclose:focus-visible { outline: 3px solid var(--petrol); outline-offset: 3px; }

.xbody { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: clamp(1rem, 2.4vw, 2rem); align-items: start; }
.xmain { display: grid; gap: 1.4rem; min-width: 0; }
.xstep h3 { display: flex; align-items: center; gap: 0.65rem; margin: 0 0 0.8rem; font-size: 1.2rem; }
.xnum { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border: 2px solid var(--ink); border-radius: 50%; background: var(--butter); font-size: 0.95rem; font-weight: 800; }

.xmodes { display: grid; grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr)); gap: 0.9rem; }
.xmode { position: relative; display: block; cursor: pointer; }
.xmode input { position: absolute; opacity: 0; }
.xmode__card {
  position: relative;
  display: grid;
  gap: 0.2rem;
  height: 100%;
  padding: 1rem 1.1rem 1.05rem;
  overflow: hidden;
  background: #fffdf7;
  border: 2px solid var(--ink);
  border-radius: 1.4rem;
  transition: background 0.25s, translate 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.xmode__card svg { width: 2.1rem; height: 2.1rem; margin-bottom: 0.35rem; padding: 0.4rem; box-sizing: content-box; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; border: 2px solid var(--ink); border-radius: 0.9rem; background: var(--sky); transition: rotate 0.3s var(--ease), background 0.25s; }
.xmode:nth-child(2) .xmode__card svg { background: var(--sage); }
.xmode:nth-child(3) .xmode__card svg { background: var(--rose); }
.xmode__card small { color: var(--ink-soft); }
.xmode__card::after { content: '✓'; position: absolute; top: 0.8rem; right: 0.9rem; display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 0.85rem; font-weight: 800; scale: 0; transition: scale 0.3s var(--ease); }
.xmode:hover .xmode__card { translate: -1px -3px; box-shadow: 3px 5px 0 var(--ink); }
.xmode:hover .xmode__card svg { rotate: -6deg; }
.xmode input:checked + .xmode__card { background: var(--butter); box-shadow: 4px 6px 0 var(--ink); translate: -2px -3px; }
.xmode input:checked + .xmode__card::after { scale: 1; }
.xmode input:focus-visible + .xmode__card { outline: 3px solid var(--petrol); outline-offset: 3px; }

.xpanel { display: grid; gap: 0.8rem; padding: clamp(0.9rem, 2vw, 1.3rem); background: rgba(255, 253, 247, 0.85); border: 2px solid var(--ink); border-radius: 1.5rem; animation: xm-pop 0.35s var(--ease); }
.xpanel[hidden] { display: none; }
@keyframes xm-pop { from { opacity: 0; transform: translateY(8px); } }
.xdates { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 0.7rem; }
.xdates__arrow { padding-bottom: 0.6rem; font-size: 1.4rem; font-weight: 800; }
.xfield { display: grid; gap: 0.3rem; font-weight: 700; }
.xfield input, .xsearch input {
  width: 100%;
  padding: 0.6rem 0.9rem;
  border: 2px solid var(--ink);
  border-radius: 0.95rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.xfield input:focus-visible, .xsearch input:focus-visible { outline: 3px solid var(--petrol); outline-offset: 2px; }
.xpresets, .xtools { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.xchip { padding: 0.32rem 0.85rem; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); color: var(--ink); font: inherit; font-size: 0.88rem; font-weight: 700; cursor: pointer; transition: background 0.2s, translate 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.xchip:hover { background: var(--butter); translate: 0 -2px; box-shadow: 0 3px 0 var(--ink); }
.xchip:focus-visible { outline: 3px solid var(--petrol); outline-offset: 2px; }
.xhint { margin: 0; font-weight: 600; color: var(--ink-soft); }
.xsearch { position: relative; flex: 1 1 14rem; }
.xsearch svg { position: absolute; top: 50%; left: 0.8rem; width: 1.1rem; height: 1.1rem; translate: 0 -50%; fill: none; stroke: var(--ink-soft); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.xsearch input { padding-left: 2.4rem; }

.xlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 0.6rem; max-height: min(40svh, 24rem); margin: 0; padding: 0.3rem 0.3rem 0.5rem; overflow-y: auto; list-style: none; }
.xpick { position: relative; display: flex; align-items: center; gap: 0.75rem; padding: 0.55rem 0.85rem; background: #fff; border: 2px solid var(--ink); border-radius: 1.1rem; cursor: pointer; transition: background 0.2s, translate 0.2s var(--ease), box-shadow 0.2s var(--ease); animation: xm-pop 0.35s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 25ms); }
.xpick:hover { translate: -1px -2px; box-shadow: 2px 3px 0 var(--ink); }
.xpick:has(input:checked) { background: var(--sage); box-shadow: 3px 4px 0 var(--ink); }
.xpick:has(input:focus-visible) { outline: 3px solid var(--petrol); outline-offset: 2px; }
.xpick input { position: absolute; opacity: 0; }
.xpick__box { display: grid; place-items: center; flex: none; width: 1.4rem; height: 1.4rem; border: 2px solid var(--ink); border-radius: 0.5rem; background: #fff; font-size: 0.85rem; font-weight: 800; color: transparent; transition: background 0.2s, color 0.2s; }
.xpick input:checked ~ .xpick__box { background: var(--ink); color: var(--paper); }
.xpick__text { display: grid; min-width: 0; line-height: 1.2; }
.xpick__text b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xpick__text small { color: var(--ink-soft); }
.xtag { flex: none; padding: 0.15rem 0.5rem; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.04em; }
.xtag--draft { background: var(--butter); color: var(--ink); border: 1.5px solid var(--ink); }

.xseasons { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 0.8rem; margin: 0; padding: 0.2rem; list-style: none; }
.xseason { position: relative; display: block; cursor: pointer; }
.xseason input { position: absolute; opacity: 0; }
.xseason__card { display: grid; grid-template-columns: 4.2rem 1fr; align-items: center; gap: 0.8rem; padding: 0.6rem; background: #fff; border: 2px solid var(--ink); border-radius: 1.2rem; transition: background 0.2s, translate 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.xseason__cover { display: grid; place-items: center; width: 4.2rem; height: 4.2rem; overflow: hidden; border: 2px solid var(--ink); border-radius: 0.9rem; background: var(--rose) center / cover; font-weight: 800; }
.xseason__text { display: grid; line-height: 1.2; min-width: 0; }
.xseason__text b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xseason__text small { color: var(--ink-soft); }
.xseason:hover .xseason__card { translate: -1px -2px; box-shadow: 3px 4px 0 var(--ink); }
.xseason input:checked + .xseason__card { background: var(--butter); box-shadow: 4px 5px 0 var(--ink); }
.xseason input:focus-visible + .xseason__card { outline: 3px solid var(--petrol); outline-offset: 2px; }

/* resumo: a "folha" que vai virar PDF */
.xsummary { position: sticky; top: 0; display: grid; gap: 0.9rem; }
.xpaper { position: relative; display: grid; gap: 0.35rem; padding: 1.5rem 1.3rem 1.2rem; background: #fffefa; border: 2px solid var(--ink); border-radius: 1.2rem; box-shadow: 5px 6px 0 var(--ink); rotate: 1.2deg; transition: rotate 0.4s var(--ease); }
.xpaper:hover { rotate: 0deg; }
.xpaper__tape { position: absolute; top: -0.7rem; left: 50%; width: 5rem; height: 1.3rem; translate: -50% 0; rotate: -3deg; background: var(--butter); border: 1.5px solid var(--ink); border-radius: 0.3rem; opacity: 0.95; }
.xpaper__brand { margin: 0; font-family: var(--font-logo); font-size: 0.95rem; color: var(--petrol); }
.xpaper__title { margin: 0.2rem 0 0; font-size: 1.25rem; font-weight: 800; line-height: 1.15; overflow-wrap: anywhere; }
.xpaper__sub { margin: 0; color: var(--ink-soft); font-size: 0.9rem; }
.xpaper__lines { display: grid; gap: 0.4rem; margin: 0.5rem 0; }
.xpaper__lines i { display: block; height: 0.45rem; border-radius: 999px; background: var(--wall); }
.xpaper__lines i:nth-child(2) { width: 88%; }
.xpaper__lines i:nth-child(3) { width: 94%; }
.xpaper__lines i:nth-child(4) { width: 52%; background: var(--rose); }
.xstats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; margin: 0.2rem 0 0.5rem; }
.xstats div { padding: 0.45rem 0.7rem; border: 2px solid var(--ink); border-radius: 0.9rem; background: var(--paper); }
.xstats div:nth-child(1) { background: var(--sage); }
.xstats div:nth-child(2) { background: var(--sky); }
.xstats div:nth-child(3) { background: var(--lilac); }
.xstats div:nth-child(4) { background: var(--rose); }
.xstats dt { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.xstats dd { margin: 0; font-size: 1.45rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.xstats dd.is-bump { animation: xm-bump 0.4s var(--ease); }
@keyframes xm-bump { 40% { transform: scale(1.18); } }
.xpaper__badge { justify-self: start; padding: 0.22rem 0.7rem; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.07em; }
.xnotes { display: grid; gap: 0.35rem; margin: 0.2rem 0 0; padding: 0; list-style: none; font-size: 0.9rem; color: var(--ink-soft); }
.xnotes li { display: flex; gap: 0.5rem; }
.xnotes li::before { content: '✦'; color: var(--signal); }

.xfoot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.9rem; padding-top: 0.9rem; border-top: 2px dashed var(--ink); }
.xstatus { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0; font-weight: 700; }
.xstatus.is-error { padding: 0.3rem 0.8rem; border: 2px solid var(--ink); border-radius: 999px; background: var(--rose); }
.xstatus.is-ok { padding: 0.3rem 0.8rem; border: 2px solid var(--ink); border-radius: 999px; background: var(--sage); }
.xstatus.is-ok::before { content: '✓'; font-weight: 800; }
.xfoot__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem; margin-left: auto; }
.xcancel { padding: 0.65rem 1.2rem; border: 2px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; transition: background 0.2s; }
.xcancel:hover { background: var(--wall); }
.xgo { position: relative; display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.75rem 1.6rem; overflow: hidden; border: 2px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--paper); font: inherit; font-size: 1.05rem; font-weight: 800; cursor: pointer; box-shadow: 3px 4px 0 var(--signal); transition: translate 0.25s var(--ease), box-shadow 0.25s var(--ease), opacity 0.2s; }
.xgo svg { position: relative; width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.xgo__label { position: relative; }
.xgo__bar { position: absolute; inset: 0; width: 0; background: repeating-linear-gradient(135deg, var(--petrol) 0 0.8rem, #2a6472 0.8rem 1.6rem); transition: width 0.4s ease; }
.xgo:hover:not(:disabled) { translate: -1px -2px; box-shadow: 5px 7px 0 var(--signal); }
.xgo:active:not(:disabled) { translate: 1px 1px; box-shadow: 1px 1px 0 var(--signal); }
.xgo:disabled { opacity: 0.45; cursor: not-allowed; box-shadow: none; }
.xgo.is-busy { opacity: 1; cursor: progress; }
.xgo.is-busy .xgo__bar { width: 100%; animation: xgo-slide 1s linear infinite; background-size: 2.3rem 2.3rem; }
.xgo.is-busy svg { animation: xgo-hop 0.8s ease-in-out infinite; }
@keyframes xgo-slide { to { background-position: 2.3rem 0; } }
@keyframes xgo-hop { 50% { translate: 0 3px; } }
.xgo:focus-visible { outline: 3px solid var(--petrol); outline-offset: 3px; }
html.xmodal-open { overflow: hidden; }

@media (max-width: 62rem) {
  .xbody { grid-template-columns: 1fr; }
  .xsummary { position: static; grid-template-columns: minmax(0, 22rem) 1fr; align-items: center; }
}
@media (max-width: 40rem) {
  .xhead { grid-template-columns: auto 1fr; }
  .xclose { grid-column: 2; grid-row: 1; justify-self: end; }
  .xhead__copy { grid-column: 1 / -1; }
  .xdates { grid-template-columns: 1fr; }
  .xdates__arrow { display: none; }
  .xsummary { grid-template-columns: 1fr; }
  .xfoot__actions { width: 100%; }
  .xgo { flex: 1; justify-content: center; }
}
@media (max-width: 40rem) {
  .xmode__card { grid-template-columns: auto 1fr; align-items: center; column-gap: 0.8rem; padding: 0.7rem 0.9rem; }
  .xmode__card svg { grid-row: 1 / 3; margin: 0; }
  .xmodes { gap: 0.6rem; }
  .xpaper { rotate: 0deg; }
}
