/* A persona's site (docs/storefront.md). One layout for every persona: a persona changes the photo and where
   its face is (--focus), the name and its typeface, the line under it, --accent and the list of buttons.
   theme.css sets --accent, --on-accent and --focus per hostname. Built for a phone held upright,
   since nearly every visit comes from Instagram's own browser; wider than a phone, it is a phone-wide column. */

@font-face {
  font-family: "Bodoni Moda";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/bodoni-moda-italic-v28.woff2") format("woff2");
}

@font-face {
  font-family: Anton;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/anton-v27.woff2") format("woff2");
}

@font-face {
  font-family: "Dancing Script";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/dancing-script-v29.woff2") format("woff2");
}

@font-face {
  font-family: Figtree;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/figtree-v9.woff2") format("woff2");
}

:root {
  --ground: #0f0c0b;
  --text: #f6f1eb;
  --soft: #e4dad1;
  --quiet: #d6cbc2;
  --muted: #a99e96;
  --glass: rgba(255, 255, 255, 0.1);
  --edge: rgba(255, 255, 255, 0.16);
  /* theme.css replaces these three with the persona's. */
  --accent: #ff5c7a;
  --on-accent: #000000;
  --focus: 50% 20%;
  --display: "Bodoni Moda", Didot, "Bodoni 72", "Times New Roman", serif;
  --ui: Figtree, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --column: 430px;
}

html {
  background: var(--ground);
  color: var(--text);
  font-family: var(--ui);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
}

/* What a page's script shows once it runs (the PIX's copy button) stays hidden without it, whatever its class says. */
[hidden] {
  display: none !important;
}

/* The same photo out of focus, behind the column on a wide screen. */
.backdrop {
  display: none;
}

.hub {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-sizing: border-box;
  max-width: var(--column);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--ground);
}

.hub__hero {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus);
}

/* Clear over the face, dark where the name and the buttons stand. */
.hub__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(15, 12, 11, 0) 32%, rgba(15, 12, 11, 0.8) 58%, var(--ground) 86%);
}

/* The 18+ step: the same photo, darker sooner, since a card stands where the buttons were. */
.hub__scrim--deep {
  background: linear-gradient(180deg, rgba(15, 12, 11, 0.05) 18%, rgba(15, 12, 11, 0.82) 46%, var(--ground) 72%);
}

.hub__body {
  display: flex;
  flex-direction: column;
  gap: 22px;
  /* The face keeps the top of the photo, however much stands below it and however short the screen: about
     two thirds of the column's width, which is where a portrait's chin falls. A short phone scrolls a little
     rather than set the name over the face; the first two buttons still show without scrolling. */
  padding: max(30vh, min(68vw, 292px)) 20px max(8px, env(safe-area-inset-bottom));
}

/* The name is as big as its longest word allows on one line. The page says which size (hub.name_size), since
   the CSP allows no inline style; each is a share of the screen's width, up to what the column's width gives.
   Only a word too long for the smallest size breaks in the middle. */
.hub__name {
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: min(20vw, 4.875rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.hub__name--17 {
  font-size: min(17vw, 4.5rem);
}

.hub__name--14 {
  font-size: min(14vw, 3.75rem);
}

.hub__name--12 {
  font-size: min(12vw, 3.1875rem);
}

.hub__name--10 {
  font-size: min(10vw, 2.6875rem);
}

.hub__name--8 {
  font-size: min(8vw, 2.125rem);
}

/* The name on the bar of the store's pages: one size, in the persona's typeface, on one line with room for its
   letters' tails whichever typeface it is. */
.bar .hub__name {
  min-width: 0;
  font-size: 1.625rem;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* The name's typeface, which the persona picks (hub.FACES). The first, Bodoni in italic, is the rule above. Each
   has its own widths, which is what hub.name_size goes by to pick the size. */
.hub__name--moderna {
  font-family: var(--ui);
  font-style: normal;
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hub__name--impacto {
  font-family: Anton, Impact, "Arial Narrow", sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.hub__name--manuscrita {
  font-family: "Dancing Script", "Snell Roundhand", cursive;
  font-style: normal;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
}

.hub__tagline {
  max-width: 300px;
  margin: 10px 0 0;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--soft);
  text-wrap: pretty;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.link {
  display: flex;
  align-items: center;
  gap: 14px;
  box-sizing: border-box;
  min-height: 68px;
  padding: 12px 16px 12px 12px;
  border: 1px solid var(--edge);
  border-radius: 20px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--text);
  text-decoration: none;
}

.link:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 3px;
}

.link__icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.link__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.link__title {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.2;
}

.link__line {
  font-size: 0.8125rem;
  line-height: 1.3;
  color: var(--quiet);
}

.link__go {
  flex: none;
}

/* The first button is the one thing on the page in the persona's color. */
.link--main {
  border-color: transparent;
  background: var(--accent);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  color: var(--on-accent);
}

.link--main .link__icon {
  background: rgba(0, 0, 0, 0.12);
}

.link--main .link__line {
  color: inherit;
  font-weight: 500;
}

.hub__foot {
  margin: 0;
  padding: 6px 0 14px;
  font-size: 0.75rem;
  color: var(--muted);
}

/* Said to a screen reader and not shown. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* The one thing to press on a page of the store, in the persona's color. */
.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 56px;
  margin: 0;
  padding: 0 20px;
  border: 0;
  border-radius: 18px;
  background: var(--accent);
  color: var(--on-accent);
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.cta:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 3px;
}

.cta:disabled {
  background: var(--glass);
  color: var(--muted);
  cursor: not-allowed;
}

/* The 18+ step (B3): asked once, the first time the store opens. */
.age {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--edge);
  border-radius: 24px;
  background: rgba(15, 12, 11, 0.6);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.age__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
}

.age__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--soft);
}

.age__form {
  margin: 8px 0 0;
}

.age__back {
  align-self: center;
  padding: 10px 16px;
  font-size: 0.9375rem;
  color: var(--soft);
  text-underline-offset: 3px;
}

.age__back:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 2px;
  border-radius: 8px;
}

/* The store and a pack's page: a bar with the way back, then the column. */
.shop {
  position: relative;
  box-sizing: border-box;
  max-width: var(--column);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: var(--ground);
}

.bar {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: max(8px, env(safe-area-inset-top)) 16px 8px 6px;
  border-bottom: 1px solid var(--edge);
  background: rgba(15, 12, 11, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

/* A purchase's pages on a site switched off: no way back, so the name starts at the edge, at the bar's height. */
.bar--plain {
  padding-left: 16px;
}

.bar--plain .hub__name {
  line-height: 44px;
}

.bar__back {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--text);
}

.bar__back:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: -3px;
}

/* "Minhas compras" (B5), on the store's bar once this device bought something. */
.bar__mine {
  flex: none;
  margin-left: auto;
  padding: 8px 12px;
  border: 1px solid var(--edge);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.bar__mine:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 2px;
}

.shop__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 22px 16px 8px;
}

.shop__title {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.shop__empty {
  margin: 0;
  color: var(--quiet);
}

.shop__foot {
  padding: 28px 16px max(16px, env(safe-area-inset-bottom));
  font-size: 0.75rem;
  color: var(--muted);
}

/* "Ensaios" and "Vídeos": two packs a row on a phone. */
.shelf {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shelf__title {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--quiet);
}

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

.card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: var(--text);
  text-decoration: none;
}

.card:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 4px;
  border-radius: 14px;
}

.card__cover {
  display: block;
  aspect-ratio: 3 / 4;
  margin-bottom: 7px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--glass);
}

.card__cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__name {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.card__count {
  font-size: 0.8125rem;
  color: var(--quiet);
}

.card__price {
  margin: 2px 0 0;
  font-size: 0.9375rem;
  font-weight: 700;
}

.card__price s,
.buy__price s {
  margin-right: 4px;
  font-weight: 400;
  color: var(--muted);
}

/* A promotion's deadline: the one mark in the persona's color on a card. */
.sale {
  align-self: flex-start;
  margin-top: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.75rem;
  font-weight: 700;
}

.pack {
  display: flex;
  align-items: flex-end;
  gap: 16px;
}

.pack__cover {
  flex: none;
  width: 96px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
}

.pack__name {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.pack__count {
  margin: 6px 0 0;
  font-size: 0.875rem;
  color: var(--quiet);
}

/* The persona's own words, as typed in Catálogo: its line breaks kept. */
.pack__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--soft);
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.buy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--edge);
  border-radius: 22px;
  background: var(--glass);
}

.buy__price {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.1;
}

.buy__price s {
  font-size: 1rem;
}

/* The promotion's deadline on a pack's page: words under the price, with a clock in the persona's color. Not the
   card's pill, since the button just below is filled with that color and the page's one thing to press. */
.buy__sale {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: -4px 0 0;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--soft);
}

.buy__sale svg {
  flex: none;
  color: var(--accent);
}

.buy__note {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--quiet);
}

.buy__form {
  margin: 0;
}

.buy__owned {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

/* Beside the one thing to press: outlined, in the text's color. */
.ghost {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 0 20px;
  border: 1px solid var(--edge);
  border-radius: 18px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.ghost:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 3px;
}

/* A pack's PIX (B4): the code to copy first, since the phone that reads the page is the one that pays, then the
   steps, then the QR for paying from another device. */
.pix {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pix__head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pix__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
}

.pix__amount {
  margin: 4px 0 0;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
}

.pix__what {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--quiet);
  overflow-wrap: anywhere;
}

.pix__note {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--edge);
  border-radius: 14px;
  background: var(--glass);
  font-size: 0.9375rem;
  line-height: 1.4;
}

.pix__copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--edge);
  border-radius: 22px;
  background: var(--glass);
}

.pix__label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--quiet);
}

.pix__code {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--edge);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--soft);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.75rem;
  line-height: 1.45;
  word-break: break-all;
  resize: none;
  /* The whole code, as tall as it is, where the browser can size a box to its text; six lines elsewhere, which a
     usual code fits in. */
  field-sizing: content;
  overflow: auto;
}

.pix__code:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 2px;
}

.pix__steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0 0 0 22px;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--soft);
}

.pix__ref,
.pix__small {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--quiet);
}

.pix__until {
  margin: 6px 0 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--soft);
}

/* Black on white whatever the persona's color, as every bank's app reads it; the white edge is its quiet zone. */
.pix__qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.pix__qr img {
  display: block;
  width: 184px;
  height: 184px;
  padding: 14px;
  border-radius: 16px;
  background: #fff;
}

.pix__qr figcaption {
  max-width: 260px;
  font-size: 0.8125rem;
  line-height: 1.4;
  text-align: center;
  color: var(--quiet);
}

.pix__check,
.pix__again {
  margin: 0;
}

/* Paid, in review, expired or not made: a few words and, where there is one, the next thing to press. */
.pix--end {
  padding: 22px 18px;
  border: 1px solid var(--edge);
  border-radius: 22px;
  background: var(--glass);
}

.pix__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--soft);
  overflow-wrap: anywhere;
}

.pix__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
}

/* What is inside, blurred: each tile is a few hundred bytes made at publish, blurred again here. */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 14px;
  list-style: none;
}

.tile {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #2a2320;
}

.tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(10px);
  transform: scale(1.2);
}

.tile__mark {
  position: absolute;
  right: 6px;
  bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 22px;
  padding: 0 6px;
  box-sizing: border-box;
  border-radius: 11px;
  background: rgba(15, 12, 11, 0.62);
  color: var(--text);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* A pack bought (B5): the link to keep, then every photo and video at the column's width, each its own shape. */
.keep {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--edge);
  border-radius: 22px;
  background: var(--glass);
}

.keep__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.keep__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--soft);
}

.keep__link {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  margin: 2px 0 0;
  padding: 0 12px;
  border: 1px solid var(--edge);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--soft);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.75rem;
}

.keep__link:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 2px;
}

.keep__ref {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--quiet);
}

.feed {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feed__item img,
.feed__item video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  background: #2a2320;
}

/* "Minhas compras": one row a pack, to its link. */
.buys {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--edge);
  border-radius: 18px;
  list-style: none;
}

.buys li + li {
  border-top: 1px solid var(--edge);
}

.buys__row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 12px 12px 12px 16px;
  color: var(--text);
  text-decoration: none;
}

.buys__row:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: -3px;
}

.buys__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.buys__name {
  font-weight: 700;
  overflow-wrap: anywhere;
}

.buys__meta {
  font-size: 0.8125rem;
  color: var(--quiet);
  overflow-wrap: anywhere;
}

.buys__state {
  flex: none;
  padding: 3px 9px;
  border: 1px solid var(--edge);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--soft);
}

.buys__go {
  flex: none;
  color: var(--muted);
}

.buys__note {
  margin: -12px 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--quiet);
}

/* "Recuperar meu link": the order's code, and the button. */
.recover__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.recover {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}

.recover__field {
  box-sizing: border-box;
  width: 100%;
  min-height: 52px;
  margin: 0 0 6px;
  padding: 0 14px;
  border: 1px solid var(--edge);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  /* 16 px at least, or iOS zooms the page into the field. */
  font-size: 1rem;
}

.recover__field::placeholder {
  color: var(--muted);
}

.recover__field:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 2px;
}

/* The VIP page (C3): the persona's photo and what the VIP holds, its benefits, the plans, then the feed. */
.vip {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vip__head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.vip__face {
  flex: none;
  width: 72px;
  height: 72px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  object-fit: cover;
  object-position: var(--focus);
}

.vip__title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.vip__count {
  margin: 4px 0 0;
  font-size: 0.875rem;
  color: var(--quiet);
}

.perks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.perks__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.perks__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--soft);
  overflow-wrap: anywhere;
}

.perks__list svg {
  flex: none;
  margin-top: 1px;
  color: var(--accent);
}

/* The plans, in Catálogo's order: the first in the persona's color. */
.plans {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plans__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan {
  display: flex;
  align-items: center;
  gap: 12px;
  box-sizing: border-box;
  width: 100%;
  min-height: 64px;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid var(--edge);
  border-radius: 18px;
  background: var(--glass);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.plan:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 3px;
}

.plan--first {
  border-color: transparent;
  background: var(--accent);
  color: var(--on-accent);
}

.plan__what {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.plan__name {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.plan__mark {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--text);
  color: var(--ground);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  vertical-align: 2px;
  white-space: nowrap;
}

.plan__save {
  font-size: 0.8125rem;
  font-weight: 600;
  opacity: 0.85;
}

.plan__price {
  flex: none;
  font-size: 1.125rem;
  font-weight: 700;
  white-space: nowrap;
}

a.ghost {
  text-decoration: none;
}

/* Posts and Mídias. */
.vipfeed {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tabs {
  display: flex;
  border-bottom: 1px solid var(--edge);
}

.tabs__tab {
  flex: 1;
  padding: 12px 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.tabs__tab[aria-current="page"] {
  border-bottom-color: var(--text);
  color: var(--text);
}

.tabs__tab:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: -3px;
}

.day {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.post {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.post + .post {
  padding-top: 16px;
  border-top: 1px solid var(--edge);
}

/* A caption as typed in Telegram: plain text, its line breaks kept. */
.post__text {
  display: block;
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--soft);
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.post__fold summary {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
  cursor: pointer;
}

.post__fold summary::-webkit-details-marker {
  display: none;
}

.post__fold summary:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 3px;
  border-radius: 6px;
}

.post__fold[open] summary {
  display: none;
}

.post__text--cut {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.post__more {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
}

/* A post's photos and videos, blurred, with "Assine para ver" over them. */
.post__media {
  position: relative;
}

.tiles--1 {
  grid-template-columns: minmax(0, 1fr);
}

.tiles--1 .tile {
  aspect-ratio: 4 / 5;
}

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

.tiles--2 .tile {
  aspect-ratio: 4 / 5;
}

.post__lock {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(15, 12, 11, 0.72);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

@media (min-width: 700px) {
  .backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: -3;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 25%;
    filter: blur(48px) brightness(0.4);
    transform: scale(1.2);
  }

  .hub,
  .shop {
    box-shadow: 0 0 120px rgba(0, 0, 0, 0.6);
  }
}
