/* Frame Story: a linguagem dos aparelhos Braun (Dieter Rams). Cinza de catálogo,
   grafite, um único laranja para o que está ativo, Helvetica.
   Tema: automático (segue o sistema), claro ou escuro, em <html data-theme>. */
:root {
  /* Claro: o cinza-claro e o branco quente do catálogo, tinta grafite. */
  --base: #ffffff;
  --column: #f5f5f5;
  --line: #e2e2e2;
  --ink: #0a0a0a;
  --muted: #595959;        /* ≥ 4.5:1 sobre base, coluna e poço (WCAG AA) */
  --well: #ececec;
  --orange: #ff6a13;       /* cor de marca e superfícies; texto laranja usa --orange-text */
  --orange-text: #ad4007;  /* laranja legível sobre o claro (≥ 4.5:1) */
  --field: #7d7c77;        /* borda de campos e controles (≥ 3:1) */
  --focus: #0a0a0a;
  --good: #2a7340;
  --on-orange: #111111;
  --danger: #a92d18;
  --gutter: 16px;
  /* Superfícies da story/editor (sempre papel claro, como no Exposure) */
  --paper: var(--column);
  --s-ink: var(--ink);
  --s-muted: var(--muted);
  /* Superfícies escuras fixas (faixa "Made with Frame Story", aparelho, botão escuro) */
  --night: #111111;
  --on-night: #f5f5f5;
  --on-night-muted: #a6a6a6;
  --device: #262625;
  /* Escala tipográfica (a mesma em todas as páginas) */
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --t-display: clamp(44px, 9vw, 128px);  /* home: abertura e fechamento */
  --t-h1: clamp(34px, 5.4vw, 64px);      /* título de cada página */
  --t-h2: clamp(30px, 4.6vw, 60px);      /* seções grandes da home */
  --t-label: 12px;                        /* rótulos, abas, botões (caixa alta) */
  --track-label: .1em;
  color-scheme: light;
}

/* Escuro: o grafite da faixa lateral, tinta clara. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --base: #2b2b2a;
    --column: #333332;
    --line: #42423f;
    --ink: #eeede8;
    --muted: #adaca6;
    --well: #222221;
    --orange-text: #ff7a2e;
    --field: #85847e;
    --focus: #eeede8;
    --good: #5fbf7a;
    --on-orange: #111111;
    --danger: #f6866f;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --base: #2b2b2a;
  --column: #333332;
  --line: #42423f;
  --ink: #eeede8;
  --muted: #adaca6;
  --well: #222221;
  --orange-text: #ff7a2e;
  --field: #85847e;
  --focus: #eeede8;
  --good: #5fbf7a;
  --on-orange: #111111;
  --danger: #f6866f;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 96px; } /* o foco nunca fica escondido sob o cabeçalho fixo */

/* Acessibilidade (WCAG 2.2 AA): foco sempre visível, link para pular ao conteúdo, menos movimento. */
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.pill:focus-visible, button:focus-visible { outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--base);
  padding: 10px 16px; border-radius: 999px; text-decoration: none; font-size: 14px; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

html, body { margin: 0; }

body {
  background: var(--base);
  color: var(--ink);
  font: 300 16px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: inherit; text-decoration-color: var(--line); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--orange); }

/* Barra superior */
.bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: max(14px, env(safe-area-inset-top)) var(--gutter) 14px;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--base) 92%, transparent);
  backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 500; text-decoration: none; letter-spacing: .02em; }
.brand .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.brand .mark { height: 15px; width: auto; display: block; color: var(--orange); }
.bar nav { display: flex; align-items: center; gap: 18px; font-size: 14px; flex-wrap: wrap; justify-content: flex-end; }
.bar nav a { text-decoration: none; color: var(--muted); }
.bar nav a:hover, .bar nav a.accent { color: var(--ink); }
.bar nav a.accent { border-bottom: 2px solid var(--orange); }
.bar nav form { margin: 0; }
@media (max-width: 560px) {
  .bar { flex-wrap: wrap; row-gap: 10px; }
  .bar nav { width: 100%; justify-content: space-between; gap: 12px; flex-wrap: nowrap; }
  .bar nav .theme { margin-right: auto; }
}

main { max-width: 760px; margin: 0 auto; padding: 32px var(--gutter) 80px; }
main.wide { max-width: 1400px; }

h1, .h1 { font-weight: 300; font-size: var(--t-h1); line-height: 1.04; margin: 0 0 16px; letter-spacing: -.015em; }
.h2-big { font-size: var(--t-h2); line-height: 1; font-weight: 300; letter-spacing: -.02em; margin: 0 0 20px; }
/* Título de seção dentro de uma página (Ajustes, zona de perigo): rótulo em caixa alta */
.section-title { font-size: var(--t-label); font-weight: 500; letter-spacing: var(--track-label); text-transform: uppercase; margin: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: var(--track-label); font-size: var(--t-label); color: var(--muted); margin: 0 0 10px; font-weight: 400; }
.lead { font-size: 18px; color: var(--muted); max-width: 52ch; }
.muted { color: var(--muted); font-size: 14px; }
.empty { color: var(--muted); padding: 48px 0; text-align: center; }

.hero {
  margin: 8vh 0 6vh; padding: clamp(28px, 6vw, 56px);
  background: var(--orange); color: var(--on-orange); border-radius: 18px;
}
.hero h1 { font-size: clamp(36px, 8vw, 64px); }
.hero .eyebrow, .hero .lead { color: color-mix(in srgb, var(--on-orange) 72%, var(--orange)); }
.hero .button { background: var(--on-orange); color: var(--orange); }
.hero .button.ghost { background: transparent; color: var(--on-orange); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--on-orange) 40%, transparent); }

/* Seletor de tema: três pontos, como os botões de um aparelho Braun */
.theme { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.theme button {
  width: 28px; height: 24px; border: 0; border-radius: 999px; background: transparent;
  color: var(--muted); cursor: pointer; display: grid; place-items: center; padding: 0;
}
.theme button svg { width: 14px; height: 14px; }
.theme button[aria-pressed="true"] { background: var(--ink); color: var(--base); }

.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }

/* Botões e formulários */
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px;
  font: 500 13px/1 var(--font); letter-spacing: .08em; text-transform: uppercase;
  background: var(--orange); color: var(--on-orange); border: 0; border-radius: 999px;
  padding: 14px 24px; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.button.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--field); }
.button:hover { filter: brightness(1.08); }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); cursor: pointer; }
.link:hover { color: var(--ink); }
.link.danger { color: var(--danger); }

.narrow { max-width: 420px; margin: 0 auto; }
.stack { display: grid; gap: 18px; margin: 24px 0; }
.row { display: flex; gap: 12px; flex-wrap: wrap; }
label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
label.check { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 16px; }
small { font-size: 12px; }
input, textarea {
  font: inherit; font-weight: 400; color: var(--ink); background: var(--column);
  border: 1px solid var(--field); border-radius: 10px; padding: 12px 14px; width: 100%;
}
input:focus, textarea:focus { border-color: var(--ink); }
input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--orange); }
.error { color: var(--danger); }
.ok { color: var(--orange-text); }

/* Envio */
.drop { position: relative; border: 1px dashed var(--line); border-radius: 14px; margin: 0 0 28px; transition: border-color .15s, background .15s; }
.drop.over { border-color: var(--orange); background: var(--column); }
.drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop:focus-within { outline: 2px solid var(--focus); outline-offset: 3px; }
.drop label { display: grid; gap: 4px; padding: 28px; text-align: center; color: var(--muted); pointer-events: none; }
.drop label strong { color: var(--ink); font-weight: 500; }
.drop progress[hidden] { display: none; }
.drop progress { display: block; width: calc(100% - 56px); margin: 0 28px 12px; accent-color: var(--orange); height: 4px; }
.drop .status { margin: 0 28px 16px; font-size: 13px; color: var(--muted); text-align: center; }
.drop .status:empty { display: none; }

/* Grade em mosaico, como no VSCO: ordem de leitura, espaço generoso.
   Com JavaScript, o app.js monta as colunas (.masonry-col); sem ele, colunas de CSS. */
.grid { --gap: 12px; list-style: none; padding: 0; margin: 0; columns: 2; column-gap: var(--gap); }
@media (min-width: 700px) { .grid { --gap: 20px; columns: 3; } }
@media (min-width: 1100px) { .grid { --gap: 24px; columns: 4; } }
.grid li { break-inside: avoid; margin: 0 0 var(--gap); position: relative; list-style: none; }
.grid.is-masonry { columns: auto; display: flex; gap: var(--gap); align-items: flex-start; }
.grid .masonry-col { flex: 1; min-width: 0; padding: 0; margin: 0; }
.grid .masonry-col > ul { list-style: none; padding: 0; margin: 0; }
.grid a { display: block; background: var(--well); overflow: hidden; }
.grid img { display: block; width: 100%; height: auto; transition: opacity .2s; }
.grid a:hover img { opacity: .88; }
.grid .badge { position: absolute; top: 8px; right: 8px; color: var(--on-night); background: color-mix(in srgb, var(--night) 80%, transparent); border-radius: 999px; padding: 3px 8px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }

/* Perfil: avatar redondo, nome grande, ações em pílula, aba sublinhada */
.profile { display: flex; align-items: center; gap: clamp(20px, 4vw, 40px); margin: 8px 0 32px; }
.profile .who { min-width: 0; flex: 1; }
.profile .name-row { display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap; }
.profile h1 { margin: 0; }
.profile .actions { display: flex; gap: 10px; }
.profile .handle { margin: 6px 0 0; color: var(--muted); font-size: 16px; }
.profile .bio { margin: 10px 0 0; max-width: 56ch; }
@media (max-width: 560px) {
  .profile { gap: 18px; align-items: flex-start; }
  .profile .avatar.lg { width: 76px; height: 76px; font-size: 32px; }
  .profile .name-row { gap: 12px; }
}
.pill {
  font: 500 var(--t-label)/1 var(--font); letter-spacing: .08em; text-transform: uppercase;
  padding: 10px 18px; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none;
  background: var(--ink); color: var(--base); white-space: nowrap;
}
@media (max-width: 560px) { .pill { padding: 9px 13px; font-size: 11px; } .profile .actions { gap: 8px; } }
.pill.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--field); }
.pill.done { background: var(--orange); color: var(--on-orange); }

.tabs { display: flex; align-items: baseline; gap: 10px; border-top: 1px solid var(--line); margin: 0 0 24px; }
.tabs span { font-size: var(--t-label); letter-spacing: var(--track-label); text-transform: uppercase; padding-top: 14px; }
.tabs .active { font-weight: 500; box-shadow: inset 0 2px 0 var(--ink); }
.tabs .count { color: var(--muted); }

.avatar {
  border-radius: 50%; object-fit: cover; flex: none; display: inline-grid; place-items: center;
  background: var(--orange); color: var(--on-orange); font-weight: 400;
}
.avatar.lg { width: clamp(88px, 14vw, 132px); height: clamp(88px, 14vw, 132px); font-size: clamp(36px, 6vw, 54px); }
.avatar.md { width: 72px; height: 72px; font-size: 30px; }
.avatar.sm { width: 28px; height: 28px; font-size: 13px; }
.avatar-field { display: flex; align-items: center; gap: 16px; }
.avatar-field label { flex: 1; }

/* Visualizador da foto: tela limpa, fechar, anterior e próxima */
.viewer {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: calc(100vh - 140px); margin: -16px calc(-1 * var(--gutter)) 0; padding: 48px 72px;
}
.viewer .photo { margin: 0; display: flex; justify-content: center; }
.viewer .photo img { display: block; max-width: 100%; max-height: calc(100vh - 220px); width: auto; height: auto; }
.viewer .close, .viewer .step {
  position: absolute; width: 44px; height: 44px; display: grid; place-items: center;
  color: var(--ink); border-radius: 50%; text-decoration: none;
}
.viewer .close:hover, .viewer .step:hover { background: var(--column); }
.viewer svg { width: 24px; height: 24px; }
.viewer .close { top: 8px; left: 12px; }
.viewer .step { top: 50%; transform: translateY(-50%); }
.viewer .prev { left: 12px; }
.viewer .next { right: 12px; }
@media (max-width: 640px) {
  .viewer { padding: 56px 0 8px; min-height: 0; }
  .photo img { max-height: 72vh; }
  .viewer .step { top: 8px; transform: none; }
  .viewer .prev { left: auto; right: 60px; }
  .viewer .next { right: 12px; }
}
.meta { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 20px 0 24px; border-bottom: 1px solid var(--line); max-width: 900px; margin: 0 auto; }
@media (max-width: 640px) { .meta { grid-template-columns: 1fr; } }
.meta .who { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; text-decoration: none; }
.meta .caption { font-size: 18px; margin: 10px 0 4px; }
.meta dl { display: grid; grid-template-columns: auto auto; gap: 4px 16px; margin: 0; font-size: 14px; align-content: start; }
.meta dt { color: var(--muted); }
.meta dd { margin: 0; }
.owner { max-width: 520px; margin: 0 auto; padding-top: 8px; }
.meta + .owner { max-width: 900px; }

/* Biblioteca: filtros, selo de pública e seleção múltipla */
.tabs a { font-size: var(--t-label); letter-spacing: var(--track-label); text-transform: uppercase; padding-top: 14px; text-decoration: none; color: var(--muted); }
.tabs a.active { color: var(--ink); font-weight: 500; box-shadow: inset 0 2px 0 var(--ink); }
.tabs a { white-space: nowrap; }
.tabs a .count { margin-left: 4px; }
.lib-tabs { gap: 22px; align-items: center; }
.lib-tabs { flex-wrap: wrap; row-gap: 0; }
@media (max-width: 560px) { .lib-tabs { gap: 0 14px; } .lib-tabs .select-toggle { padding: 9px 12px; } }
.lib-tabs .select-toggle { margin: 10px 0 0 auto; }
body.selecting .select-toggle { background: var(--ink); color: var(--base); box-shadow: none; }

.status-chip {
  position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 10px 5px 8px; border-radius: 999px;
  background: var(--orange); color: var(--on-orange); box-shadow: 0 1px 6px rgba(0,0,0,.25);
}
.status-chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--on-orange); }

.grid .pick { display: none; position: absolute; inset: 0; cursor: pointer; }
.grid .pick input { position: absolute; opacity: 0; pointer-events: none; }
.grid .pick input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.grid .pick span {
  position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border-radius: 50%;
  border: 1.5px solid #fff; background: rgba(0,0,0,.25); box-shadow: 0 0 0 1px rgba(0,0,0,.15);
}
body.selecting .grid .pick { display: block; }
body.selecting .grid li a img { transition: transform .15s, opacity .15s; }
.grid .pick input:checked + span { background: var(--orange); border-color: var(--orange); }
.grid .pick input:checked + span::after {
  content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px;
  border: solid var(--on-orange); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.grid li[data-ratio]:has(.pick input:checked) a { box-shadow: 0 0 0 3px var(--orange); }
.grid li[data-ratio]:has(.pick input:checked) img { opacity: .82; }

.selbar {
  position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); transform: translateX(-50%);
  z-index: 20; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center;
  width: min(720px, calc(100% - 2 * var(--gutter))); padding: 12px 16px 12px 22px; border-radius: 999px;
  background: var(--column); box-shadow: 0 0 0 1px var(--line), 0 12px 32px rgba(0,0,0,.25);
}
.selbar[hidden] { display: none; }
.selbar .sel-count { font-size: 14px; margin-right: auto; }
.selbar .sel-actions { display: flex; align-items: center; gap: 14px; }
.selbar button:disabled { opacity: .4; cursor: default; }
body.selecting main { padding-bottom: 120px; }
@media (max-width: 560px) {
  .selbar { border-radius: 18px; padding: 12px 14px; gap: 10px; }
  .selbar .sel-count { width: 100%; text-align: center; margin: 0; }
  .selbar .sel-actions { width: 100%; justify-content: center; flex-wrap: wrap; gap: 10px 16px; }
  .selbar .sel-actions .pill { flex: 1 1 40%; }
}

/* ---- Home (deslogada), no espírito da home do VSCO -------------------------- */
main.full { max-width: none; padding: 0; }
main.bare { max-width: none; padding: 0; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.bar .pill { padding: 9px 16px; font-size: 11px; }
.bar nav a.pill { color: var(--base); }
.bar nav a.pill.ghost { color: var(--ink); }
.pill.big { padding: 15px 26px; font-size: 13px; }
.pill.accent { background: var(--orange); color: var(--on-orange); }
.pill.dark { background: var(--night); color: var(--on-night); }
html { scroll-behavior: smooth; }

.home-hero { padding: clamp(56px, 12vh, 140px) 0 clamp(48px, 9vh, 110px); }
.home-hero h1 {
  font-size: var(--t-display); line-height: .92; font-weight: 500; letter-spacing: -.03em;
  text-transform: uppercase; margin: 0 0 28px;
}
.home-hero .lead { font-size: clamp(17px, 2vw, 22px); color: var(--ink); max-width: 46ch; margin: 0 0 32px; font-weight: 300; }
.home-hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 0; }

.home-band { background: var(--night); color: var(--on-night); padding: clamp(40px, 7vh, 80px) 0 clamp(36px, 6vh, 64px); }
.home-band h2 { font-size: var(--t-h2); line-height: 1; text-transform: uppercase; font-weight: 500; letter-spacing: -.02em; margin: 0 0 22px; }
.band-tabs { display: flex; gap: 22px; margin-bottom: 26px; font-size: var(--t-label); letter-spacing: var(--track-label); text-transform: uppercase; }
.band-tabs > * { color: var(--on-night-muted); text-decoration: none; padding-bottom: 6px; }
.band-tabs .active { color: var(--on-night); box-shadow: inset 0 -2px 0 var(--on-night); }
.band-tabs a:hover { color: var(--on-night); }
.rail {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  --edge: max(clamp(16px, 4vw, 40px), calc((100vw - 1280px) / 2 + 40px));
  padding: 0 var(--edge); scroll-padding-inline: var(--edge);
}
.rail::-webkit-scrollbar { display: none; }
.rail .card { flex: 0 0 clamp(220px, 24vw, 300px); scroll-snap-align: start; text-decoration: none; color: inherit; }
.rail .card > img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--device); }
.rail .card span {
  display: flex; align-items: center; gap: 6px; padding: 12px 0 0; font-size: var(--t-label);
  font-weight: 500; letter-spacing: var(--track-label); text-transform: uppercase;
}
.rail .card svg { width: 10px; height: 10px; }
.rail .card:hover > img, .rail .card:hover .crop { opacity: .9; }

.home-feature { padding: clamp(56px, 10vh, 120px) 0; }
.home-feature.alt { background: var(--column); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.reverse .copy { order: 2; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split.reverse .copy { order: 0; } }
.home-feature h2 { font-size: var(--t-h2); line-height: 1; text-transform: uppercase; font-weight: 500; letter-spacing: -.02em; margin: 0 0 20px; }
.home-feature .copy > p { font-size: 18px; max-width: 52ch; }
.facts { list-style: none; padding: 0; margin: 28px 0; border-top: 1px solid var(--line); }
.facts li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; }
.facts strong { color: var(--ink); font-weight: 500; }
@media (max-width: 480px) { .facts li { grid-template-columns: 1fr; gap: 2px; } }
.phone { margin: 0; justify-self: center; width: min(320px, 78vw); padding: 10px; border-radius: 44px; background: var(--night); box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.phone .device { border-radius: 34px; overflow: hidden; }

/* Tela do app: foto real por baixo, captura com visor transparente por cima */
.device { position: relative; background: var(--device); }
.device .ui { position: relative; display: block; width: 100%; height: auto; }
.device .shot {
  position: absolute; left: 2.424%; top: 11.088%; width: 95.152%; height: 58.368%;
  object-fit: cover; display: block;
}
.device.recipe .shot { height: 28.731%; }
.rail .card.art .crop { aspect-ratio: 4 / 5; overflow: hidden; background: var(--device); }
.home-mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.home-mosaic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; background: var(--well); }
.home-mosaic img:nth-child(2) { transform: translateY(24px); }
.home-mosaic img:nth-child(5) { transform: translateY(24px); }

.home-hero .get-app { margin: 18px 0 0; font-size: 14px; }
.home-hero .get-app a { color: var(--muted); }
.home-app { padding: clamp(56px, 10vh, 110px) 0; border-top: 1px solid var(--line); }
.home-app .wrap { display: flex; align-items: center; gap: clamp(28px, 6vw, 72px); }
.home-app .app-icon { width: clamp(112px, 16vw, 168px); height: auto; border-radius: 22.37%; box-shadow: 0 18px 40px rgba(0,0,0,.22); flex: none; }
.home-app h2 { font-size: var(--t-h2); line-height: 1; text-transform: uppercase; font-weight: 500; letter-spacing: -.02em; margin: 0 0 16px; }
.home-app .copy > p { font-size: 18px; max-width: 46ch; margin: 0 0 12px; }
.home-app .cta { margin: 24px 0 10px; }
.home-app .pill svg { width: 11px; height: 11px; margin-left: 6px; vertical-align: -1px; }
.home-app .pill.soon { opacity: .55; cursor: default; }
.home-app .fine { font-size: 13px; color: var(--muted); }
@media (max-width: 640px) { .home-app .wrap { flex-direction: column; align-items: flex-start; } }
.home-final { background: var(--orange); color: var(--on-orange); padding: clamp(56px, 12vh, 120px) 0; }
.home-final h2 { font-size: var(--t-display); line-height: .92; text-transform: uppercase; font-weight: 500; letter-spacing: -.03em; margin: 0 0 32px; }
.home-foot { padding: 28px 0 40px; border-top: 1px solid var(--line); }
.home-foot .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.home-foot nav { display: flex; gap: 18px; font-size: 14px; }
.home-foot nav a { color: var(--muted); text-decoration: none; }

.danger-zone { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.danger-zone h2 { font-size: var(--t-label); font-weight: 500; letter-spacing: var(--track-label); text-transform: uppercase; margin: 0; }
.danger-zone .link { justify-self: start; }

/* ---- Entrar / criar conta ---- */
.auth h1 { margin-bottom: 6px; }
.auth > .muted { margin-top: 0; }
.social { display: grid; gap: 10px; margin: 24px 0 8px; }
.social-button {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  min-height: 48px; border-radius: 999px; font: 500 13px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  background: var(--column); color: var(--ink); border: 0; box-shadow: inset 0 0 0 1px var(--field); cursor: pointer;
}
.social-button svg { width: 18px; height: 18px; flex: none; }
.social-button:hover { box-shadow: inset 0 0 0 1px var(--muted); }
.social-button.apple { background: var(--ink); color: var(--base); box-shadow: none; }
.social-button.passkey { margin-top: 12px; }
.social-button[hidden] { display: none; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 18px 0 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.password { position: relative; display: block; }
.password input { padding-right: 64px; }
.reveal {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0;
  color: var(--muted); font: 500 var(--t-label)/1 var(--font); text-transform: uppercase; letter-spacing: .08em;
  cursor: pointer; padding: 6px;
}
.hint { color: var(--muted); }
.hint.good { color: var(--good); }
.hint.bad, .field-error { color: var(--danger); }
.forgot { margin: -6px 0 0; text-align: right; font-size: 14px; }
.forgot a, .switch a { color: var(--ink); }
.passkey-error[hidden] { display: none; }

/* ---- Ajustes ---- */
.settings .section { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.settings h2 { font-size: var(--t-label); font-weight: 500; letter-spacing: var(--track-label); text-transform: uppercase; margin: 0; }
.button.ghost { justify-self: start; }
.methods { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.methods li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.methods form { margin: 0; }

/* Feito com o Frame Story: estilo e receita da foto */
.made-with { max-width: 900px; margin: 0 auto; padding: 20px 0 24px; border-bottom: 1px solid var(--line); }
.made-with .kicker, .look-head .kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.made-with .kicker i, .look-head .kicker i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; }
.made-with .look-name { font-size: 22px; margin: 0 0 10px; }
.made-with .look-name a { text-decoration: none; }
.made-with .recipe { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.made-with .recipe li { font-size: 13px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; }
.made-with .row { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; }
.look-head { max-width: 900px; margin: 0 auto; padding: 32px 0 20px; }
.look-head h1 { margin: 0 0 6px; font-weight: 300; font-size: 40px; }
.phone.shot-only img { display: block; width: 100%; height: auto; border-radius: 34px; }

/* Social: seguir, denunciar, bloquear */
.more-actions, .report { max-width: 900px; margin: 16px auto; font-size: 14px; }
.more-actions summary, .report summary { cursor: pointer; color: var(--muted); }
.more-actions form, .report form { margin-top: 10px; }
.report-done { max-width: 900px; margin: 16px auto; }
.reports { list-style: none; padding: 0; display: grid; gap: 16px; }
.reports li { display: flex; gap: 12px; align-items: flex-start; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.blocked { list-style: none; padding: 0; margin: 0; }
.blocked li { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; }

/* Explorar e guardar */
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; }
.chip { font-size: 13px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; }
.chip.on { background: var(--ink); color: var(--base); border-color: transparent; }
.search input { width: 100%; max-width: 420px; margin: 14px 0 4px; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: inherit; font: inherit; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin: 12px 0; }
.person { display: flex; gap: 10px; align-items: center; text-decoration: none; }
.person span { display: flex; flex-direction: column; font-size: 14px; }
.save-form { display: inline-block; margin-left: 10px; vertical-align: middle; }

/* Séries */
.series-list { max-width: 900px; margin: 0 auto 24px; }
.series-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.series-card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; font-size: 14px; }
.series-card img, .series-card .blank { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: var(--well); display: block; }
.series .series-body { max-width: 640px; font-size: 17px; line-height: 1.6; margin-top: 16px; }
.series-photos { max-width: 900px; margin: 0 auto; display: grid; gap: 28px; }
.series-photos img { width: 100%; height: auto; display: block; border-radius: 4px; }
.series-photos figcaption { color: var(--muted); font-size: 14px; margin-top: 6px; }
.series-order { padding: 0; list-style: none; display: grid; gap: 10px; }
.series-order li { display: flex; align-items: center; gap: 12px; }
.series-edit textarea { width: 100%; font: inherit; padding: 10px; border-radius: 10px; border: 1px solid var(--field); background: transparent; color: inherit; }

/* ---- Stories: narrativa editorial (leitor + editor WYSIWYG) ---- */
/* Direção: a interface desaparece; protagonismo da foto e da tipografia.
   Corpo em serifada editorial (Lora, auto-hospedada), títulos na sans da casa. */
@font-face { font-family: 'Lora'; src: url('/fonts/lora-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lora'; src: url('/fonts/lora-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Lora'; src: url('/fonts/lora-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter-v20-latin-regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter-v20-latin-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('/fonts/playfair-display-v40-latin-regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('/fonts/playfair-display-v40-latin-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('/fonts/playfair-display-v40-latin-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('/fonts/ibm-plex-mono-v20-latin-regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('/fonts/ibm-plex-mono-v20-latin-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --s-base: #fafafa;   /* off-white editorial */
  --s-ink: #2c2c2c;    /* tinta sem o contraste agressivo do preto puro */
  --s-muted: #6d6c67;
  --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --s-base: #141414; --s-ink: #e5e5e5; --s-muted: #a6a6a6; }
}
:root[data-theme="dark"] { --s-base: #141414; --s-ink: #e5e5e5; --s-muted: #a6a6a6; }

.story, .story-editor { background: var(--s-base); color: var(--s-ink); }

/* Famílias tipográficas da story (o seletor do painel troca o data-ff). */
[data-ff="sans"] { --font-serif: 'Inter', system-ui, sans-serif; }
[data-ff="display"] { --font-serif: 'Playfair Display', Georgia, serif; }
[data-ff="mono"] { --font-serif: 'IBM Plex Mono', 'SF Mono', monospace; }
[data-ff="sans"] .sb.text { font-size: 16.5px; line-height: 1.7; }
[data-ff="mono"] .sb.text { font-size: 15px; line-height: 1.8; }
[data-ff="display"] .sb.text blockquote { font-style: italic; }

/* Stories (leitor e editor): sempre papel claro, mesmo com o sistema em escuro. */
.story, .story-editor {
  --base: #ffffff; --column: #f5f5f5; --line: #e2e2e2; --ink: #0a0a0a;
  --muted: #595959; --well: #ececec; --paper: var(--column);
  --s-ink: var(--ink); --s-muted: var(--muted);
  color-scheme: light; background: var(--base); color: var(--ink);
}

/* Capa em tela cheia: 100% da viewport MENOS a barra do site (o app.js mede
   --bar-h). Título e subtítulo centrados no meio, autoria no rodapé da capa. */
.story-cover, .se-cover { position: relative; min-height: calc(100svh - var(--bar-h, 0px)); display: flex;
  background: var(--well); overflow: hidden; /* o parallax amplia a img além da capa */ }
.story-cover > img, .se-cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.story-cover .veil, .se-cover .veil { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column;
  padding: clamp(32px, 6vw, 72px) clamp(20px, 6vw, 80px); }
.story-cover.with-photo .veil, .se-cover.with-photo .veil { background: rgb(0 0 0 / .42); color: #fff; }
.cover-mid { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 18px; }
.story-cover h1, .se-title { margin: 0; font-family: var(--font);
  font-size: var(--t-display); line-height: .92; font-weight: 500; letter-spacing: -.03em;
  text-transform: uppercase; max-width: 12ch; }
.story-cover .sub, .se-subtitle { margin: 0; font-family: var(--font-serif); font-style: italic;
  font-size: clamp(18px, 2.4vw, 24px); line-height: 1.4; max-width: 48ch; opacity: .92; }
.story-cover .byline, .se-cover .byline { margin: 0; align-self: center; font-size: 13px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .14em; opacity: .9; }
.story-cover .byline .who { color: inherit; text-decoration: none; }
.story-cover .byline .who:hover { text-decoration: underline; }
.story-cover .edit-link { margin-left: 10px; font-size: 11px; text-transform: uppercase; letter-spacing: .12em;
  text-decoration: none; border-bottom: 1px solid currentColor; opacity: .8; }

/* Capa: sem véu escuro (opção "Display dark overlay" desligada). */
.story-cover.with-photo .veil.no-dark, .se-cover.with-photo .veil.no-dark { background: transparent; color: #fff; }

/* Capa Two fold: foto na metade esquerda, título na metade direita (papel). */
.story-cover.twofold > img, .se-cover.twofold > img { width: 50%; right: auto; }
.story-cover.twofold .veil, .se-cover.twofold .veil { margin-left: 50%; width: 50%; }
.story-cover.twofold.with-photo .veil, .se-cover.twofold.with-photo .veil,
.story-cover.twofold .veil, .se-cover.twofold .veil { background: var(--paper); color: var(--ink); }
.story-cover.twofold .cover-mid, .se-cover.twofold .cover-mid { align-items: flex-start; text-align: left; }
.story-cover.twofold h1, .se-cover.twofold .se-title { font-size: clamp(38px, 5.2vw, 76px); }
.story-cover.twofold .byline, .se-cover.twofold .byline { align-self: flex-start; align-items: flex-start; text-align: left; }
@media (max-width: 720px) {
  .story-cover.twofold > img, .se-cover.twofold > img { width: 100%; height: 50%; bottom: auto; }
  .story-cover.twofold .veil, .se-cover.twofold .veil { margin: 50% 0 0; width: 100%; }
}

/* Capa Simple: sem foto, só título e autoria numa faixa de papel — texto em tinta. */
.story-cover.simple, .se-cover.simple { min-height: 0; background: var(--paper); color: var(--ink); }
.story-cover.simple .byline, .se-cover.simple .byline { opacity: .75; }
/* Mesmo com foto de capa registrada, o modo Simple não a exibe: o véu precisa voltar ao papel. */
.story-cover.simple .veil, .se-cover.simple .veil,
.story-cover.simple.with-photo .veil, .se-cover.simple.with-photo .veil { background: transparent; color: var(--ink); }
/* Simple não exibe a foto de capa — sem esconder a img, o texto em tinta fica sobre a foto. */
.story-cover.simple > img, .se-cover.simple > img { display: none; }
/* No leitor o Simple não tem .veil: sem coluna, o byline fugia para o canto direito. */
.story-cover.simple, .se-cover.simple { flex-direction: column; justify-content: center; align-items: center;
  text-align: center; gap: clamp(22px, 4vw, 36px);
  padding: clamp(88px, 14vw, 170px) clamp(20px, 6vw, 80px) clamp(56px, 8vw, 110px); }
.story-cover.simple .cover-mid, .se-cover.simple .cover-mid { flex: none; }
.story-cover.simple .veil, .se-cover.simple .veil { padding: clamp(96px, 16vw, 180px) clamp(20px, 6vw, 80px) clamp(56px, 8vw, 96px); }

/* Footnotes da story (créditos, links, notas). */
.story-footnotes { max-width: 680px; margin: 0 auto; padding: 0 var(--gutter, 20px) 24px; }
.story-footnotes > h4 { display: flex; align-items: center; gap: 18px; margin: 0 0 28px;
  font: 500 var(--t-label) var(--font); letter-spacing: .18em; text-transform: uppercase; color: var(--s-muted); }
.story-footnotes > h4::before, .story-footnotes > h4::after { content: ''; flex: 1; border-top: 1px solid var(--line); }

/* Módulos. */
.story-blocks { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(56px, 9vw, 110px); padding: clamp(48px, 8vw, 96px) 0; }
.story-blocks > * { min-width: 0; }
.sb.text { max-width: 680px; margin: 0 auto; width: 100%; padding: 0 var(--gutter, 20px);
  font-family: var(--font-serif); font-size: 18px; line-height: 1.75; }
.sb.text p { margin: 0 0 1.2em; }
.sb.text p:last-child { margin-bottom: 0; }
.sb.text h1, .sb.text h2, .sb.text h3 { font-family: var(--font); }
.sb.text h1 { font-size: clamp(34px, 5.4vw, 56px); line-height: .95; font-weight: 500;
  letter-spacing: -.02em; text-transform: uppercase; margin: 0 0 .4em; }
.sb.text h2 { font-size: clamp(24px, 3.4vw, 36px); line-height: 1.05; font-weight: 500;
  letter-spacing: -.02em; text-transform: uppercase; margin: 0 0 .5em; }
.sb.text h3 { font-size: var(--t-label); line-height: 1.4; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--s-muted); margin: 0 0 1em; }
.sb.text blockquote { margin: 0; font-family: var(--font-serif); font-style: italic;
  font-size: clamp(26px, 3.6vw, 40px); line-height: 1.25; text-align: center; }
.sb.text hr { border: 0; border-top: 1px solid var(--line); width: 72px; margin: 8px auto; }

.sb.photo { margin: 0; }
.sb.photo a { display: block; }
.sb.photo img { width: 100%; height: auto; display: block; }
.sb.photo.wide img { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter, 20px); }
.sb.photo.standard img { max-width: 720px; margin: 0 auto; padding: 0 var(--gutter, 20px); }
.sb.photo[data-orient="portrait"] img { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter, 20px); }
.sb.photo figcaption { max-width: 680px; margin: 14px auto 0; padding: 0 var(--gutter, 20px);
  color: var(--s-muted); font-size: 14px; text-align: center; }
.sb.photo figcaption .exif { display: block; margin-top: 4px; font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; opacity: .8; }

.sb.gallery { display: grid; gap: 12px; }
.sb.gallery .row { display: flex; flex-direction: column; gap: 12px; }
.sb.gallery .row.is-row { flex-direction: row; }
.sb.gallery .row.is-row a { flex-basis: 0; }
.sb.gallery a { display: block; min-width: 0; }
.sb.gallery img { width: 100%; height: auto; display: block; }

/* Banner: foto de fundo a sangrar, texto centrado por cima com véu escuro. */
.sb.banner { position: relative; min-height: 64svh; display: flex; overflow: hidden; }
.sb.banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.sb.banner .ov { position: relative; z-index: 1; flex: 1; display: flex; align-items: center; justify-content: center;
  background: rgb(0 0 0 / .52); color: #fff; padding: clamp(56px, 9vw, 110px) 20px; }
.sb.banner .in { color: #fff; }
.sb.banner .in h1, .sb.banner .in h2, .sb.banner .in h3 { color: #fff; }
.sb.banner .in blockquote { color: #fff; }
.sb.banner.left .ov { justify-content: flex-start; padding-left: clamp(24px, 8vw, 120px); }
.sb.banner.left .in { margin: 0; text-align: left; }

/* Alinhamento do módulo de texto (o ≡ do HUD alterna). */
.sb.text.center { text-align: center; }

/* Botão flutuante de edição (só o dono vê, na página da story). */
.story-fab { position: fixed; right: 24px; bottom: 24px; z-index: 30; background: #111111; color: #f5f5f5;
  text-decoration: none; padding: 15px 26px; border-radius: 999px; font: 500 13px/1 var(--font);
  letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 10px 32px rgb(0 0 0 / .3); }
.story-fab:hover { background: #000; }

.sb.photo-text { display: grid; grid-template-columns: 3fr 2fr; gap: clamp(24px, 5vw, 64px);
  align-items: center; max-width: 1100px; margin: 0 auto; padding: 0 var(--gutter, 20px); }
.sb.photo-text img { width: 100%; height: auto; display: block; }
.sb.photo-text .side { font-family: var(--font-serif); font-size: 17px; line-height: 1.7; }
.sb.photo-text .side p { margin: 0 0 1em; }
.sb.photo-text.flip { grid-template-columns: 2fr 3fr; }
.sb.photo-text.flip > :not(.side) { order: 2; }
@media (max-width: 640px) {
  .sb.photo-text, .sb.photo-text.flip { grid-template-columns: 1fr; }
  .sb.photo-text.flip > :not(.side) { order: 0; }
}

.story-foot { max-width: 680px; margin: 0 auto; padding: 40px var(--gutter, 20px) 80px; border-top: 1px solid var(--line);
  display: grid; gap: 18px; justify-items: start; }
.story-foot .who { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.story-foot .who span span { display: block; font-size: 14px; }
.story-foot .kicker { margin: 0; font-size: var(--t-label); text-transform: uppercase; letter-spacing: .12em; color: var(--s-muted); }

/* Tamanho-base do texto (leitor e editor). */
[data-fs="medium"] .sb.text { font-size: 20px; }
[data-fs="large"] .sb.text { font-size: 23px; }
[data-fs="medium"] .sb.photo-text .side { font-size: 19px; }
[data-fs="large"] .sb.photo-text .side { font-size: 21px; }

/* ---- Editor WYSIWYG (tela cheia, estilo Exposure) ---- */
.story-editor { padding-bottom: 140px; /* espaço para a barra flutuante de módulos */ }
.se-top { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 20px;
  padding: 14px var(--gutter, 20px); background: #111111; color: #f5f5f5; }
.se-back { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px;
  text-decoration: none; color: #a6a6a6; font-size: 20px; }
.se-back:hover { color: #f5f5f5; background: rgb(245 245 245 / .1); }
.se-status { flex: 1; text-align: center; font-size: 14px; color: #a6a6a6; }
.se-top-acts { display: flex; align-items: center; gap: 10px; }
.se-btn { display: inline-block; border: 1px solid rgb(245 245 245 / .4); background: transparent; color: #f5f5f5;
  cursor: pointer; font: 500 13px/1 var(--font); letter-spacing: .1em; text-transform: uppercase;
  padding: 13px 22px; border-radius: 999px; text-decoration: none; }
.se-btn:hover { border-color: #f5f5f5; }
.se-btn.accent { background: var(--orange); border-color: var(--orange); color: var(--on-orange); }
.se-btn.accent:hover { filter: brightness(1.08); }
.se-btn:disabled { opacity: .5; cursor: default; }

/* Painéis laterais (opções da story / design da capa): claros, como no Exposure. */
.se-panel, .se-cpanel { position: fixed; top: 0; right: 0; bottom: 0; z-index: 50; width: min(400px, 94vw);
  background: var(--paper); color: var(--ink); border-left: 1px solid var(--line);
  box-shadow: -16px 0 48px rgb(0 0 0 / .22); padding: 26px 28px 40px; overflow: auto;
  display: grid; gap: 34px; align-content: start; }
.se-panel[hidden], .se-cpanel[hidden] { display: none; }
.se-panel-head { display: flex; justify-content: space-between; align-items: center; }
.se-panel-head strong { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .16em; }
.se-x { border: 0; background: transparent; color: var(--s-muted); cursor: pointer; font-size: 20px; padding: 8px; }
.se-x:hover { color: var(--ink); }
.se-panel-sec { display: grid; gap: 6px; align-content: start; }
.se-panel-sec h3 { font-size: 11px; text-transform: uppercase; letter-spacing: .16em; color: var(--s-muted);
  margin: 0 0 8px; font-weight: 500; }
.se-toggle, .se-radio { display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; cursor: pointer;
  font-size: 15px; color: var(--ink); border-radius: 12px; margin: 0 -12px; }
.se-toggle:hover, .se-radio:hover { background: var(--well); }
.se-radio span small { display: block; margin-top: 2px; font-size: 12px; color: var(--s-muted); }
.se-toggle input, .se-radio input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--orange); }
.se-panel-sec .muted { margin: 4px 0 0; color: var(--s-muted); font-size: 13px; }
.se-panel .link.danger { color: var(--danger, #c0392b); font-size: 15px; }
.se-pass { margin-top: 4px; }
.se-pass[hidden] { display: none; }
.se-pass input { width: 100%; box-sizing: border-box; padding: 13px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: 15px; }
.se-pass input:focus { outline: none; border-color: var(--orange); }

/* Seletor flutuante do layout da capa (dentro da capa, acima da barra de módulos). */
.se-coverlay { position: absolute; left: 50%; bottom: 96px; translate: -50% 0; z-index: 3;
  display: flex; gap: 4px; padding: 6px; border-radius: 999px;
  background: rgb(29 29 28 / .92); backdrop-filter: blur(8px); box-shadow: 0 8px 28px rgb(0 0 0 / .35); }
.se-coverlay button { border: 0; background: transparent; color: #a6a6a6; cursor: pointer;
  font: 500 12px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; padding: 12px 18px; border-radius: 999px; }
.se-coverlay button:hover { color: #f5f5f5; }
.se-coverlay button.on { background: #f5f5f5; color: #111111; }

/* Botão redondo de design da capa (canto inferior direito). */
.se-cfg { position: fixed; right: 24px; bottom: 24px; z-index: 45; width: 56px; height: 56px; border-radius: 999px;
  border: 0; background: rgb(29 29 28 / .92); color: #f5f5f5; cursor: pointer; display: grid; place-items: center;
  box-shadow: 0 8px 28px rgb(0 0 0 / .35); }
.se-cfg:hover { background: #000; }

/* Miniatura do ponto de foco. */
.se-focus { position: relative; border-radius: 12px; overflow: hidden; background: var(--well);
  aspect-ratio: 16 / 10; cursor: crosshair; touch-action: none; }
.se-focus img { width: 100%; height: 100%; object-fit: cover; display: block; }
.se-focus .dot { position: absolute; width: 26px; height: 26px; translate: -50% -50%; border-radius: 999px;
  border: 2px solid #fff; box-shadow: 0 0 0 2px rgb(0 0 0 / .35), inset 0 0 0 2px rgb(0 0 0 / .2); pointer-events: none; }

/* Interruptores (toggles) do painel de design. */
.se-switch { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 0; cursor: pointer; font-size: 15px; color: var(--ink); border-top: 1px solid var(--line); }
.se-switch:first-of-type { border-top: 0; }
.se-switch input { appearance: none; width: 46px; height: 27px; border-radius: 999px; background: var(--line);
  position: relative; cursor: pointer; transition: background .15s; flex: none; margin: 0; }
.se-switch input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 21px; height: 21px;
  border-radius: 999px; background: #fff; box-shadow: 0 1px 4px rgb(0 0 0 / .3); transition: left .15s; }
.se-switch input:checked { background: var(--orange); }
.se-switch input:checked::after { left: 22px; }

/* Barra flutuante de módulos (fim da story, sempre visível). */
.se-mods { position: fixed; left: 50%; bottom: 20px; translate: -50% 0; z-index: 45;
  display: flex; gap: 2px; padding: 6px; border-radius: 999px; max-width: calc(100vw - 20px);
  overflow-x: auto; scrollbar-width: none;
  background: rgb(29 29 28 / .94); backdrop-filter: blur(8px); box-shadow: 0 10px 32px rgb(0 0 0 / .35); }
.se-mods::-webkit-scrollbar { display: none; }
.se-mods button { flex: none; border: 0; background: transparent; color: #c8c7c0; cursor: pointer; white-space: nowrap;
  font: 500 12px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; padding: 13px 15px; border-radius: 999px; }
.se-mods button:hover { color: #111111; background: #f5f5f5; }

/* Estado vazio: caixa tracejada convidando a montar a story. */
.se-empty { max-width: 760px; margin: clamp(48px, 9vw, 110px) auto; padding: clamp(40px, 7vw, 80px) 32px;
  border: 1.5px dashed var(--line); border-radius: 16px; text-align: center; display: grid; gap: 26px;
  justify-items: center; color: var(--s-muted); }
.se-empty[hidden] { display: none; }
.se-empty p { margin: 0; font-size: 16px; line-height: 1.6; }
.se-empty .arrow { font-size: 28px; color: var(--line); }

/* Footnotes editável no fim da story. */
.se-footnotes { max-width: 680px; margin: clamp(40px, 7vw, 80px) auto 0; padding: 0 var(--gutter, 20px); }
.se-footnotes > h4 { display: flex; align-items: center; gap: 18px; margin: 0 0 24px;
  font: 500 var(--t-label) var(--font); letter-spacing: .18em; text-transform: uppercase; color: var(--s-muted); }
.se-footnotes > h4::before, .se-footnotes > h4::after { content: ''; flex: 1; border-top: 1px solid var(--line); }
.se-foot-ed { cursor: text; min-height: 1.6em; }
.se-foot-ed:empty::before { content: attr(data-placeholder); color: var(--s-muted); font-style: italic; }

/* Capa viva no editor (a estrutura 100svh vem das regras compartilhadas acima). */
.se-cover { margin-bottom: clamp(24px, 4vw, 48px); }
.se-title, .se-subtitle { outline: none; }
.se-title:empty::before, .se-subtitle:empty::before { content: attr(data-placeholder); opacity: .45; }
.se-cover-acts { margin: 8px 0 0; }
.se-cover-btn { border: 1px solid currentColor; background: transparent; color: inherit;
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 10px 20px; border-radius: 999px;
  cursor: pointer; opacity: .85; }
.se-cover-btn:hover { opacity: 1; }
.se-byline { opacity: .7; }

/* Módulos no editor: a prévia real (sb.*) + controles. */
.se-blocks { display: grid; grid-template-columns: minmax(0, 1fr); }
.se-block { position: relative; padding: clamp(16px, 3vw, 28px) 0; min-width: 0; }
.se-body { width: 100%; min-width: 0; }
.se-body .sb.text { cursor: text; }
.se-body .sb.text:hover { outline: 2px dashed color-mix(in srgb, var(--s-ink) 25%, transparent); outline-offset: 10px; }
.se-body .sb.banner .in:hover { outline-color: rgb(255 255 255 / .5); }
.se-body .sb.banner .in { min-height: 1.6em; min-width: 200px; }
.se-body .sb.banner .se-ph { opacity: .65; font-style: italic; }

/* Alça de arraste à esquerda (aparece no hover) + pílula de ações à direita. */
.se-grip { position: absolute; left: max(10px, calc(50% - 560px)); top: 50%; translate: 0 -50%; z-index: 5;
  width: 36px; height: 56px; border-radius: 10px; border: 0; background: transparent; color: var(--s-muted);
  font-size: 18px; cursor: grab; opacity: 0; transition: opacity .15s; }
.se-block:hover .se-grip { opacity: 1; }
@media (hover: none) { .se-grip { opacity: .8; } }
.se-hud { position: absolute; top: 10px; right: max(14px, var(--gutter, 20px)); z-index: 5;
  display: flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px;
  background: #111111; color: #f5f5f5; box-shadow: 0 2px 14px rgb(0 0 0 / .25);
  opacity: 0; transition: opacity .15s; }
.se-block:hover .se-hud, .se-block:focus-within .se-hud { opacity: 1; }
@media (hover: none) { .se-hud { opacity: 1; } }
.se-hud .seg { display: flex; gap: 2px; padding-right: 6px; border-right: 1px solid rgb(245 245 245 / .2); }
.se-hud .seg button.seg-on { background: var(--orange); color: var(--on-orange); }
.se-hud button { border: 0; background: transparent; color: #a6a6a6; cursor: pointer;
  font-size: 15px; padding: 6px 9px; border-radius: 8px; min-width: 38px; min-height: 34px; }
.se-hud button:hover { color: #f5f5f5; background: rgb(245 245 245 / .12); }
.se-hud .se-del:hover { color: #ff8a70; }

/* Foto single: HUD especial estilo Exposure — barra vertical clara à esquerda. */
.se-hud.photo-hud { top: 50%; right: auto; left: max(14px, var(--gutter, 20px)); transform: translateY(-50%);
  flex-direction: column; gap: 2px; padding: 8px 6px; border-radius: 14px;
  background: #f5f5f5; color: #0a0a0a; box-shadow: 0 2px 16px rgb(0 0 0 / .28); }
.se-hud.photo-hud button { color: #595959; min-width: 44px; min-height: 40px; font-size: 17px; border-radius: 10px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; }
.se-hud.photo-hud button:hover { color: #0a0a0a; background: rgb(35 35 34 / .08); }
.se-hud.photo-hud button.seg-on { background: #0a0a0a; color: #f5f5f5; }
.se-hud.photo-hud .se-del { margin-top: 6px; color: #f5f5f5; background: #d43d2a; border-radius: 999px; }
.se-hud.photo-hud .se-del:hover { background: #b3261e; color: #fff; }
/* Tooltip lateral escuro, como no Exposure. */
.se-hud.photo-hud button[data-tip]:hover::after { content: attr(data-tip); position: absolute; left: calc(100% + 12px); top: 50%;
  transform: translateY(-50%); width: max-content; max-width: 240px; padding: 10px 14px; border-radius: 10px;
  background: #111111; color: #f5f5f5; font-size: 13px; line-height: 1.4; text-align: left; white-space: normal;
  box-shadow: 0 4px 18px rgb(0 0 0 / .3); z-index: 20; pointer-events: none; }
/* Pill "Replace photo" centralizada no topo do módulo. */
.se-replace { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 5;
  border: 0; border-radius: 999px; padding: 9px 18px; background: #111111; color: #f5f5f5;
  font: 600 12px/1 var(--font-ui, inherit); letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
  box-shadow: 0 2px 14px rgb(0 0 0 / .3); opacity: 0; transition: opacity .15s, background .15s; }
.se-block:hover .se-replace, .se-replace:focus-visible { opacity: 1; }
@media (hover: none) { .se-replace { opacity: 1; } }
.se-replace:hover { background: #000; }
/* Com parallax ativo, a foto já vira faixa full-width no editor também. */
.se-body .sb.photo.px { height: min(86svh, 900px); overflow: hidden; position: relative; }
.se-body .sb.photo.px img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 720px) { .se-body .sb.photo.px { height: min(72svh, 560px); overflow: hidden; }
  .se-hud.photo-hud { left: 8px; }
  .se-hud.photo-hud button[data-tip]:hover::after { content: none; } }

.se-block.dragging { opacity: .4; }
.se-block.over::before { content: ''; position: absolute; top: -2px; left: 5%; right: 5%; height: 3px;
  background: var(--orange); border-radius: 2px; z-index: 6; }

/* Legenda editável sob a foto. */
.se-caption { max-width: 680px; margin: 10px auto 0; padding: 0 var(--gutter, 20px); text-align: center;
  color: var(--s-muted); font-size: 14px; outline: none; min-height: 20px; }
.se-caption:empty::before { content: 'Add a caption…'; opacity: .5; }
.se-caption:focus { color: var(--s-ink); }

.se-exifline { max-width: 680px; margin: 4px auto 0; padding: 0 var(--gutter, 20px); text-align: center;
  color: var(--s-muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }

/* Galeria no editor: ✕ sobre cada foto para removê-la do módulo. */
.se-gitem { position: relative; display: block; }
.se-gdel { position: absolute; top: 8px; right: 8px; z-index: 2; width: 34px; height: 34px; border-radius: 999px;
  border: 0; background: rgb(29 29 28 / .85); color: #f5f5f5; font-size: 15px; cursor: pointer;
  opacity: 0; transition: opacity .15s; }
.se-gitem:hover .se-gdel, .se-gdel:focus-visible { opacity: 1; }
@media (hover: none) { .se-gdel { opacity: 1; } }
.se-gdel:hover { background: #b3261e; }

/* Seletor de tipografia no painel. */
.se-fonts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.se-font { border: 1px solid var(--line); border-radius: 14px; padding: 16px 12px; cursor: pointer;
  display: grid; gap: 4px; justify-items: center; background: transparent; }
.se-font:hover { border-color: var(--s-muted); }
.se-font.on { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange); }
.se-font input { position: absolute; opacity: 0; pointer-events: none; }
.se-font span { font-size: 28px; line-height: 1.1; color: var(--ink); }
.se-font small { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--s-muted); }

/* Toast de salvamento: topo central, bem visível. */
.se-toast { position: fixed; left: 50%; top: 84px; translate: -50% -14px; z-index: 120;
  background: #111111; color: #f5f5f5; padding: 17px 32px; border-radius: 999px;
  font: 600 15px/1 var(--font); letter-spacing: .04em; box-shadow: 0 16px 48px rgb(0 0 0 / .45);
  opacity: 0; pointer-events: none; transition: opacity .22s, translate .22s; }
.se-toast.show { opacity: 1; translate: -50% 0; }
.se-toast.error { background: #b3261e; }

/* Barra flutuante de formatação do texto rico. */
.se-format { position: absolute; z-index: 65; display: flex; align-items: center; gap: 2px;
  background: #111111; color: #f5f5f5; border-radius: 14px; padding: 6px;
  box-shadow: 0 12px 40px rgb(0 0 0 / .35); }
.se-format[hidden] { display: none; }
.se-format button { border: 0; background: transparent; color: #e5e4df; cursor: pointer;
  font-size: 14px; min-width: 38px; min-height: 36px; padding: 4px 8px; border-radius: 9px; }
.se-format button:hover { background: rgb(245 245 245 / .12); }
.se-format .sep { width: 1px; height: 20px; background: rgb(245 245 245 / .18); margin: 0 4px; }

/* Texto rico em edição. */
.se-body [data-rich] { cursor: text; }
.se-body [data-rich]:hover { outline: 2px dashed color-mix(in srgb, var(--s-ink) 25%, transparent); outline-offset: 10px; }
.se-body [data-rich].editing { outline: 2px solid color-mix(in srgb, var(--s-ink) 40%, transparent); outline-offset: 10px; }
.se-body .sb.banner [data-rich]:hover, .se-body .sb.banner [data-rich].editing { outline-color: rgb(255 255 255 / .55); }

/* Journal (lista de stories): cards verticais 3/4, texto sobre a foto — editorial. */
.journal { max-width: 1400px; margin: 0 auto; padding: 32px var(--gutter, 20px) 80px; }
.journal-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 32px; }
.journal-head h1 { margin: 0; }
.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); }
@media (max-width: 980px) { .journal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .journal-grid { grid-template-columns: 1fr; } }
.journal-card { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden;
  text-decoration: none; background: var(--well); }
.journal-card img, .journal-card .blank { position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2, .6, .2, 1); }
.journal-card:hover img { transform: scale(1.04); }
.journal-card .veil { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  gap: 4px; padding: 26px 28px; color: #fff;
  background: linear-gradient(to top, rgb(0 0 0 / .62), rgb(0 0 0 / .12) 45%, transparent 70%); }
.journal-card .veil strong { font-weight: 500; font-size: 24px; line-height: 1.15; letter-spacing: -.01em; }
.journal-card .veil em { font-family: var(--font-serif); font-style: italic; font-size: 15px; opacity: .85;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.journal-card .veil small { margin-top: 8px; font-size: 11px; letter-spacing: .14em; opacity: .85; }
.journal-empty { text-align: center; padding: 90px 20px; border: 1px dashed var(--line); border-radius: 18px; }

/* Porta de senha de story protegida. */
.story-gate { min-height: calc(100svh - var(--bar-h, 0px)); display: grid; place-items: center;
  padding: 20px; background: var(--s-base); color: var(--s-ink); }
.story-gate-box { width: min(420px, 100%); text-align: center; display: grid; gap: 16px; justify-items: stretch; }
.story-gate-box .kicker { margin: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--s-muted); }
.story-gate-box h1 { margin: 0; font-size: clamp(28px, 4vw, 40px); }
.story-gate-box input { padding: 14px 16px; font-size: 16px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--base); color: var(--ink); }

/* Edição de texto no lugar. */
.se-text-live { display: block; width: 100%; max-width: 720px; margin: 0 auto; padding: 18px 20px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--column); color: var(--ink);
  font: 400 16px/1.65 var(--font); resize: none; }
.se-text-live:focus { outline: none; border-color: var(--ink); }

/* Menu do comando de barra (/). */
.se-slash { position: absolute; z-index: 70; background: #111111; color: #f5f5f5; border-radius: 14px;
  box-shadow: 0 12px 40px rgb(0 0 0 / .35); padding: 6px; display: grid; min-width: 220px; }
.se-slash button { display: flex; justify-content: space-between; gap: 18px; border: 0; background: transparent;
  color: #f5f5f5; font: 400 14px/1.3 var(--font); padding: 10px 12px; border-radius: 9px; cursor: pointer;
  text-align: left; }
.se-slash button small { color: #a6a6a6; }
.se-slash button:hover, .se-slash button.on { background: rgb(245 245 245 / .12); }

/* Inserção entre módulos. */
.se-insert { display: flex; align-items: center; gap: 12px; padding: 10px var(--gutter, 20px);
  opacity: .5; transition: opacity .15s; }
.se-insert:hover, .se-insert:focus-within { opacity: 1; }
@media (hover: none) { .se-insert { opacity: 1; } }
.se-insert .line { flex: 1; border-top: 1px dashed var(--line); }
.se-insert button { border: 1px solid var(--line); background: var(--base); color: var(--muted); cursor: pointer;
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 10px 22px; border-radius: 999px; }
.se-insert button:hover { color: var(--ink); border-color: var(--ink); }

/* Seletor de fotos. */
.se-picker { position: fixed; inset: 0; z-index: 60; background: rgb(0 0 0 / .5); display: grid;
  place-items: center; padding: 20px; }
.se-picker-box { background: var(--base); color: var(--ink); border-radius: 18px; padding: 26px;
  width: min(820px, 100%); max-height: 86vh; display: grid; gap: 18px; grid-template-rows: auto auto 1fr auto; }
.se-picker-head { display: flex; justify-content: space-between; align-items: center; }
.se-picker-head strong { font-size: 18px; }
.se-layouts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.se-layout { border: 1px solid var(--line); border-radius: 14px; padding: 14px 12px; cursor: pointer;
  display: grid; gap: 4px; }
.se-layout.on { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange); }
.se-layout input { position: absolute; opacity: 0; pointer-events: none; }
.se-layout span { font-size: 14px; font-weight: 500; color: var(--ink); }
.se-layout small { font-size: 11px; color: var(--muted); line-height: 1.35; }
.se-picker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; overflow: auto; }
.se-pick { border: 3px solid transparent; border-radius: 12px; padding: 0; background: none; cursor: pointer; }
.se-pick img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; display: block; }
.se-pick.on { border-color: var(--orange); }
.se-picker-foot { display: flex; justify-content: flex-end; }
@media (max-width: 760px) { .se-layouts { grid-template-columns: repeat(2, 1fr); } }

.story-card img, .story-card .blank { aspect-ratio: 16 / 10; }

/* ---- Stories: vídeo, reveal/parallax, avatar na capa, a11y da navegação ---- */

/* Módulo de vídeo (YouTube, 16:9 contido). */
.sb.video { max-width: 980px; width: 100%; margin: 0 auto; padding: 0 var(--gutter, 20px); }
.sb.video .frame { aspect-ratio: 16 / 9; background: #000; border-radius: 4px; overflow: hidden; }
.sb.video iframe { width: 100%; height: 100%; border: 0; display: block; }
.se-vidurl { max-width: 560px; margin: 0 auto; padding: 40px 20px; }
.se-vidurl input { width: 100%; box-sizing: border-box; padding: 16px 20px; border-radius: 14px;
  border: 1px dashed var(--line); background: var(--column); color: var(--ink); font-size: 16px; }
.se-vidurl input:focus { outline: none; border-color: var(--ink); border-style: solid; }

/* Placeholder dos textos vazios (banner, foto+texto). */
.se-body .se-ph { opacity: .5; font-style: italic; }

/* Revelação módulo a módulo + parallax sutil (app.js; desligado com reduced-motion). */
.story .sreveal { opacity: 0; transform: translateY(30px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .6, .2, 1); }
.story .sreveal.sreveal-in { opacity: 1; transform: none; }
.sb.banner > img, .story-cover > img { will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  .story .sreveal { opacity: 1; transform: none; transition: none; }
}

/* Avatar acima do nome, no rodapé da capa. */
.story-cover .byline { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.story-cover .byline .avatar, .story-cover .byline img { border-radius: 999px; box-shadow: 0 2px 14px rgb(0 0 0 / .35);
  width: 44px; height: 44px; font-size: 17px; }

/* Página atual na navegação (WCAG: aria-current + indicação visual). */
.bar nav a[aria-current="page"] { color: var(--ink); border-bottom: 2px solid var(--orange); }

/* O bloco de galeria do editor usa a classe .grid por causa do tipo; desfaz a colisão com o masonry da biblioteca. */
.story-editor .se-block.grid { columns: unset; column-gap: unset; }
.story-editor .se-block.grid a:hover img { opacity: 1; }

/* Galeria mosaico: fileira em destaque (6/3/3) alternada com fileira igual (4/4/4). */
.sb.gallery.mosaic { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; width: 100%; }
.sb.gallery.mosaic .row { grid-column: 1 / -1; min-width: 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.sb.gallery.mosaic .row > * { grid-column: span 12; }
.sb.gallery.mosaic .row a { display: block; height: 100%; }
.sb.gallery.mosaic .row img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sb.gallery.mosaic .row:has(> :nth-child(2)) > * { grid-column: span 6; }
.sb.gallery.mosaic .row.lead { height: min(74vh, 760px); }
.sb.gallery.mosaic .row.lead > :nth-child(1) { grid-column: span 6; }
.sb.gallery.mosaic .row.lead > :nth-child(2),
.sb.gallery.mosaic .row.lead > :nth-child(3) { grid-column: span 3; }
.sb.gallery.mosaic .row.even { height: min(56vh, 580px); }
.sb.gallery.mosaic .row.even > * { grid-column: span 4; }
/* Fileiras "resto" (1–2 fotos, sem classe lead/even) também precisam de altura. */
.sb.gallery.mosaic .row:not(.lead):not(.even) { height: min(56vh, 580px); }
.sb.gallery.mosaic .row:not(.lead):not(.even):has(> :nth-child(2)) > * { grid-column: span 6; }
@media (max-width: 720px) {
  .sb.gallery.mosaic .row.lead { height: auto; }
  .sb.gallery.mosaic .row.lead > * { grid-column: span 12 !important; height: auto; }
  .sb.gallery.mosaic .row.lead img { height: auto; }
  .sb.gallery.mosaic .row.even { height: min(40vh, 380px); }
  .sb.gallery.mosaic .row:not(.lead):not(.even) { height: auto; }
  .sb.gallery.mosaic .row:not(.lead):not(.even) img { height: auto; }
}
/* O se-gitem do editor precisa preencher a célula para o ✕ ficar no lugar certo. */
.sb.gallery.mosaic .se-gitem { height: 100%; }

/* Galeria: foto expandida ocupando a fileira inteira ("fill"). */
.sb.gallery .row.fill { display: block; }
.sb.gallery .row.fill img { width: 100%; height: auto; }
.sb.gallery.mosaic .row.fill { height: min(74vh, 760px); }
.sb.gallery.mosaic .row.fill > * { grid-column: span 12 !important; }
@media (max-width: 720px) { .sb.gallery.mosaic .row.fill { height: auto; } }

/* Módulo de citação (quote): grande, itálico, centrado. */
.sb.text.quote p { font-family: var(--font-serif); font-style: italic;
  font-size: clamp(26px, 3.6vw, 40px); line-height: 1.25; text-align: center; }
.sb.text.right { text-align: right; }

/* Placeholders dos módulos de texto no editor (vazio = mostra a dica). */
.se-body [data-rich]:empty::before { content: attr(data-ph); display: block;
  color: var(--s-muted); font-style: italic; pointer-events: none; }
.se-body .sb.banner [data-rich]:empty::before { color: rgb(255 255 255 / .65); }
.se-body .sb.text.quote:empty::before { font-family: var(--font-serif); font-style: italic;
  font-size: clamp(26px, 3.6vw, 40px); line-height: 1.25; text-align: center; }

/* Galeria no editor: ferramentas por foto (reordenar/fill/excluir) + pill de adicionar. */
.se-gitem { position: relative; display: block; cursor: grab; }
.se-gitem img { width: 100%; height: auto; display: block; }
.sb.gallery.mosaic .se-gitem, .sb.gallery.mosaic .se-gitem img { height: 100%; }
.sb.gallery.mosaic .se-gitem img { object-fit: cover; }
.se-gitem.fill-on { outline: 3px solid var(--orange); outline-offset: -3px; }
.se-gtools { position: absolute; top: 10px; left: 10px; z-index: 4; display: grid; gap: 6px;
  opacity: 0; transition: opacity .15s; }
.se-gitem:hover .se-gtools, .se-gitem:focus-within .se-gtools { opacity: 1; }
@media (hover: none) { .se-gtools { opacity: 1; } }
.se-gtools button { width: 40px; height: 40px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgb(29 29 28 / .88); color: #f5f5f5; font-size: 16px; display: grid; place-items: center;
  box-shadow: 0 2px 10px rgb(0 0 0 / .3); }
.se-gtools button:hover { background: #000; }
.se-gtools .se-gdel:hover { background: #b3261e; }
.se-gadd { margin: 0 0 14px; text-align: center; }
.se-gadd button { border: 0; cursor: pointer; border-radius: 999px; padding: 12px 22px;
  background: #111111; color: #f5f5f5; font: 500 11px/1 var(--font); letter-spacing: .12em;
  text-transform: uppercase; box-shadow: 0 4px 16px rgb(0 0 0 / .22); }
.se-gadd button:hover { background: var(--orange); color: var(--on-orange); }
/* A galeria no editor cresce para acomodar a pill no topo. */
.se-body .sb.gallery { padding-top: 4px; }

/* Foto com parallax (desktop): faixa em tela cheia, a imagem desliza no scroll. */
.sb.photo.px { position: relative; height: min(86svh, 900px); overflow: hidden; }
.sb.photo.px a { display: block; height: 100%; }
.sb.photo.px img { width: 100%; height: 100%; object-fit: cover; }
/* Celular: a faixa mantém altura fixa e recorta (o script amplia e desloca a imagem;
   sem o recorte ela invadia os blocos vizinhos). */
@media (max-width: 720px) {
  .sb.photo.px { height: min(72svh, 560px); overflow: hidden; }
  .sb.photo.px img { height: 100%; object-fit: cover; }
}

/* ---- Responsivo: editor e story inteiros no mobile ---- */
@media (max-width: 720px) {
  .se-top { gap: 8px; padding: 10px 12px; }
  .se-status { display: none; }
  .se-btn { padding: 12px 15px; font-size: 11px; letter-spacing: .06em; }
  .se-back { width: 40px; height: 40px; }
  .se-panel, .se-cpanel { width: 100vw; border-left: 0; }
  .se-mods { bottom: 12px; padding: 5px; }
  .se-mods button { padding: 12px 11px; font-size: 11px; letter-spacing: .06em; }
  .se-coverlay { bottom: 76px; }
  .se-cfg { right: 14px; bottom: 80px; width: 50px; height: 50px; }
  .story-cover .byline, .se-cover .byline { font-size: 11px; letter-spacing: .1em; }
  .story-cover h1, .se-title { font-size: clamp(34px, 11vw, 64px); }
  .story-cover .veil, .se-cover .veil { padding: 28px 18px; }
  .story-cover.simple .veil, .se-cover.simple .veil { padding: 88px 18px 48px; }
  .sb.banner { min-height: 52svh; }
  .se-grip { display: none; }
  .se-hud { opacity: 1; position: static; margin: 8px 14px 0; justify-content: flex-end; }
}

/* Prévia das fontes no editor de stories (antes era estilo inline) */
.ff-serif { font-family: 'Lora', Georgia, serif; }
.ff-sans { font-family: 'Inter', system-ui, sans-serif; }
.ff-display { font-family: 'Playfair Display', Georgia, serif; }
.ff-mono { font-family: 'IBM Plex Mono', ui-monospace, monospace; }

/* QA das stories: galerias na largura "contida"; mosaico ocupa a largura toda. */
.sb.gallery { width: 100%; margin: 0 auto; }
.sb.gallery.mosaic .row { width: 100%; max-width: none; color: inherit; font-size: inherit; }
.sb.photo { width: 100%; }
@media (max-width: 640px) {
  .sb.gallery.mosaic .row.even { height: auto; }
  .sb.gallery.mosaic .row.even > * { grid-column: span 12; }
  .sb.gallery.mosaic .row.even img { height: auto; }
}

/* Larguras no estilo do Exposure (medido em exposure.co): contido = 82,5% da tela, sem
   limite fixo; padrão = 62%; sangrado = 100%; só o texto fica na coluna de 700 px.
   Fotos agrupadas mais perto umas das outras; galerias com 10 px de espaço. */
:is(.story, .se-body) { --wide: 82.5vw; --standard: 62vw; --gap: 2px; }
@media (max-width: 640px) { :is(.story, .se-body) { --wide: calc(100vw - 8px); --standard: calc(100vw - 8px); --gap: 2px; } }
:is(.story, .se-body) .sb.photo.wide img, :is(.story, .se-body) .sb.photo.wide[data-orient="portrait"] img { max-width: var(--wide); padding: 0; }
:is(.story, .se-body) .sb.photo.standard img, :is(.story, .se-body) .sb.photo.standard[data-orient="portrait"] img { max-width: var(--standard); padding: 0; }
:is(.story, .se-body) .sb.photo.standard.px img { max-width: none; }
:is(.story, .se-body) .sb.gallery, :is(.story, .se-body) .sb.photo-text { max-width: var(--wide); padding: 0; }
:is(.story, .se-body) .sb.gallery, :is(.story, .se-body) .sb.gallery .row, :is(.story, .se-body) .sb.gallery.mosaic, :is(.story, .se-body) .sb.gallery.mosaic .row { gap: var(--gap); }
:is(.story, .se-body) .story-blocks { gap: clamp(36px, 5vw, 64px); }
:is(.story, .se-body) .story-blocks > .sb.text { margin-block: clamp(16px, 3vw, 48px); }
@media (max-width: 640px) {
  :is(.story, .se-body) .sb.gallery.mosaic .row, :is(.story, .se-body) .sb.gallery.mosaic .row.lead, :is(.story, .se-body) .sb.gallery.mosaic .row.even { height: auto; grid-template-columns: 1fr 1fr; }
  :is(.story, .se-body) .sb.gallery.mosaic .row > * { grid-column: span 1 !important; }
  :is(.story, .se-body) .sb.gallery.mosaic .row > :only-child, :is(.story, .se-body) .sb.gallery.mosaic .row.lead > :first-child { grid-column: span 2 !important; }
  :is(.story, .se-body) .sb.gallery.mosaic .row img { height: 100%; aspect-ratio: 1; }
  :is(.story, .se-body) .sb.gallery.mosaic .row.lead > :first-child img { aspect-ratio: 3 / 2; }
}
:is(.story, .se-body) .sb.photo-text { grid-template-columns: 55fr 45fr; gap: clamp(20px, 3vw, 48px); align-items: center; }
:is(.story, .se-body) .sb.photo-text.flip { grid-template-columns: 45fr 55fr; }
@media (max-width: 720px) { :is(.story, .se-body) .sb.photo-text, :is(.story, .se-body) .sb.photo-text.flip { grid-template-columns: 1fr; } }

/* Álbuns */
.album-pick { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.album-pick select, .album-pick input { font: inherit; font-size: 13px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--field); background: transparent; color: inherit; }
.album-pick input[hidden] { display: none; }
.album-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.album-head .rename { display: flex; gap: 10px; align-items: baseline; }
.album-head .rename input { font: inherit; font-size: clamp(28px, 4vw, 44px); font-weight: 300; border: 0; border-bottom: 1px solid transparent; background: transparent; color: inherit; padding: 0; max-width: 100%; }
.album-head .rename input:focus { outline: none; border-bottom-color: var(--line); }
.se-albums { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 12px; }
.se-albums button { font: inherit; font-size: 13px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: inherit; cursor: pointer; }
.se-albums button.on { background: var(--ink); color: var(--base); border-color: transparent; }
.se-pick[hidden] { display: none; }

/* Caixa de entrada */
.inbox-link { position: relative; }
.inbox-link .badge { display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 4px; border-radius: 999px; background: var(--orange); color: #111; font-size: 11px; line-height: 18px; text-align: center; vertical-align: 1px; }
.inbox ul { list-style: none; padding: 0; margin: 0; }
.inbox li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.inbox li p { margin: 0; flex: 1; }
.inbox li.new p { font-weight: 500; }
.inbox li img { border-radius: 6px; object-fit: cover; display: block; }
.inbox .avatar.blank { width: 32px; height: 32px; border-radius: 50%; background: var(--well); display: inline-block; }

/* Editor no celular: a barra da foto fica embaixo da foto, na horizontal (no meio de uma
   foto alta ela subia por cima da capa). */
@media (max-width: 720px) {
  /* No celular as barras ficam no fluxo (estáticas): a da foto vira uma linha compacta. */
  .se-hud.photo-hud { transform: none; left: auto; right: auto; top: auto; bottom: auto;
    flex-direction: row; gap: 2px; padding: 4px 6px; border-radius: 999px; width: max-content; margin: 8px auto; }
  .se-hud.photo-hud button { min-width: 40px; min-height: 38px; }
  .se-hud.photo-hud .se-del { margin-top: 0; margin-left: 4px; }
}

/* Fase 2: curadoria, notas privadas, desafios */
.pick-badge { display: inline-block; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--accent, #e8642c); margin: 6px 0; }
.reply textarea { width: 100%; }
.reply .note { color: var(--muted, #888); }
.note-body { display: block; margin-top: 4px; font-style: italic; }
.picks, .challenge-strip { margin: 24px 0; }
.challenge-strip h2 { margin: 4px 0; }
form.inline { display: inline; }
.challenge-list { list-style: none; padding: 0; }
.challenge-list a { display: flex; gap: 12px; align-items: center; padding: 8px 0; }
.challenge-list img, .challenge-list .blank { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; background: var(--line, #2222); }
.enter summary { list-style: none; cursor: pointer; display: inline-block; }
.enter-grid { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.enter-grid button { padding: 0; border: 0; background: none; cursor: pointer; }
.enter-grid img { width: 80px; height: 80px; object-fit: cover; border-radius: 4px; }

/* Capa Two fold no leitor: foto numa metade (.half.photo), título e autoria na outra (.half.side). */
.story-cover.twofold { flex-direction: row; align-items: stretch; background: var(--paper); color: var(--ink); }
.story-cover.twofold .half { position: relative; width: 50%; }
.story-cover.twofold .half.photo { overflow: hidden; background: var(--well); }
.story-cover.twofold .half.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.story-cover.twofold .half.side { display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(32px, 6vw, 72px) clamp(20px, 5vw, 64px); }
.story-cover.twofold .half.side .cover-mid { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.story-cover.twofold .half.side h1 { margin: 0 0 .3em; line-height: 1.02; }
.story-cover.twofold .half.side .sub { color: var(--s-muted); margin: 0; }
.story-cover.twofold .half.side .byline { display: flex; flex-direction: row; align-items: center; gap: 10px; color: var(--s-muted); margin: 0; }
@media (max-width: 720px) {
  .story-cover.twofold { flex-direction: column; }
  .story-cover.twofold .half { width: 100%; }
  .story-cover.twofold .half.photo { height: 55svh; }
  .story-cover.twofold .half.side { flex: 1; gap: 28px; }
}

/* ---- Navegação nova: Today · Explore · Stories · Journal · Library, avisos e menu da conta ---- */
.bar nav { flex-wrap: nowrap; gap: 22px; }
.bar nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--orange); padding-bottom: 4px; }
.bar nav .inbox-link { position: relative; display: inline-flex; color: var(--ink); }
.bar nav .inbox-link .badge { position: absolute; top: -6px; right: -9px; }
.me-menu { position: relative; }
.me-menu > summary { list-style: none; cursor: pointer; display: flex; }
.me-menu > summary::-webkit-details-marker { display: none; }
.me-menu .menu-panel { position: absolute; right: 0; top: calc(100% + 10px); z-index: 30; min-width: 200px;
  display: flex; flex-direction: column; padding: 8px; border-radius: 14px;
  background: var(--column); border: 1px solid var(--line); box-shadow: 0 12px 32px rgb(0 0 0 / .18); }
.me-menu .menu-panel a, .me-menu .menu-panel .link { padding: 10px 12px; border-radius: 8px; color: var(--ink); text-align: left; font-size: 14px; }
.me-menu .menu-panel a:hover, .me-menu .menu-panel .link:hover { background: var(--base); }
.me-menu .menu-panel .theme { margin: 6px 12px; }
@media (max-width: 760px) {
  .bar nav { gap: 14px; overflow-x: auto; scrollbar-width: none; }
  .bar nav .nav-main { font-size: 13px; white-space: nowrap; }
  .bar nav > .theme { display: none; }
}

/* ---- Stories em destaque (home e /stories), no espírito do exposure.co ---- */
.st-hero { position: relative; display: block; height: calc(100svh - var(--bar-h, 64px)); min-height: 460px;
  overflow: hidden; color: #fff; text-decoration: none; background: #111; }
.st-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.st-hero:hover img { transform: scale(1.02); }
.st-hero-veil { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  padding: clamp(28px, 6vw, 80px); background: linear-gradient(to top, rgb(0 0 0 / .7), rgb(0 0 0 / .1) 55%, transparent); }
.st-hero .kicker { color: var(--orange); letter-spacing: .18em; text-transform: uppercase; font-size: 12px; font-weight: 500; }
.st-hero-title { font-size: clamp(40px, 7vw, 96px); line-height: .98; font-weight: 300; max-width: 14ch; }
.st-hero-sub { font-size: clamp(16px, 1.8vw, 22px); opacity: .85; font-style: italic; max-width: 40ch; }
.st-hero-by { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.st-grid-wrap { padding: clamp(28px, 5vw, 64px) clamp(16px, 4vw, 48px); }
.st-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: clamp(28px, 4vw, 48px) clamp(16px, 3vw, 32px); }
.st-card { display: flex; flex-direction: column; gap: 8px; color: var(--ink); text-decoration: none; }
.st-card-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--well, var(--column)); }
.st-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.st-card:hover .st-card-img img { transform: scale(1.03); }
.st-card-title { font-size: clamp(22px, 2.4vw, 30px); font-weight: 300; line-height: 1.1; margin-top: 6px; }
.st-card-by { font-size: 13px; color: var(--muted); }
.st-more { text-align: center; margin: 0 0 clamp(40px, 6vw, 80px); }
.home-hero .eyebrow { color: var(--orange); letter-spacing: .18em; text-transform: uppercase; font-size: 12px; }

/* Perfil e Explore no estilo das stories */
.profile-head { flex-direction: column; align-items: center; text-align: center; padding: clamp(40px, 7vw, 90px) 16px clamp(20px, 4vw, 40px); }
.profile-head .who { display: flex; flex-direction: column; align-items: center; }
.profile-head .name-row { flex-direction: column; align-items: center; gap: 14px; }
.profile-head h1 { font-size: clamp(36px, 6vw, 72px); font-weight: 300; line-height: 1; }
.profile-head .bio { max-width: 52ch; color: var(--muted); }
.profile-stories, .explore-stories .st-grid-wrap { padding-top: 0; }
.profile-stories > .eyebrow, .explore-stories > .eyebrow, .profile-photos-title, .explore-photos-title {
  margin: 0 0 18px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.explore-stories > .eyebrow { padding: 0 clamp(16px, 4vw, 48px); margin-top: 24px; }
.profile-photos-title, .explore-photos-title { padding: 0 clamp(4px, 1vw, 8px); margin-top: 10px; }
.profile-head .name-row { display: contents; }
.profile-head .who { gap: 10px; }
.profile-head h1 { order: 1; margin: 18px 0 0; }
.profile-head .handle { order: 2; margin: 0; color: var(--muted); }
.profile-head .bio { order: 3; margin: 4px 0 0; }
.profile-head .actions { order: 4; margin-top: 14px; }
.challenge-strip { margin: 24px clamp(4px, 1vw, 8px); padding: clamp(20px, 3vw, 32px); border-radius: 18px; background: var(--column); border: 1px solid var(--line); }
.challenge-strip .kicker { color: var(--orange); letter-spacing: .18em; text-transform: uppercase; font-size: 12px; }
.challenge-strip h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 300; margin: 6px 0; }
.challenge-strip h2 a { color: var(--ink); text-decoration: none; }
.picks { margin: 30px 0; }
.picks > .eyebrow { margin: 0 clamp(4px, 1vw, 8px) 14px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.pick-rail { display: flex; gap: 8px; overflow-x: auto; padding: 0 clamp(4px, 1vw, 8px) 6px; scrollbar-width: thin; }
.pick-rail a { flex: none; }
.pick-rail img { height: clamp(200px, 26vw, 320px); width: auto; display: block; border-radius: 6px; }

/* Página da foto: "Made with Frame Story" como cartão (mesmo desenho do desafio no Explore). */
.made-with { padding: clamp(20px, 3vw, 32px); border-radius: 18px; background: var(--column); border: 1px solid var(--line); }
.made-with .look-name { font-size: clamp(26px, 3.4vw, 40px); font-weight: 300; }
.made-with .kicker { color: var(--orange); letter-spacing: .18em; text-transform: uppercase; font-size: 12px; }

/* Biblioteca como o Lightbox do app: título leve, envio discreto, filtros numa pílula. */
main.wide > .head h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 300; text-transform: none; letter-spacing: 0; }
main.wide > .head .eyebrow { color: var(--orange); letter-spacing: .18em; }
form.drop { border: 1px dashed var(--line); border-radius: 16px; background: transparent; padding: 18px; }
form.drop label strong { font-weight: 500; }
.lib-tabs { display: flex; align-items: center; gap: 2px; border: 0; padding: 3px; margin: 18px 0 14px;
  background: var(--column); border-radius: 999px; width: max-content; max-width: 100%; }
.lib-tabs > a { padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--ink); border: 0; font-size: 14px; }
.lib-tabs > a.active { background: var(--ink); color: var(--base); }
.lib-tabs > a .count { opacity: .55; margin-left: 4px; }
.lib-tabs .select-toggle { margin-left: 10px; }
.lib-tabs + .grid, .lib-tabs ~ .grid { margin-top: 6px; }
.lib-tabs > a { text-transform: none; letter-spacing: 0; }

/* ---- Home no formato do exposure.co ---- */
.x-wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.x-hero { position: relative; min-height: calc(100svh - var(--bar-h, 64px)); display: flex; align-items: center; overflow: hidden; background: #111; color: #fff; }
.x-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.55); }
.x-hero-in { position: relative; z-index: 1; width: 100%; max-width: 1180px; margin: 0 auto; padding: clamp(40px, 8vw, 100px) clamp(16px, 4vw, 40px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.x-hero h1 { font-size: clamp(38px, 5.4vw, 68px); font-weight: 300; line-height: 1.04; margin: 0 0 18px; }
.x-hero h1 em, .x-sec h2 em, .x-final h2 em { font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-weight: 400; }
.x-hero-copy p { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.55; opacity: .9; max-width: 34ch; }
.x-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pill.ghost-light { background: transparent; color: #fff; border: 1px solid rgb(255 255 255 / .6); }
.x-hero-card { display: flex; flex-direction: column; background: #f5f5f5; color: #0a0a0a; text-decoration: none; border-radius: 6px;
  overflow: hidden; box-shadow: 0 24px 60px rgb(0 0 0 / .45); transform: rotate(-1deg); transition: transform .4s ease; }
.x-hero-card:hover { transform: rotate(0) translateY(-4px); }
.x-hero-card-img { aspect-ratio: 16 / 10; overflow: hidden; }
.x-hero-card-img img { width: 100%; height: 100%; object-fit: cover; }
.x-hero-card-text { padding: 18px 20px 4px; display: flex; flex-direction: column; gap: 4px; }
.x-hero-card-text strong { font-size: 26px; font-weight: 300; }
.x-hero-card-text em { color: #595959; font-family: Georgia, serif; }
.x-hero-card-by { padding: 0 20px 18px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #595959; }
.x-sec { padding: clamp(56px, 9vw, 120px) 0; }
.x-sec.x-alt { background: var(--column); }
.x-sec h2, .x-final h2 { font-size: clamp(30px, 4.2vw, 52px); font-weight: 300; line-height: 1.08; margin: 0 0 18px; }
.x-sec p { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 52ch; }
.x-sec p strong { color: var(--ink); font-weight: 500; }
.x-lead { margin-bottom: 8px; }
.x-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.x-split.rev > :first-child { order: 2; }
.x-shot { width: min(100%, 340px); justify-self: center; border-radius: 34px; box-shadow: 0 30px 60px rgb(0 0 0 / .3); }
.x-mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.x-mosaic img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; border-radius: 4px; }
.x-feats { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px 32px; }
.x-feats li { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.x-feats strong { font-weight: 500; font-size: 16px; }
.x-feats span { color: var(--muted); font-size: 14px; line-height: 1.5; }
.x-looks { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin-top: 24px; }
.x-looks a { display: flex; flex-direction: column; gap: 4px; color: var(--ink); text-decoration: none; }
.x-look-img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: var(--column); margin-bottom: 6px; }
.x-look-img img { width: 100%; height: 100%; object-fit: cover; }
.x-looks a > span:last-child { font-size: 13px; color: var(--muted); }
.x-final { padding: clamp(64px, 10vw, 140px) 0; text-align: center; }
.x-final .x-cta { justify-content: center; }
.x-foot { border-top: 1px solid var(--line); padding: 40px 0 60px; }
.x-foot-cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.x-foot nav { display: flex; flex-direction: column; gap: 8px; }
.x-foot nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.x-foot nav strong { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
@media (max-width: 860px) {
  .x-hero-in, .x-split, .x-foot-cols { grid-template-columns: 1fr; }
  .x-split.rev > :first-child { order: 0; }
  .x-hero-card { transform: none; }
}
.x-hero h1, .x-sec h2, .x-final h2 { text-transform: none; letter-spacing: -.01em; }
.x-hero-bg { filter: brightness(.5) saturate(.9); }
.x-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(0 0 0 / .55), rgb(0 0 0 / .1) 60%); }
.x-hero-copy p { color: #fff; opacity: .92; }
.pill.ghost-light { color: #fff !important; border-color: rgb(255 255 255 / .75) !important; background: rgb(0 0 0 / .15) !important; }
.x-hero-copy p { font-weight: 400; text-shadow: 0 1px 12px rgb(0 0 0 / .6); }
.lang-switch { font-size: 12px; letter-spacing: .12em; font-weight: 500; color: var(--muted); text-decoration: none; }
.me-menu .menu-panel .lang-switch { padding: 10px 12px; }

/* Home: grade de histórias alinhada ao título, e o botão centralizado embaixo. */
.x-sec .st-grid-wrap { max-width: 1180px; margin: 0 auto; padding: 28px clamp(16px, 4vw, 40px) 0; }
.x-sec .st-more { max-width: none; text-align: center; margin: 40px 0 0; }
.x-sec .st-more .pill { padding: 14px 28px; font-size: 13px; background: var(--ink); color: var(--base); border-color: var(--ink); }

/* ---- Cabeçalho no estilo do exposure.co: marca + links à esquerda, entrar/criar à direita ---- */
.bar { padding: 0 clamp(16px, 3vw, 32px); height: 64px; gap: 24px; border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--base) 94%, transparent); }
.bar-left, .bar-right { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 34px); min-width: 0; }
.bar .brand { font-size: 17px; letter-spacing: .01em; }
.bar-nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 28px); }
.bar .nav-main, .bar-signin { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink); opacity: .72; text-decoration: none; white-space: nowrap; }
.bar .nav-main:hover, .bar-signin:hover, .bar .nav-main[aria-current="page"] { opacity: 1; box-shadow: none; }
.bar .nav-main[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--orange); padding-bottom: 4px; }
.bar-signup { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  padding: 9px 16px; border-radius: 999px; background: var(--ink); color: var(--base); white-space: nowrap; }
/* Na home deslogada o cabeçalho fica transparente sobre a foto do herói. */
.bar.over-hero { position: absolute; left: 0; right: 0; top: 0; background: linear-gradient(rgb(0 0 0 / .45), transparent);
  border-bottom: 0; backdrop-filter: none; color: #fff; }
.bar.over-hero .brand, .bar.over-hero .nav-main, .bar.over-hero .bar-signin { color: #fff; }
.bar.over-hero .bar-signup { background: #fff; color: #111; }
.bar.over-hero + main .x-hero { min-height: 100svh; padding-top: 64px; }
@media (max-width: 720px) {
  .bar-nav { display: none; }
  .bar .brand { font-size: 16px; }
}

/* ---- Rodapé do site (todas as páginas), no estilo do exposure.co ---- */
.site-foot { border-top: 1px solid var(--line); margin-top: clamp(48px, 8vw, 96px); padding: clamp(40px, 6vw, 72px) clamp(16px, 4vw, 40px) 28px; }
.site-foot-in { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.site-foot-brand p { color: var(--muted); font-size: 14px; line-height: 1.6; max-width: 30ch; margin: 12px 0 0; }
.site-foot nav, .site-foot-prefs { display: flex; flex-direction: column; gap: 10px; }
.site-foot strong { font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 6px; }
.site-foot nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.site-foot nav a:hover { color: var(--ink); }
.site-foot-prefs .lang-switch { font-size: 14px; letter-spacing: 0; font-weight: 400; color: var(--muted); }
.site-foot-bottom { max-width: 1180px; margin: 40px auto 0; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 12px; letter-spacing: .08em; color: var(--muted); }
@media (max-width: 760px) { .site-foot-in { grid-template-columns: 1fr 1fr; } .site-foot-brand { grid-column: 1 / -1; } }
.x-final + .site-foot, main.full + .site-foot { margin-top: 0; }

/* Recursos com ícone */
.x-feats li { padding-top: 18px; }
.x-ic { width: 26px; height: 26px; fill: none; stroke: var(--orange); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }

/* Descobrir pelo estilo: cartões com foto e nome por cima (como as publicações do exposure.co) */
.x-looks { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.x-look { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; color: #fff; text-decoration: none; background: #111; }
.x-look img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.x-look:hover img { transform: scale(1.04); }
.x-look-veil { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 20px;
  background: linear-gradient(to top, rgb(0 0 0 / .7), transparent 60%); }
.x-look-veil strong { font-size: 26px; font-weight: 300; }
.x-look-veil > span { font-size: 13px; opacity: .8; }
.x-look-veil em { font-style: normal; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; margin-top: 6px; opacity: .9; }

/* Fecho: faixa com foto em tela cheia */
.x-final { position: relative; overflow: hidden; background: #111; color: #fff; padding: clamp(90px, 14vw, 180px) 16px; text-align: center; }
.x-final-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.45); }
.x-final-in { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.x-final h2 { color: #fff; font-size: clamp(36px, 5.4vw, 68px); }
.x-final p { color: rgb(255 255 255 / .85); font-size: 17px; }
.pill.light { background: #fff !important; color: #111 !important; border-color: #fff !important; }
.x-final p, .x-final h2 { text-shadow: 0 2px 18px rgb(0 0 0 / .55); } .x-final-bg { filter: brightness(.38); }

/* =====================================================================
   Sistema tipográfico e de layout (referências: exposure.co e vsco.co)
   - DM Sans (interface e texto) + EB Garamond (títulos editoriais).
   - Texto corrido 17px / 1.6; nada abaixo de 13px; contraste AA nas cores mudas.
   - Uma largura de conteúdo (--container) e uma estreita (--narrow) para todas as páginas.
   ===================================================================== */
@font-face { font-family: "DM Sans"; src: url("/fonts/dmsans.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/fonts/dmsans-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("/fonts/ebgaramond.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("/fonts/ebgaramond-italic.woff2") format("woff2"); font-weight: 400 600; font-style: italic; font-display: swap; }

:root {
  --font: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --container: 1200px;
  --narrow: 720px;
  --pad: clamp(20px, 4vw, 48px);
  --t-body: 17px;
  --t-small: 14px;
  --t-label: 13px;
  --track-label: .12em;
  --t-display: clamp(44px, 7vw, 88px);
  --t-h1: clamp(38px, 5.2vw, 64px);
  --t-h2: clamp(30px, 3.8vw, 46px);
  --t-h3: 22px;
}
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); font-size: var(--t-body); line-height: 1.6; font-feature-settings: "ss01"; }
:where(main) p { line-height: 1.6; }
:where(main) small, .muted { font-size: max(var(--t-small), 1em * .82); }

/* Títulos: serifa editorial, peso normal, sem caixa alta (a capa das histórias tem o próprio estilo). */
h1, .h1, .x-hero h1 { font-family: var(--serif); font-weight: 400; font-size: var(--t-h1); line-height: 1.06; letter-spacing: -.01em; text-transform: none; }
h2, .h2-big, .x-sec h2, .x-final h2 { font-family: var(--serif); font-weight: 400; font-size: var(--t-h2); line-height: 1.1; letter-spacing: -.005em; text-transform: none; }
h3 { font-family: var(--font); font-size: var(--t-h3); font-weight: 600; line-height: 1.3; }
.x-hero h1 { font-size: var(--t-display); }
.x-hero h1 em, .x-sec h2 em, .x-final h2 em { font-family: var(--serif); font-style: italic; }
.story-cover h1, .se-cover .se-title { font-family: inherit; }

/* Rótulos e botões: caixa alta curta, mas legíveis (13px, peso 600). */
.eyebrow, .kicker, .section-title, .tabs a, .tabs span { font-size: var(--t-label); letter-spacing: var(--track-label); font-weight: 600; }
.pill, .button { font-size: 14px; font-weight: 600; letter-spacing: .06em; padding: 12px 22px; }
.pill.big { font-size: 15px; padding: 15px 28px; }

/* Uma largura para tudo: páginas de conteúdo usam --container; formulários e textos, --narrow. */
main { max-width: none; padding: clamp(32px, 5vw, 64px) var(--pad) 0; }
main > * { max-width: var(--container); margin-left: auto; margin-right: auto; }
main.wide > * { max-width: var(--container); }
main > .narrow, main > section.narrow, main > .auth, main > form.narrow { max-width: var(--narrow); }
main.full, main.bare { padding: 0; }
main.full > *, main.bare > * { max-width: none; }
.x-wrap, .site-foot-in, .site-foot-bottom, .x-hero-in, .x-sec .st-grid-wrap { max-width: var(--container); }

/* ---- Cabeçalho: mais respiro e texto legível ---- */
.bar { height: 76px; padding: 0 var(--pad); }
.bar .brand { font-size: 20px; font-weight: 600; gap: 12px; }
.bar .brand .mark { height: 18px; }
.bar-left, .bar-right { gap: clamp(20px, 3vw, 40px); }
.bar-nav { gap: clamp(20px, 2.8vw, 36px); }
.bar .nav-main, .bar-signin { font-size: 13px; font-weight: 600; letter-spacing: .12em; opacity: .8; }
.bar-signup { font-size: 13px; font-weight: 600; letter-spacing: .12em; padding: 12px 20px; }
.bar .inbox-link svg { width: 24px; height: 24px; }
.bar .me-menu .avatar { width: 36px; height: 36px; }
.me-menu .menu-panel { min-width: 230px; padding: 10px; }
.me-menu .menu-panel a, .me-menu .menu-panel .link { font-size: 15px; padding: 12px 14px; }
.bar.over-hero + main .x-hero { padding-top: 76px; }

/* ---- Rodapé: maior e com respiro ---- */
.site-foot { padding: clamp(56px, 8vw, 96px) var(--pad) 36px; margin-top: clamp(64px, 10vw, 120px); }
.site-foot-in { gap: clamp(28px, 5vw, 64px); }
.site-foot .brand { font-size: 22px; font-weight: 600; }
.site-foot-brand p { font-size: 16px; margin-top: 16px; }
.site-foot strong { font-size: 13px; letter-spacing: .14em; font-weight: 600; margin-bottom: 10px; }
.site-foot nav, .site-foot-prefs { gap: 14px; }
.site-foot nav a, .site-foot-prefs .lang-switch { font-size: 16px; }
.site-foot-prefs .theme button { width: 36px; height: 36px; }
.site-foot-prefs .theme svg { width: 18px; height: 18px; }
.site-foot-bottom { margin-top: 56px; padding-top: 24px; font-size: 14px; letter-spacing: .02em; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.site-foot-bottom .heart { color: var(--orange); }

/* ---- Explorar no formato das Publications do exposure.co ---- */
.xp-head { padding: clamp(16px, 4vw, 48px) 0 clamp(24px, 4vw, 40px); }
.xp-head h1 { font-size: var(--t-display); max-width: 14ch; margin-bottom: 18px; }
.xp-lead { font-size: 19px; color: var(--muted); max-width: 52ch; margin: 0 0 26px; }
.xp-search input { width: min(100%, 420px); font: inherit; font-size: 16px; padding: 14px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--column); color: var(--ink); }
.xp-head .chips { margin-top: 18px; }
.xp-sec { margin-top: clamp(48px, 7vw, 88px); }
.xp-sec > h2 { margin: 0 0 24px; }
.xp-collections { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.xp-coll { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: #111; color: #fff; text-decoration: none;
  box-shadow: 0 18px 40px rgb(0 0 0 / .18); transition: transform .4s ease, box-shadow .4s ease; }
.xp-coll:hover { transform: translateY(-4px); box-shadow: 0 26px 50px rgb(0 0 0 / .26); }
.xp-coll img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.xp-coll-veil { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
  background: rgb(0 0 0 / .28); padding: 16px; }
.xp-coll-veil strong { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; }
.xp-coll-veil span { font-size: 14px; opacity: .9; }
.xp-challenge { display: grid; gap: 8px; padding: clamp(24px, 4vw, 44px); border-radius: 18px; background: var(--column); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.xp-challenge .eyebrow { color: var(--orange); margin: 0; }
.xp-challenge strong { font-family: var(--serif); font-weight: 400; font-size: var(--t-h2); line-height: 1.1; }
.xp-challenge-prompt { color: var(--muted); font-size: 18px; }
.xp-challenge-cta { font-size: 14px; font-weight: 600; letter-spacing: .06em; margin-top: 6px; }
.xp-sec .st-grid-wrap { padding: 0; max-width: none; }
.xp-sec .st-more { text-align: center; margin-top: 36px; }
.xp-head h1 { max-width: 20ch; }
main > section.challenges { max-width: var(--container); }

/* =====================================================================
   Sem cantos arredondados em lugar nenhum (só avatares e indicadores redondos).
   ===================================================================== */
*, *::before, *::after { border-radius: 0 !important; }
.avatar, .avatar img, img.avatar, .badge, .dot, .theme button, .tl-who .avatar, .sf-who .avatar { border-radius: 50% !important; }

.pill.dark { background: var(--ink) !important; color: var(--base) !important; border-color: var(--ink) !important; }
.x-hero-card { transform: none; }

/* ---- "Conte a sua história": texto à esquerda, duas colunas de capas desencontradas à direita ---- */
.tl { background: var(--column); padding: clamp(64px, 9vw, 120px) var(--pad); margin-top: 0; }
.tl-in { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.tl-copy h2 { font-size: var(--t-display); margin: 0 0 24px; }
.tl-copy p { font-size: 19px; line-height: 1.65; color: var(--ink); opacity: .85; max-width: 36ch; }
.tl-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 32px); }
.tl-col { display: flex; flex-direction: column; gap: clamp(16px, 2.4vw, 32px); }
.tl-col.down { padding-top: clamp(40px, 8vw, 110px); }
.tl-card { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #111; }
.tl-card.tall { aspect-ratio: 4 / 5; }
.tl-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.tl-card:hover img { transform: scale(1.03); }
.tl-who { position: absolute; left: 16px; bottom: 14px; display: flex; align-items: center; gap: 10px; color: #fff; text-shadow: 0 1px 10px rgb(0 0 0 / .6); }
.tl-who strong { font-size: 16px; font-weight: 600; }
.tl::after { content: none; }

/* ---- "Uma página que deixa suas histórias brilharem": maquete da página + texto ---- */
.site-sec { padding: clamp(64px, 9vw, 120px) var(--pad); }
.site-in { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.site-mock { background: #fff; color: #0a0a0a; padding: clamp(18px, 2.4vw, 30px); box-shadow: 0 40px 80px rgb(0 0 0 / .18); }
.site-mock-bar { display: flex; justify-content: space-between; font-size: 12px; color: #6b6a65; }
.site-mock-sub { background: #0a0a0a; color: #fff; padding: 4px 10px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.site-mock-name { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px); margin: 10px 0 14px; }
.site-mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.site-mock-card { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #ddd; }
.site-mock-card img { width: 100%; height: 100%; object-fit: cover; }
.site-mock-card span { position: absolute; left: 10px; right: 10px; bottom: 10px; color: #fff; display: flex; flex-direction: column; text-shadow: 0 1px 8px rgb(0 0 0 / .7); }
.site-mock-card strong { font-family: var(--serif); font-weight: 400; font-size: clamp(13px, 1.3vw, 17px); line-height: 1.15; }
.site-mock-card em { font-family: var(--serif); font-size: 11px; opacity: .85; }
.site-copy h2 { font-size: var(--t-h1); margin: 0 0 22px; }
.site-copy p { font-size: 19px; line-height: 1.65; opacity: .85; }

/* ---- Recursos: ícones grandes e cinza, título forte, texto centralizado, traço entre colunas ---- */
.ft { padding: clamp(56px, 8vw, 100px) var(--pad); }
.ft-grid { list-style: none; margin: 0 auto; padding: 0; max-width: var(--container); display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(40px, 5vw, 64px) clamp(24px, 4vw, 56px); }
.ft-grid li { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ft-grid li:not(:nth-child(4n))::after { content: ''; position: absolute; top: 36px; right: calc(-1 * clamp(24px, 4vw, 56px) / 2 - 18px); width: 36px; height: 1px; background: var(--line); }
.ft-grid .x-ic { width: 64px; height: 64px; stroke: var(--muted); stroke-width: 1.3; fill: none; margin-bottom: 18px; }
.ft-grid strong { font-size: 18px; font-weight: 600; }
.ft-grid span { font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 26ch; }
@media (max-width: 860px) { .ft-grid { grid-template-columns: 1fr 1fr; } .ft-grid li::after { display: none; } .tl-in, .site-in { grid-template-columns: 1fr; } }

/* ---- Descobrir: como as Publications (título central em serifa, cartões em pé com sombra) ---- */
.pub { padding: clamp(56px, 8vw, 110px) var(--pad); text-align: center; }
.pub h2 { font-size: var(--t-display); margin: 0 0 14px; }
.pub-lead { font-size: 18px; color: var(--muted); max-width: 56ch; margin: 0 auto clamp(36px, 5vw, 64px); }
.pub-grid { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3.6vw, 48px); }
.pub-card { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 5 / 7; overflow: hidden; background: #111;
  box-shadow: 0 24px 50px rgb(0 0 0 / .16); text-decoration: none; transition: transform .4s ease, box-shadow .4s ease; }
.pub-card:hover { transform: translateY(-4px); box-shadow: 0 32px 60px rgb(0 0 0 / .24); }
.pub-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.62); }
.pub-name { position: relative; z-index: 1; color: #fff; font-family: var(--serif); font-size: clamp(26px, 2.8vw, 40px); line-height: 1.05; padding: 0 14px;
  text-shadow: 0 2px 20px rgb(0 0 0 / .55); }
@media (max-width: 860px) { .pub-grid { grid-template-columns: 1fr 1fr; } }

/* Explorar usa o mesmo cartão das Publications */
.xp-coll { aspect-ratio: 5 / 7; box-shadow: 0 24px 50px rgb(0 0 0 / .16); }
.xp-coll img { filter: brightness(.62); }
.xp-coll-veil { background: none; }
.xp-coll-veil strong { font-size: clamp(26px, 2.6vw, 38px); text-shadow: 0 2px 20px rgb(0 0 0 / .55); }
.xp-head { text-align: center; }
.xp-head h1 { margin-left: auto; margin-right: auto; }
.xp-lead { margin-left: auto; margin-right: auto; }
.xp-sec > h2 { text-align: center; }

/* ---- Rodapé escuro, como o do exposure.co ---- */
.site-foot { background: #121212; color: #f2f2f2; border-top: 0; margin-top: 0; padding: clamp(56px, 7vw, 88px) var(--pad) 40px; }
.sf-in { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.sf-me { display: flex; flex-direction: column; gap: 22px; padding-right: clamp(16px, 3vw, 40px); border-right: 1px solid #333; }
.sf-who { display: flex; align-items: center; gap: 14px; font-size: 20px; font-weight: 600; color: #b8b8b8 !important; text-transform: none !important; letter-spacing: 0 !important; }
.sf-who .mark { height: 22px; color: var(--orange); }
.site-foot a, .site-foot .lang-switch { color: #fff; text-decoration: none; font-size: 15px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.site-foot nav, .sf-prefs { display: flex; flex-direction: column; gap: 22px; }
.sf-title { font-size: 19px; font-weight: 600; color: #8f8f8f; margin-bottom: 4px; }
.sf-prefs .theme { background: #222; }
.sf-prefs .theme button { color: #ddd; }
.sf-bottom { max-width: var(--container); margin: clamp(48px, 6vw, 80px) auto 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.sf-legal { display: flex; align-items: center; gap: 16px; }
.sf-legal > .mark { height: 40px; width: auto; color: #fff; }
.sf-copy { font-size: 18px; color: #f2f2f2; }
.sf-copy em { font-family: var(--serif); font-size: 18px; margin-left: 6px; color: #cccccc; }
.sf-made { display: flex; align-items: baseline; gap: 12px; }
.sf-made span { font-size: 13px; letter-spacing: .4em; text-transform: uppercase; color: #f2f2f2; }
.sf-made strong { font-family: var(--serif); font-style: italic; font-size: clamp(34px, 4vw, 48px); font-weight: 500; color: var(--orange); line-height: 1; }
@media (max-width: 860px) { .sf-in { grid-template-columns: 1fr 1fr; } .sf-me { border-right: 0; } }
.site-foot nav a, .site-foot .sf-me a:not(.sf-who) { color: #fff; font-size: 15px; } .site-foot nav a:hover { color: var(--orange); }
.sf-made strong { text-transform: none; letter-spacing: 0; }

/* Sem sombra nos textos brancos: a foto de fundo é que escurece o bastante. */
.x-final p, .x-final h2, .x-hero-copy p, .x-hero h1, .pub-name, .xp-coll-veil strong, .tl-who, .site-mock-card span { text-shadow: none !important; }
.x-final-bg { filter: brightness(.34); }
.x-hero-bg { filter: brightness(.42); }
.pub-card img, .xp-coll img { filter: brightness(.5); }
.tl-card::after { content: ''; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(transparent, rgb(0 0 0 / .55)); }
.tl-who { z-index: 1; }

/* ---- Como funciona (home) ---- */
.how { padding: clamp(64px, 9vw, 120px) var(--pad); }
.how-in { max-width: var(--container); margin: 0 auto; }
.how .eyebrow { color: var(--orange); }
.how h2 { font-size: var(--t-display); margin: 8px 0 22px; max-width: 18ch; }
.how-lead { font-size: 19px; line-height: 1.65; max-width: 60ch; opacity: .85; margin-bottom: clamp(36px, 5vw, 64px); }
.how-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 44px); }
.how-steps li { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--ink); padding-top: 18px; }
.how-n { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--orange); }
.how-steps strong { font-size: 22px; font-weight: 600; }
.how-steps span:not(.how-n) { font-size: 16px; line-height: 1.6; color: var(--muted); }
.how-steps a { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 600; letter-spacing: .06em; color: var(--ink); text-decoration: none; }
@media (max-width: 960px) { .how-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .how-steps { grid-template-columns: 1fr; } }

/* ---- Página do app ---- */
.ap-head { max-width: var(--container); margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--pad) clamp(32px, 4vw, 56px); text-align: center; }
.ap-head .eyebrow { color: var(--orange); }
.ap-head h1 { font-size: var(--t-display); margin: 10px auto 22px; }
.ap-lead { font-size: 20px; line-height: 1.6; max-width: 60ch; margin: 0 auto 28px; opacity: .85; }
.ap-toc { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px; }
.ap-toc a { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: 4px; }
.ap-sec { padding: clamp(64px, 9vw, 120px) var(--pad); scroll-margin-top: 80px; }
.ap-sec.alt { background: var(--column); }
.ap-split { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.ap-split.rev > .ap-copy { order: 2; }
.ap-copy h2 { font-size: var(--t-h1); margin: 8px 0 18px; }
.ap-copy > p, .ap-narrow > p { font-size: 18px; line-height: 1.65; opacity: .85; max-width: 56ch; }
.ap-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 18px; }
.ap-list li { display: grid; gap: 4px; padding-top: 16px; border-top: 1px solid var(--line); }
.ap-list strong { font-size: 17px; font-weight: 600; }
.ap-list span { font-size: 16px; line-height: 1.6; color: var(--muted); }
.ap-shots { display: flex; gap: 20px; justify-content: center; }
.ap-shots .device { width: min(46%, 260px); }
.ap-phone { width: min(100%, 320px); display: block; margin: 0 auto; box-shadow: 0 30px 60px rgb(0 0 0 / .22); }
.ap-narrow { max-width: 820px; margin: 0 auto; }
.ap-narrow h2 { font-size: var(--t-h1); margin: 8px 0 18px; }
@media (max-width: 860px) { .ap-split { grid-template-columns: 1fr; } .ap-split.rev > .ap-copy { order: 0; } }

/* =====================================================================
   Paleta preto e branco (padrão) e arco-íris (opção). O laranja sai.
   ===================================================================== */
:root { --base: #ffffff; --column: #f4f4f4; --line: #e2e2e2; --ink: #0a0a0a; --muted: #595959; --well: #ececec; --paper: #ffffff;
  --orange: var(--ink); --on-orange: var(--base); --rainbow: linear-gradient(90deg, #ff4d6d, #ff9f1c, #ffd60a, #2ec4b6, #3a86ff, #8338ec); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --base: #0a0a0a; --column: #151515; --line: #2a2a2a; --ink: #f5f5f5; --muted: #a6a6a6; --well: #1c1c1c; --paper: #0a0a0a; --orange: var(--ink); --on-orange: var(--base); }
}
:root[data-theme="dark"] { --base: #0a0a0a; --column: #151515; --line: #2a2a2a; --ink: #f5f5f5; --muted: #a6a6a6; --well: #1c1c1c; --paper: #0a0a0a; --orange: var(--ink); --on-orange: var(--base); }
body { background: var(--base); color: var(--ink); }

/* Arco-íris: o destaque vira um degradê (títulos em itálico, números, sublinhados, botão principal). */
[data-palette="rainbow"] .how-n, [data-palette="rainbow"] .sf-made strong,
[data-palette="rainbow"] .x-hero h1 em, [data-palette="rainbow"] .how h2 em, [data-palette="rainbow"] .x-final h2 em,
[data-palette="rainbow"] .ap-head h1 em, [data-palette="rainbow"] .eyebrow {
  background: var(--rainbow); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-palette="rainbow"] .bar .nav-main[aria-current="page"], [data-palette="rainbow"] .ap-toc a { box-shadow: none; border-bottom: 2px solid transparent; border-image: var(--rainbow) 1; }
[data-palette="rainbow"] .bar-signup, [data-palette="rainbow"] .pill.accent { background: var(--rainbow) !important; color: #0a0a0a !important; border: 0 !important; }
.bar .nav-main[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--ink); }
.sf-made strong { color: #fff; }
.how-steps li { border-top-color: var(--ink); }

/* Botão da paleta no cabeçalho */
.palette-toggle { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid var(--line); color: var(--ink);
  font: 600 12px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; padding: 9px 12px; cursor: pointer; }
.pt-dot { width: 14px; height: 14px; border-radius: 50% !important; background: linear-gradient(90deg, #0a0a0a 50%, #fff 50%); border: 1px solid var(--ink); }
[data-palette="rainbow"] .pt-dot { background: var(--rainbow); border-color: transparent; }
.bar.over-hero .palette-toggle { color: #fff; border-color: rgb(255 255 255 / .5); }

/* Tema no rodapé: três palavras, a escolhida sublinhada */
.sf-theme { display: flex; align-items: center; gap: 10px; color: #8f8f8f; }
.sf-theme button { background: none; border: 0; padding: 4px 0; color: #8f8f8f; font: 700 15px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
.sf-theme button[aria-pressed="true"] { color: #fff; box-shadow: inset 0 -2px 0 #fff; }
[data-palette="rainbow"] .sf-theme button[aria-pressed="true"] { box-shadow: none; border-bottom: 2px solid transparent; border-image: var(--rainbow) 1; }

/* ---- Entrar e criar conta, como o exposure.co: formulário à esquerda, foto inteira à direita ---- */
.auth-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; }
.auth-panel { max-width: 460px !important; width: 100%; margin: 0 auto; padding: clamp(40px, 8vh, 96px) var(--pad) 48px; align-self: center; }
.auth-panel .auth-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; color: var(--ink); text-decoration: none; margin-bottom: clamp(28px, 6vh, 64px); }
.auth-panel h1 { font-size: clamp(36px, 4vw, 52px); margin: 0 0 12px; }
.auth-panel > .muted { font-size: 16px; margin-bottom: 28px; }
.auth-panel .social-button { border: 1px solid var(--ink); background: var(--base); color: var(--ink); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: 13px; padding: 15px; }
.auth-panel label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.auth-panel input { font: inherit; font-size: 16px; letter-spacing: 0; text-transform: none; border: 0; border-bottom: 1px solid var(--ink); background: transparent; padding: 12px 0; width: 100%; color: var(--ink); }
.auth-panel input:focus { outline: none; border-bottom-width: 2px; }
.auth-panel .button { width: 100%; background: var(--ink); color: var(--base); border: 0; padding: 17px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.auth-panel .hint, .auth-panel .forgot a, .auth-panel .switch { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 14px; }
.auth-photo { position: relative; overflow: hidden; background: #111; color: #fff; }
.auth-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgb(0 0 0 / .35), transparent 30%, transparent 65%, rgb(0 0 0 / .6)); }
.auth-photo-brand { position: absolute; z-index: 1; top: 32px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 10px;
  color: #fff; font-family: var(--serif); font-size: 30px; text-decoration: none; }
.auth-photo-brand .mark { height: 22px; color: #fff; }
.auth-credit { position: absolute; z-index: 1; left: 0; right: 0; bottom: 40px; text-align: center; display: flex; flex-direction: column; gap: 6px; }
.auth-credit strong { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.auth-credit span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.auth-credit em { font-family: var(--serif); font-size: 15px; text-transform: none; letter-spacing: 0; }
@media (max-width: 860px) { .auth-split { grid-template-columns: 1fr; } .auth-photo { display: none; } }

/* Arco-íris revisto (como o VSCO One): degradê quente (lima → amarelo → laranja → rosa),
   usado com parcimônia: a palavra de destaque dos títulos e o botão principal. Nada de rótulos,
   números ou sublinhados coloridos. */
:root { --rainbow: linear-gradient(90deg, #b5e61d 0%, #f5d300 32%, #ff9a00 58%, #ff5a1f 78%, #e8217e 100%); }
[data-palette="rainbow"] .eyebrow, [data-palette="rainbow"] .how-n {
  background: none; -webkit-background-clip: border-box; background-clip: border-box; color: inherit; }
[data-palette="rainbow"] .how-n { color: var(--ink); }
[data-palette="rainbow"] .eyebrow { color: var(--muted); }
[data-palette="rainbow"] .bar .nav-main[aria-current="page"], [data-palette="rainbow"] .ap-toc a,
[data-palette="rainbow"] .sf-theme button[aria-pressed="true"] { border-image: none; border-bottom: 0; }
[data-palette="rainbow"] .bar .nav-main[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--ink); }
[data-palette="rainbow"] .ap-toc a { border-bottom: 2px solid var(--ink); }
[data-palette="rainbow"] .sf-theme button[aria-pressed="true"] { box-shadow: inset 0 -2px 0 #fff; }
/* Palavra de destaque: degradê com peso suficiente para ler. */
[data-palette="rainbow"] .x-hero h1 em, [data-palette="rainbow"] .how h2 em, [data-palette="rainbow"] .x-final h2 em,
[data-palette="rainbow"] .ap-head h1 em, [data-palette="rainbow"] .sf-made strong {
  font-weight: 600; background: var(--rainbow); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* Botão principal: degradê cheio, texto preto em caixa alta, como o "Explore VSCO One". */
[data-palette="rainbow"] .bar-signup, [data-palette="rainbow"] .x-cta .pill:first-child, [data-palette="rainbow"] .auth-panel .button,
[data-palette="rainbow"] .pill.accent {
  background: var(--rainbow) !important; color: #000 !important; border: 0 !important; font-weight: 700; letter-spacing: .14em; }

/* Fica o preto e branco (o arco-íris saiu). */
.brand .mark { color: currentColor; }

/* Cabeçalho da home: fixo, transparente sobre a foto e sólido ao rolar (como o exposure.co). */
.bar.over-hero { position: fixed; transition: background-color .25s ease, color .25s ease, border-color .25s ease; border-bottom: 1px solid transparent; }
.bar.over-hero.solid { background: var(--base); color: var(--ink); border-bottom-color: var(--line); }
.bar.over-hero.solid .brand, .bar.over-hero.solid .nav-main, .bar.over-hero.solid .bar-signin { color: var(--ink); }
.bar.over-hero.solid .bar-signup { background: var(--ink); color: var(--base); }

/* Logo do rodapé menor */
.sf-legal > .mark { height: 18px; }
.sf-who .mark { height: 16px; }
.sf-who { font-size: 18px; }
.site-foot .mark, .site-foot .brand .mark, .sf-who .mark, .sf-legal > .mark { color: #fff !important; }

/* Botões arredondados (cartões, fotos e campos continuam retos). */
.pill, .button, .bar-signup, .social-button, .auth-panel .button, .chip, .select-toggle, .reveal,
.lib-tabs, .lib-tabs > a, .xp-search input, button.pill { border-radius: 999px !important; }
.x-hero-copy .x-cta { max-width: none; flex-wrap: nowrap; } .x-hero-copy .x-cta .pill { white-space: nowrap; } @media (max-width: 420px) { .x-hero-copy .x-cta { flex-wrap: wrap; } }
.bar, .bar.over-hero, .bar.over-hero.solid { border-bottom: 0 !important; box-shadow: none; }
h1, h2, .x-hero h1 { text-wrap: balance; }
.ex-tag { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 3px 9px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid currentColor; border-radius: 999px !important; opacity: .75; }
.pill.accent { background: var(--ink) !important; color: var(--base) !important; border-color: var(--ink) !important; }

/* ---- Detalhe da foto: rodapé enxuto (autor, dados e o estilo), na largura do texto ---- */
main > .viewer { margin-bottom: 0; min-height: 0; }
.viewer { padding-bottom: 0 !important; }
main > .meta, main > .made-with, main > .reply, main > .owner, main > form.narrow { max-width: 900px; }
.meta { margin-top: 28px; padding: 0 0 24px; border-bottom: 1px solid var(--line); align-items: start; }
.meta > div:first-child { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.meta .who { font-size: 17px; }
.meta .ex-tag { margin-left: 0; }
.meta > div:first-child > p { flex-basis: 100%; margin: 4px 0 0; }
.meta dl { margin: 0; display: grid; grid-template-columns: auto auto; gap: 6px 18px; font-size: 15px; }
.meta dt { color: var(--muted); }
.made-with { background: none; border: 0; border-bottom: 1px solid var(--line); padding: 28px 0 32px; margin-top: 0; }
.made-with .kicker { color: var(--muted); }
.made-with .kicker i { display: none; }
.made-with .look-name { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 44px); margin: 6px 0 18px; }
.made-with .look-name .muted { font-family: var(--font); font-size: 16px; }
.made-with .row .pill:not(.accent) { background: transparent !important; color: var(--ink) !important; border: 1px solid var(--line) !important; }
.kicker i { background: var(--ink); }

/* ---- Cabeçalho das páginas logadas (Today, Library…) e biblioteca ---- */
.page-head, main.wide > .head { padding: clamp(16px, 4vw, 40px) 0 clamp(20px, 3vw, 32px); }
.page-head h1, main.wide > .head h1 { font-size: var(--t-h1); margin: 6px 0 12px; }
.page-head .eyebrow, main.wide > .head .eyebrow { color: var(--muted); margin: 0; }
.page-lead { font-size: 18px; color: var(--muted); max-width: 60ch; margin: 0 0 16px; }
main.wide > .head > div { display: block; }
form.drop { display: flex; align-items: center; justify-content: center; text-align: center; padding: 22px; margin: 0 0 24px; border: 1px dashed var(--line); }
form.drop label { display: flex; flex-direction: column; gap: 4px; cursor: pointer; }
.lib-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 20px; flex-wrap: wrap; }
.lib-bar .lib-tabs { margin: 0; padding: 4px; gap: 2px; }
.lib-tabs > a { padding: 9px 16px; font-size: 14px; font-weight: 500; letter-spacing: 0 !important; text-transform: none !important; }
.lib-tabs > a .count { opacity: .5; margin-left: 6px; font-weight: 400; }
.lib-bar .select-toggle { padding: 10px 20px; font-size: 13px; }
form.drop { min-height: 0 !important; height: auto !important; padding: 18px !important; }
.page-head ~ .xp-sec > h2 { text-align: left; } .page-head ~ .xp-sec { margin-top: clamp(32px, 5vw, 56px); }
.lib-tabs > a .count { color: inherit !important; letter-spacing: 0 !important; opacity: .55; } .lib-tabs > a.active .count { color: var(--base) !important; opacity: .7; }
.page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
.page-actions form { margin: 0; }
.page-head + .grid, .page-head + ul.grid { margin-top: 8px; }
/* Páginas antigas que ainda usam .look-head: mesma margem do resto. */
.look-head { max-width: var(--container) !important; padding: clamp(16px, 4vw, 40px) 0 clamp(20px, 3vw, 32px) !important; }
.look-head h1 { font-size: var(--t-h1); font-weight: 400; }
.look-head .kicker i { display: none; }
main.wide { max-width: none !important; } main > .grid, main > ul.grid, main > section > .grid { margin-left: auto !important; margin-right: auto !important; max-width: var(--container); }
main > .profile, main > h2, main > .eyebrow, main > .profile-photos-title, main > details { margin-left: auto !important; margin-right: auto !important; max-width: var(--container); }
/* Resultado da busca de pessoas */
.search-head h1 { margin-bottom: 20px; }
.search-head .xp-search input { width: min(100%, 520px); }
.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin-top: 8px; }
.person-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 28px 16px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.person-card:hover { border-color: var(--ink); }
.person-card .avatar { width: 88px; height: 88px; margin-bottom: 10px; }
.person-card strong { font-size: 18px; font-weight: 600; }
.person-card .muted { font-size: 14px; }
main:not(.full):not(.bare) { padding-bottom: clamp(72px, 10vw, 140px) !important; min-height: calc(100svh - 76px); }
main:not(.full):not(.bare) { min-height: 0 !important; padding-bottom: clamp(64px, 8vw, 96px) !important; }

/* Rodapé sempre no fim, sem faixa branca depois dele */
body { display: flex; flex-direction: column; min-height: 100svh; }
body > main { flex: 1 0 auto; width: 100%; }
body > .site-foot { flex-shrink: 0; }

/* Perfil no mesmo cabeçalho das outras páginas */
.pf-head { display: flex; align-items: flex-start; gap: clamp(20px, 3vw, 36px); }
.pf-head .avatar { flex-shrink: 0; margin-top: 6px; }
.pf-head .who { min-width: 0; }
.pf-head .page-lead { margin-bottom: 0; }
.profile-stories > .eyebrow, .pf-sec { padding: 0 !important; margin: clamp(32px, 5vw, 56px) 0 16px !important; text-align: left; }
.profile-stories { padding: 0 !important; }
@media (max-width: 600px) { .pf-head { flex-direction: column; gap: 16px; } }

/* Ajustes: formulário estreito, alinhado à esquerda com o cabeçalho */
main > section.narrow.settings { margin: 0; max-width: 560px; }
.page-head + .narrow.settings { margin-top: 8px; }
.pf-head .page-actions { display: flex !important; flex-direction: row !important; flex-wrap: wrap; order: 0; margin-top: 20px; }
.pf-head .page-actions > * { width: auto; margin: 0; }

/* Cabeçalho no celular: marca e ícones na primeira linha, navegação inteira na segunda */
@media (max-width: 720px) {
  .bar { display: grid !important; grid-template-columns: 1fr auto; grid-template-areas: "brand right" "nav nav";
    height: auto !important; padding: 10px 16px 0 !important; row-gap: 6px; column-gap: 12px; }
  .bar .bar-left { display: contents; }
  .bar .brand { grid-area: brand; align-self: center; }
  .bar .bar-right { grid-area: right; display: flex; align-items: center; gap: 14px; }
  .bar .bar-nav { grid-area: nav; width: 100%; display: flex; justify-content: space-between; gap: 8px !important;
    overflow-x: auto; flex-wrap: nowrap; padding: 8px 0 10px; margin: 0; }
  .bar .bar-nav .nav-main { font-size: 12px; letter-spacing: .1em; white-space: nowrap; padding: 0 0 4px !important; margin: 0 !important; line-height: 1.2; border-bottom: 0 !important; }
}

/* ===== QA: um único eixo para todos os blocos das páginas ===== */
main:not(.full):not(.bare) > *:not(.selbar):not(.narrow.settings):not(dialog) { margin-left: auto !important; margin-right: auto !important; width: 100%; max-width: var(--container); box-sizing: border-box; }
main:not(.full):not(.bare) > .narrow:not(.settings), main:not(.full):not(.bare) > .auth { max-width: var(--narrow); }
main:not(.full):not(.bare) > section.narrow.settings { margin-left: max(0px, calc((100% - var(--container)) / 2)) !important; max-width: 560px; }

/* Seleção: marca branca legível sobre qualquer foto, anel duplo na foto escolhida */
.grid .pick span { width: 26px; height: 26px; border: 2px solid #fff; background: rgba(0,0,0,.35); box-shadow: 0 1px 4px rgba(0,0,0,.5); }
.grid .pick input:checked + span { background: #fff; border-color: #fff; }
.grid .pick input:checked + span::after { left: 8px; top: 3px; border-color: #0a0a0a; border-width: 0 2.5px 2.5px 0; }
.grid li[data-ratio]:has(.pick input:checked) a { box-shadow: 0 0 0 3px var(--base), 0 0 0 5px var(--ink); }
.grid li[data-ratio]:has(.pick input:checked) img { opacity: .9; }

/* Barra de seleção: uma linha, controles da mesma altura */
.selbar { width: min(1080px, calc(100% - 2 * var(--gutter))); border-radius: 999px; padding: 10px 10px 10px 24px; gap: 16px; flex-wrap: nowrap; justify-content: space-between; background: var(--base); }
.selbar .sel-count { font-size: 14px; white-space: nowrap; margin: 0; }
.selbar .sel-actions { gap: 8px; flex-wrap: nowrap; }
.selbar .pill, .selbar .album-pick button { min-height: 40px; padding: 0 18px; font-size: 12px; white-space: nowrap; }
.selbar .album-pick { gap: 6px; flex-wrap: nowrap; }
.selbar .album-pick select, .selbar .album-pick input { height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--base); color: var(--ink); font-size: 13px; outline: none; }
.selbar .album-pick select:focus-visible, .selbar .album-pick input:focus-visible { border-color: var(--ink); }
.selbar .album-pick input { width: 150px; }
.selbar .link { font-size: 14px; padding: 0 8px; white-space: nowrap; }
@media (max-width: 1000px) {
  .selbar { flex-wrap: wrap; border-radius: 20px; padding: 14px; justify-content: center; }
  .selbar .sel-count { width: 100%; text-align: center; }
  .selbar .sel-actions, .selbar .album-pick { flex-wrap: wrap; justify-content: center; }
}

/* Cabeçalho alinhado à mesma coluna do conteúdo e do rodapé */
@media (min-width: 721px) {
  .bar { padding-left: max(var(--pad), calc((100% - var(--container)) / 2)) !important; padding-right: max(var(--pad), calc((100% - var(--container)) / 2)) !important; }
}
.journal .journal-head, .journal .journal-empty { padding-left: 0 !important; padding-right: 0 !important; margin-left: 0; margin-right: 0; }
main > .journal { padding: 0 !important; }
main:not(.full):not(.bare) > section.narrow.inbox { margin-left: max(0px, calc((100% - var(--container)) / 2)) !important; max-width: 720px; }
.selbar { box-sizing: border-box; }
@media (max-width: 720px) {
  .bar { padding-left: var(--pad) !important; padding-right: var(--pad) !important; }
  .lib-bar { flex-wrap: nowrap; }
  .lib-bar .lib-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: calc(100% - 100px); }
  .lib-bar .lib-tabs a { white-space: nowrap; }
  .selbar { width: calc(100% - 2 * var(--pad)); bottom: max(12px, env(safe-area-inset-bottom)); }
  .selbar .album-pick select, .selbar .album-pick input { flex: 1 1 0; min-width: 0; width: auto; }
  .selbar .album-pick { width: 100%; }
}
@media (max-width: 720px) {
  .selbar { left: var(--pad) !important; right: var(--pad) !important; width: auto !important; transform: none !important; }
  .selbar .album-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .selbar .album-pick button { grid-column: 1 / -1; }
  .selbar .album-pick input[hidden] + button, .selbar .album-pick select:only-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) { .sf-in { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-foot nav a, .sf-prefs a, .sf-me a { overflow-wrap: anywhere; } }
@media (max-width: 420px) { .sf-in { grid-template-columns: minmax(0, 1fr); } }
.site-foot { overflow-x: clip; }

/* Stories (leitor e editor): mesma paleta neutra P&B do site, sempre clara */
.story, .story-editor {
  --base: #ffffff; --column: #f4f4f4; --line: #e2e2e2; --ink: #0a0a0a;
  --muted: #595959; --well: #ececec; --paper: #ffffff;
}

/* Editor de histórias: botões legíveis e arredondados como no resto do site */
.se-top { background: #0a0a0a; }
.se-btn { border-radius: 999px !important; padding: 9px 18px; border-color: rgb(255 255 255 / .35); color: #f5f5f5; }
.se-btn.accent { background: #fff !important; color: #0a0a0a !important; border-color: #fff !important; }
.se-btn.accent:hover { background: #e2e2e2 !important; }
.se-cover-btn, .se-coverlay, .se-coverlay button, .se-insert button { border-radius: 999px !important; }
.se-mods, .se-cfg, .se-hud { border-radius: 999px !important; }
.se-mods button, .se-hud button { border-radius: 999px !important; }
.se-coverlay button { white-space: nowrap; }
@media (max-width: 720px) { .se-coverlay { bottom: 150px !important; } .se-coverlay button { padding: 8px 12px; font-size: 11px; } }

/* Barra de seleção: todos os controles com a mesma altura, borda e forma */
.selbar .pill, .selbar .album-pick button, .selbar .album-pick select, .selbar .album-pick input {
  height: 44px !important; min-height: 44px !important; box-sizing: border-box; border-radius: 999px !important; }
.selbar .album-pick select, .selbar .album-pick input {
  border: 1px solid var(--line) !important; outline: none !important; box-shadow: none !important;
  background-color: var(--base) !important; color: var(--ink) !important; padding: 0 18px !important; font: 400 14px/1 var(--font) !important; }
.selbar .album-pick select { -webkit-appearance: none; appearance: none; padding-right: 38px !important;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%) !important;
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50% !important; background-size: 5px 5px !important; background-repeat: no-repeat !important; }
.selbar .album-pick select:focus-visible, .selbar .album-pick input:focus-visible { border-color: var(--ink) !important; }
.selbar .album-pick input::placeholder { color: var(--muted); }
.selbar .link { height: 44px; display: inline-flex; align-items: center; }

/* ===== Editor: barra superior ===== */
.se-top { height: 64px; padding: 0 var(--pad) !important; display: grid !important; grid-template-columns: 1fr auto 1fr; align-items: center; }
.se-back { display: inline-flex; align-items: center; gap: 10px; justify-self: start; height: 40px; padding: 0 16px 0 10px;
  border: 1px solid rgb(255 255 255 / .35); border-radius: 999px !important; color: #f5f5f5 !important; text-decoration: none;
  font: 500 12px/1 var(--font) !important; letter-spacing: .14em; text-transform: uppercase; }
.se-back svg { width: 18px; height: 18px; }
.se-back:hover { border-color: #fff; background: transparent !important; }
.se-status { justify-self: center; font: 500 11px/1 var(--font) !important; letter-spacing: .16em; text-transform: uppercase; color: #8f8f8f !important; }
.se-top-acts { justify-self: end; display: flex; gap: 8px; }
.se-btn { height: 40px; display: inline-flex; align-items: center; padding: 0 18px !important; font: 500 12px/1 var(--font) !important; letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 560px) { .se-back span { display: none; } .se-back { padding: 0 10px; } .se-status { display: none; } .se-top { grid-template-columns: auto 1fr; } .se-btn { padding: 0 14px !important; } }

/* ===== Editor: painéis (opções da story e design da capa), no padrão do site ===== */
.se-panel, .se-cpanel { background: var(--base); padding: 28px 32px 48px; gap: 40px; box-shadow: -24px 0 64px rgb(0 0 0 / .18); width: min(440px, 100vw); }
.se-panel-head { align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.se-panel-head strong { font: 400 30px/1.1 var(--serif) !important; letter-spacing: 0 !important; text-transform: none !important; }
.se-x { width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line) !important; border-radius: 999px !important; color: var(--ink); }
.se-x svg { width: 18px; height: 18px; }
.se-x:hover { border-color: var(--ink) !important; }
.se-panel-sec { gap: 0; }
.se-panel-sec h3 { font: 500 var(--t-label, 12px)/1 var(--font) !important; letter-spacing: var(--track-label, .16em) !important; color: var(--muted) !important; margin: 0 0 12px !important; }
.se-panel-sec .muted { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* Rádios: linhas com divisória, marcador redondo próprio */
.se-radio { margin: 0 !important; padding: 14px 0 !important; border-radius: 0 !important; border-top: 1px solid var(--line); align-items: center; gap: 14px; font-size: 15px; }
.se-radio:first-of-type { border-top: 0; }
.se-radio:hover { background: transparent !important; }
.se-radio input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 0 !important; border: 1px solid var(--muted); border-radius: 50% !important; display: grid; place-items: center; cursor: pointer; }
.se-radio input::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform .15s; }
.se-radio input:checked { border-color: var(--ink); }
.se-radio input:checked::after { transform: scale(1); }
.se-radio input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.se-radio span small { font-size: 13px; color: var(--muted); margin-top: 3px; }

/* Tamanho do texto: grupo segmentado, igual às abas da biblioteca */
.se-panel-sec:has(input[name="font_size"]) { display: flex; flex-wrap: wrap; gap: 2px; }
.se-panel-sec:has(input[name="font_size"]) h3 { width: 100%; }
.se-panel-sec:has(input[name="font_size"]) .se-radio { flex: 1; justify-content: center; border: 0; padding: 0 !important; height: 44px; background: var(--column); }
.se-panel-sec:has(input[name="font_size"]) .se-radio:first-of-type { border-radius: 999px 0 0 999px !important; }
.se-panel-sec:has(input[name="font_size"]) .se-radio:last-of-type { border-radius: 0 999px 999px 0 !important; }
.se-panel-sec:has(input[name="font_size"]) .se-radio input { position: absolute; opacity: 0; }
.se-panel-sec:has(input[name="font_size"]) .se-radio:has(input:checked) { background: var(--ink); color: var(--base); }
.se-panel-sec:has(input[name="font_size"]) .se-radio span { font-size: 13px; letter-spacing: .04em; }

/* Tipografia: cartões com linha fina; o escolhido ganha borda de tinta */
.se-fonts { gap: 8px; }
.se-font { border: 1px solid var(--line) !important; border-radius: 0 !important; box-shadow: none !important; padding: 20px 12px 16px; background: var(--base); }
.se-font:hover { border-color: var(--muted) !important; }
.se-font.on, .se-font:has(input:checked) { border-color: var(--ink) !important; background: var(--column); }
.se-font small { color: var(--muted); letter-spacing: .14em; margin-top: 6px; }

/* Apagar: botão contornado vermelho */
.se-panel .link.danger { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border: 1px solid currentColor !important; border-radius: 999px !important; font: 500 12px/1 var(--font) !important; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }

/* Interruptores: trilho arredondado, tinta quando ligado */
.se-switch { padding: 16px 0 !important; border-top: 1px solid var(--line); font-size: 15px; }
.se-switch input { appearance: none !important; -webkit-appearance: none !important; flex: none; width: 44px !important; height: 26px !important; border-radius: 999px !important; border: 0 !important; background: var(--line) !important; position: relative; cursor: pointer; transition: background .15s; margin: 0; }
.se-switch input::after { content: '' !important; position: absolute; top: 3px !important; left: 3px !important; width: 20px !important; height: 20px !important; border-radius: 50% !important; background: #fff !important; box-shadow: 0 1px 3px rgb(0 0 0 / .3) !important; transition: left .15s; border: 0 !important; }
.se-switch input:checked { background: var(--ink) !important; }
.se-switch input:checked::after { left: 21px !important; background: var(--base) !important; }
.se-switch input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.se-back { width: auto !important; min-width: 0 !important; }
.se-back svg { flex: none; }
.se-radio input { padding: 0 !important; width: 20px !important; height: 20px !important; min-height: 0 !important; background: transparent !important; box-shadow: none !important; }
/* Barra da foto: posição controlada pelo editor (acompanha a rolagem) */
.se-hud.photo-hud { transform: translateY(-50%); transition: opacity .15s; }
.se-hud button:disabled { opacity: .3; cursor: default; background: transparent !important; }
.se-hud.photo-hud button:focus-visible { outline: 2px solid #0a0a0a; outline-offset: 1px; }
.se-hud.photo-hud button:disabled[data-tip]:hover::after { content: attr(data-tip); }
/* Parallax é sempre largura total, seja qual for o tamanho escolhido */
.sb.photo.px, .se-body .sb.photo.px { max-width: none !important; width: 100% !important; padding: 0 !important; }
.sb.photo.px img, .se-body .sb.photo.px img { max-width: none !important; width: 100% !important; padding: 0 !important; margin: 0 !important; }
.se-block:focus-within .se-replace { opacity: 1; }
@media (max-width: 720px) {
  .se-block .se-replace { position: static; transform: none; display: block; margin: 0 auto 10px; opacity: 1; }
}
.se-replace { border-radius: 999px !important; } @media (max-width: 720px) { .se-block .se-replace { margin-bottom: 4px; } }

/* ===== Story: cabeçalho transparente "Made with Frame Story" ===== */
.story-bar { position: absolute; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  height: 72px; padding: 0 var(--pad); color: #fff; pointer-events: none; }
.story-bar .me-menu, .story-bar .sb-right > * { pointer-events: auto; }
.story-bar a { pointer-events: auto; color: inherit; text-decoration: none; }
.sb-brand { display: inline-flex; align-items: center; gap: 10px; font: 400 14px/1 var(--font); letter-spacing: .02em; text-shadow: 0 1px 8px rgb(0 0 0 / .35); }
.sb-brand .mark, .sb-brand svg { height: 20px; width: auto; }
.sb-brand strong { font-weight: 600; }
.sb-pill { display: inline-flex; align-items: center; height: 38px; padding: 0 18px; border-radius: 999px !important; background: #fff; color: #0a0a0a !important;
  font: 500 12px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 2px 12px rgb(0 0 0 / .15); }
.sb-me .avatar { width: 36px; height: 36px; box-shadow: 0 0 0 2px rgb(255 255 255 / .8); }
/* Capa sem foto (simples) ou lado claro do two-fold: tinta em vez de branco */
body:has(.story-cover.simple) .story-bar, body:has(.story-cover:not(.with-photo)) .story-bar { color: var(--ink); }
body:has(.story-cover.simple) .sb-brand, body:has(.story-cover:not(.with-photo)) .sb-brand { text-shadow: none; }
body:has(.story-cover.simple) .sb-pill, body:has(.story-cover:not(.with-photo)) .sb-pill { background: var(--ink); color: var(--base) !important; box-shadow: none; }
body:has(.story-bar) .story-cover:not(.simple) { min-height: 100svh; }
body:has(.story-bar) .story-cover.simple { padding-top: 120px; }

/* Assinatura da capa em duas linhas */
.byline .by-lines { display: flex; flex-direction: column; gap: 4px; text-align: left; }
.byline .by-date { opacity: .75; }
.story-cover:not(.twofold) .byline { justify-content: center; }

/* ===== Story: autor, mais histórias e CTA final ===== */
.story-author { max-width: 760px; margin: clamp(56px, 8vw, 96px) auto 0; padding: clamp(32px, 4vw, 48px) var(--pad) 0; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 32px); align-items: start; }
.story-author .avatar { width: 88px; height: 88px; }
.story-author .eyebrow { margin: 4px 0 6px; }
.story-author h2 { font: 400 clamp(28px, 3.4vw, 36px)/1.1 var(--serif); margin: 0; }
.story-author h2 a { color: var(--ink); text-decoration: none; }
.sa-handle { color: var(--muted); margin: 6px 0 0; font-size: 14px; }
.sa-bio { margin: 16px 0 0; font-size: 17px; line-height: 1.6; color: var(--ink); max-width: 56ch; white-space: pre-line; }
.story-author .page-actions { margin-top: 28px; gap: 12px; }
.story-author .social-links { margin-top: 20px; }
.story-news { max-width: 760px; margin: clamp(48px, 6vw, 72px) auto 0; padding: clamp(32px, 4vw, 48px) var(--pad); border-top: 1px solid var(--line); text-align: center; }
.story-news .eyebrow { margin: 0 0 10px; font-family: var(--font) !important; font-style: normal; }
.story-news h2 { font: 400 clamp(24px, 3vw, 32px)/1.2 var(--serif); margin: 0 auto; max-width: 22ch; }
.sn-lead { color: var(--muted); margin: 12px 0 0; font-size: 15px; }
.story-news .sub-form { margin: 28px auto 0; justify-content: center; align-items: center; gap: 16px; }
.story-news .sub-form label > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.story-news .sub-form input[type=email] { text-align: left; }
.story-news .sub-done { margin-top: 24px; }
@media (max-width: 560px) { .story-author { grid-template-columns: 1fr; } .story-author .avatar { width: 72px; height: 72px; } }

.social-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.social-links a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 999px !important; color: var(--ink); transition: border-color .15s, background .15s; }
.social-links a:hover { border-color: var(--ink); background: var(--column); }
.social-links svg { width: 18px; height: 18px; }
.pf-head .social-links { margin-top: 12px; }

.story-more { max-width: var(--container); margin: clamp(64px, 9vw, 112px) auto clamp(64px, 9vw, 112px); padding: 0 var(--pad); }
.story-more > .eyebrow { margin: 0 0 20px; }
.story-report { margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.story-report .report > summary { cursor: pointer; list-style: none; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.story-report .report > summary::-webkit-details-marker { display: none; }
.story-report .report[open] > summary { margin-bottom: 14px; }

.story-cta { background: #0a0a0a; color: #f5f5f5; margin-top: 0; padding: clamp(72px, 10vw, 128px) var(--pad) 40px; text-align: center; }
.sc-in { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.sc-mark svg, .sc-mark .mark { height: 28px; width: auto; color: #fff; }
.story-cta h2 { font: 400 clamp(32px, 4.6vw, 52px)/1.12 var(--serif); margin: 28px 0 32px; color: #fff; }
.sc-btn { background: #fff !important; color: #0a0a0a !important; border-color: #fff !important; }
.sc-small { margin: clamp(56px, 7vw, 88px) 0 0; font-size: 13px; color: #8f8f8f; }
.sc-small a { color: #f5f5f5; }
article.story { padding-bottom: 0; display: flow-root; }

/* Ajustes: links do perfil */
.links-field { border: 0; padding: 0; margin: 8px 0 0; display: grid; gap: 12px; }
.links-field legend { font: 500 var(--t-label, 12px)/1 var(--font); letter-spacing: var(--track-label, .16em); text-transform: uppercase; color: var(--muted); padding: 0; margin-bottom: 4px; }
.links-field .muted { margin: 0; font-size: 13px; }
.story-cover:not(.twofold) .byline .by-lines { align-items: center; text-align: center; }
.story-more > .eyebrow, .story-author .eyebrow { font-family: var(--font) !important; font-style: normal; }
.auth-brand .mark { height: 22px; width: auto; flex: none; display: block; }

/* ===== Ajustes ===== */
main:not(.full):not(.bare) > .st-wrap { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.st-nav { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 2px; }
.st-nav a { padding: 10px 0; font: 500 12px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-decoration: none; border-left: 2px solid transparent; padding-left: 14px; }
.st-nav a:hover { color: var(--ink); border-left-color: var(--line); }
.st-body { min-width: 0; }
.st-note { margin: 0 0 24px; padding: 14px 18px; background: var(--column); border-left: 2px solid var(--ink); font-size: 15px; }
.st-note.error { border-left-color: var(--danger); }
.st-sec { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); padding: clamp(32px, 4vw, 48px) 0; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.st-form > .st-sec:first-child, .st-body > .st-note + .st-form > .st-sec:first-child { border-top: 0; padding-top: 8px; }
.st-side h2 { font: 400 26px/1.15 var(--serif); margin: 0; letter-spacing: 0; text-transform: none; }
.st-side p { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.st-main { display: flex; flex-direction: column; gap: 24px; min-width: 0; max-width: 560px; }
.st-field { display: flex; flex-direction: column; gap: 6px; }
.st-field > span { font: 500 12px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.st-field input, .st-field textarea, .st-link input { font: 400 16px/1.5 var(--font) !important; color: var(--ink); background: transparent !important; border: 0 !important;
  border-bottom: 1px solid var(--line) !important; border-radius: 0 !important; padding: 10px 0 !important; width: 100%; box-shadow: none !important; outline: none; }
.st-field textarea { resize: vertical; min-height: 96px; }
.st-field input:focus, .st-field textarea:focus, .st-link input:focus { border-bottom-color: var(--ink) !important; }
.st-hint { font-size: 13px; color: var(--muted); margin: 0; }
.st-avatar { display: flex; align-items: center; gap: 24px; }
.st-avatar .avatar { width: 96px; height: 96px; object-fit: cover; flex: none; }
.st-avatar .st-hint { margin-top: 10px; }
.st-file { position: relative; cursor: pointer; overflow: hidden; }
.st-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
.st-file:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
.st-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 28px; }
.st-link { display: flex; align-items: flex-end; gap: 12px; }
.st-link-ico { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 999px !important; color: var(--ink); margin-bottom: 4px; }
.st-link-ico svg { width: 16px; height: 16px; }
.st-link-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.st-link-txt > span { font: 500 11px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.st-switch { display: flex; align-items: center; justify-content: space-between; gap: 24px; cursor: pointer; }
.st-switch strong { display: block; font-weight: 500; font-size: 16px; }
.st-switch small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.st-switch input { appearance: none !important; -webkit-appearance: none !important; flex: none; width: 44px !important; height: 26px !important; border-radius: 999px !important; border: 0 !important; background: var(--line) !important; position: relative; cursor: pointer; transition: background .15s; margin: 0; padding: 0 !important; }
.st-switch input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .3); transition: left .15s; }
.st-switch input:checked { background: var(--ink) !important; }
.st-switch input:checked::after { left: 21px; background: var(--base); }
.st-switch input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.st-save { position: sticky; bottom: 0; z-index: 5; display: flex; justify-content: flex-end; padding: 16px 0; margin-bottom: 8px; background: linear-gradient(to top, var(--base) 70%, transparent); border-top: 0; }
.st-inline { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.st-inline .st-field { width: 100%; }
.st-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); width: 100%; }
.st-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.st-li-main { font-weight: 500; }
.st-li-sub { color: var(--muted); font-size: 14px; }
.st-list form { margin: 0; }
.st-sub { font: 500 12px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 16px 0 -12px; }
.st-empty { color: var(--muted); margin: 0; }
.st-danger .st-side h2 { color: var(--danger); }
.danger-pill { background: transparent !important; color: var(--danger) !important; border: 1px solid var(--danger) !important; }
.danger-pill:hover { background: var(--danger) !important; color: #fff !important; }
@media (max-width: 960px) {
  main:not(.full):not(.bare) > .st-wrap { grid-template-columns: minmax(0, 1fr); }
  .st-nav { position: static; flex-direction: row; overflow-x: auto; gap: 18px; scrollbar-width: none; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
  .st-nav a { border-left: 0; padding: 12px 0; white-space: nowrap; }
  .st-sec { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 560px) { .st-links { grid-template-columns: minmax(0, 1fr); } .st-avatar .avatar { width: 72px; height: 72px; } }
.st-main > .pill, .st-main > button { align-self: flex-start; }
.st-main { max-width: 640px; }
.st-nav a.on { color: var(--ink); border-left-color: var(--ink); }
@media (max-width: 960px) { .st-nav a.on { box-shadow: inset 0 -2px 0 var(--ink); } }
.st-avatar > div { display: flex; flex-direction: column; align-items: flex-start; } .st-file { width: auto !important; }
.journal-item { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.journal-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.journal-acts form { margin: 0; margin-left: auto; }
.journal-acts .pill { min-height: 36px !important; height: 36px; padding: 0 16px; font-size: 11px; }

/* ===== Modal de confirmação do site ===== */
.gm { border: 0; padding: 0; width: min(480px, calc(100vw - 32px)); background: var(--base); color: var(--ink); border-radius: 0; box-shadow: 0 24px 80px rgb(0 0 0 / .35); }
.gm::backdrop { background: rgb(10 10 10 / .55); backdrop-filter: blur(2px); }
.gm[open] { animation: gm-in .16s ease-out; }
@keyframes gm-in { from { opacity: 0; transform: translateY(8px); } }
.gm-in { padding: clamp(28px, 4vw, 40px); display: flex; flex-direction: column; gap: 16px; margin: 0; }
.gm h2 { font: 400 30px/1.15 var(--serif); margin: 0; }
.gm-msg { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.gm-word { margin-top: 8px; }
.gm-word > span { text-transform: none !important; letter-spacing: 0 !important; font: 400 14px/1.4 var(--font) !important; color: var(--muted); }
.gm-word strong { color: var(--ink); font-weight: 600; }
.gm-word input { font: 400 16px/1.5 var(--font); border: 0; border-bottom: 1px solid var(--line); padding: 10px 0; background: transparent; color: var(--ink); outline: none; width: 100%; }
.gm-word input:focus { border-bottom-color: var(--ink); }
.gm-acts { display: flex; flex-direction: row-reverse; justify-content: flex-start; gap: 10px; margin-top: 12px; }
.gm-acts .pill:disabled { opacity: .35; cursor: default; background: transparent !important; color: var(--danger) !important; }

/* Journal: botões dos cartões centralizados */
.journal-acts .pill { display: inline-flex !important; align-items: center; justify-content: center; line-height: 1 !important; padding-top: 0 !important; padding-bottom: 0 !important; box-sizing: border-box; }

/* Interruptor dos ajustes: bolinha redonda e centrada */
.st-switch input::after { border-radius: 50% !important; top: 3px !important; left: 3px !important; width: 20px !important; height: 20px !important; }
.st-switch input:checked::after { left: 21px !important; }

/* Interruptor único do site: o checkbox fica invisível e um elemento próprio desenha o trilho (funciona no Safari) */
.st-switch input, .se-switch input { position: absolute !important; opacity: 0 !important; width: 1px !important; height: 1px !important; margin: 0 !important; pointer-events: none; }
.st-switch input::after, .se-switch input::after { content: none !important; }
.st-switch, .se-switch { position: relative; }
.tg { position: relative; flex: none; width: 44px; height: 26px; border-radius: 999px !important; background: var(--line); transition: background .15s; cursor: pointer; }
.tg::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50% !important; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .3); transition: transform .15s; }
input:checked + .tg { background: var(--ink); }
input:checked + .tg::after { transform: translateX(18px); background: var(--base); }
input:focus-visible + .tg { outline: 2px solid var(--ink); outline-offset: 2px; }
.me-menu .menu-panel hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.story-bar .me-menu > summary .avatar { width: 36px; height: 36px; box-shadow: 0 0 0 2px rgb(255 255 255 / .8); }
.story-bar .menu-panel { color: var(--ink); text-shadow: none; }
.story-bar .menu-panel a { color: var(--ink) !important; }

/* ===== Seletor de foco (capa e foto única): a foto inteira, o ponto e as molduras ===== */
.fp { border-radius: 0 !important; background: var(--well); overflow: visible !important; height: auto !important; aspect-ratio: auto !important; }
.fp-stage { position: relative; width: 100%; margin: 0 auto; touch-action: none; cursor: crosshair; user-select: none; }
.fp-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain !important; object-position: center !important; display: block; pointer-events: none; }
.fp-stage .dot { position: absolute; z-index: 3; width: 26px; height: 26px; translate: -50% -50%; border-radius: 999px !important; border: 2px solid #fff; box-shadow: 0 0 0 1px rgb(0 0 0 / .4), 0 2px 8px rgb(0 0 0 / .4); background: rgb(255 255 255 / .2); pointer-events: none; }
.fp-frame { position: absolute; z-index: 2; border: 1.5px solid #fff; box-shadow: 0 0 0 9999px rgb(0 0 0 / .35); pointer-events: none; }
.fp-frame + .fp-frame { border-style: dashed; box-shadow: none; }
.fp-frame::after { content: attr(data-label); position: absolute; left: 6px; top: 6px; font: 500 10px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 3px rgb(0 0 0 / .6); }
.fp-frame[data-label=""]::after { content: none; }
.se-ratios { display: flex; flex-wrap: wrap; gap: 2px; background: var(--column); padding: 3px; border-radius: 999px !important; }
.se-ratios button { flex: 1; height: 38px; border: 0; background: transparent; border-radius: 999px !important; font: 500 12px/1 var(--font); color: var(--ink); cursor: pointer; }
.se-ratios button[aria-checked="true"] { background: var(--ink); color: var(--base); }

/* Foto única recortada (leitor e editor) */
.sb.photo.crop img { aspect-ratio: var(--cr); object-fit: cover; width: 100%; height: auto; }
.sb.photo.crop.r-1x1 { --cr: 1 / 1; } .sb.photo.crop.r-4x5 { --cr: 4 / 5; } .sb.photo.crop.r-3x2 { --cr: 3 / 2; } .sb.photo.crop.r-16x9 { --cr: 16 / 9; }
.sb.photo.crop.r-4x5 img, .sb.photo.crop.r-1x1 img { max-height: 90vh; width: auto; max-width: 100%; margin-left: auto; margin-right: auto; display: block; }

/* Cabeçalho: todos os links com a mesma caixa (o ativo não sobe), ícones centrados na linha */
.bar .bar-left, .bar .bar-right, .bar .bar-nav { align-items: center !important; }
.bar .bar-nav .nav-main { display: inline-flex; align-items: center; height: 32px; padding: 0 !important; margin: 0 !important; line-height: 1 !important; border: 0 !important; box-shadow: inset 0 -2px 0 transparent !important; }
.bar .bar-nav .nav-main[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--ink) !important; }
.bar .bar-right { display: flex; gap: 20px !important; }
.bar .inbox-link, .bar .me-menu > summary { height: 36px; display: inline-flex !important; align-items: center; justify-content: center; }
.bar .inbox-link svg { display: block; }
.bar .me-menu > summary .avatar { display: block; }
.bar .me-menu > summary { line-height: 0; } .bar .me-menu > summary .avatar { display: grid !important; place-items: center; line-height: 1; vertical-align: top; margin: 0; }

/* Recorte do avatar */
.crop-dlg { width: min(520px, calc(100vw - 32px)); }
.crop-stage { position: relative; width: 100%; aspect-ratio: 1; background: var(--well); overflow: hidden; touch-action: none; }
.crop-stage canvas { width: 100%; height: 100%; display: block; cursor: grab; }
.crop-stage canvas:active { cursor: grabbing; }
.crop-stage::after { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 9999px rgb(0 0 0 / .45); pointer-events: none; }
.crop-zoom { display: flex; align-items: center; gap: 14px; font: 500 12px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.crop-zoom input { flex: 1; accent-color: var(--ink); }
.crop-stage { width: min(100%, 56vh); margin: 0 auto; }
.crop-stage::after { border-radius: 50% !important; }
.st-note.ok { color: var(--ink); }
.fp-stage { overflow: hidden; isolation: isolate; } .fp { overflow: hidden !important; }

/* ===== Planos ===== */
.plan-usage { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 4px 0 0; font: 500 12px/1.4 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.plan-usage a { color: var(--ink); }
.limit-note { margin-top: 20px; }
.plan-box { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.plan-name { font: 400 30px/1.1 var(--serif); }
.pro-badge { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px !important; background: var(--ink); color: var(--base);
  font: 600 10px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; vertical-align: middle; }
.pl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); margin-top: 8px; }
.pl-card { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 10px; border-left: 1px solid var(--line); }
.pl-card:first-child { border-left: 0; }
.pl-card.pro { background: transparent; }
.pl-card.current { box-shadow: inset 0 3px 0 var(--ink); }
.pl-price { font: 400 44px/1 var(--serif); }
.pl-price small { font: 400 15px/1 var(--font); color: var(--muted); margin-left: 4px; }
.pl-year { color: var(--muted); font-size: 14px; }
.pl-blurb { margin: 8px 0 12px; font-size: 16px; line-height: 1.5; flex: 1; }
.pl-cta { align-self: flex-start; }
.pl-soon { cursor: default; color: var(--muted) !important; border-color: var(--line) !important; }
.pl-table-wrap { margin-top: clamp(40px, 5vw, 64px); overflow-x: auto; }
.pl-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.pl-table th, .pl-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: center; }
.pl-table thead th { font: 500 12px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pl-table tbody th { text-align: left; font-weight: 400; }
.pl-notes { margin-top: 32px; color: var(--muted); max-width: 70ch; }
.adm-plan { flex-direction: row !important; flex-wrap: wrap; align-items: flex-end !important; }
.adm-plan .st-field { width: auto !important; min-width: 180px; }
.adm-h { margin-top: 40px; }
@media (max-width: 860px) { .pl-grid { grid-template-columns: minmax(0, 1fr); } .pl-card { border-left: 0; border-top: 1px solid var(--line); } .pl-card:first-child { border-top: 0; } }

/* Fase 1: destaque, visitas e estatísticas */
.journal-meta { margin: -4px 0 0; font: 500 11px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; }
.journal-meta a { color: var(--muted); text-decoration: none; }
.journal-meta a:hover { color: var(--ink); }
.journal-acts .pill.on { background: var(--ink) !important; color: var(--base) !important; }
.pf-featured { margin-top: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.pf-featured > .eyebrow { grid-column: 1 / -1; margin: 0; }
.pf-feat { position: relative; display: block; color: #fff; text-decoration: none; overflow: hidden; background: var(--well); aspect-ratio: 4 / 3; }
.pf-feat.lead { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.pf-feat-img, .pf-feat-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-feat::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / .65), transparent 55%); }
.pf-feat-txt { position: absolute; z-index: 1; left: clamp(16px, 3vw, 32px); right: 16px; bottom: clamp(16px, 3vw, 28px); display: flex; flex-direction: column; gap: 6px; }
.pf-feat-txt strong { font: 400 clamp(26px, 3.4vw, 44px)/1.05 var(--serif); }
.pf-feat:not(.lead) .pf-feat-txt strong { font-size: clamp(22px, 2.4vw, 30px); }
.pf-feat-txt em { font: italic 400 16px/1.3 var(--serif); opacity: .85; }
@media (max-width: 720px) { .pf-featured { grid-template-columns: minmax(0, 1fr); } .pf-feat.lead { aspect-ratio: 4 / 3; } }
.ss-sec { margin-top: clamp(28px, 4vw, 48px); }
.ss-bars { display: flex; align-items: flex-end; gap: 3px; height: 160px; border-bottom: 1px solid var(--line); }
.ss-bar { flex: 1; background: var(--ink); min-height: 1px; }
.ss-axis { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; margin-top: 6px; }
.ss-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 64px); }
@media (max-width: 720px) { .ss-cols { grid-template-columns: minmax(0, 1fr); } }
.read-mark { position: absolute; left: 0; width: 1px; height: 1px; pointer-events: none; }
.plan-tag { display: inline-flex; align-items: center; height: 16px; padding: 0 6px; margin-left: 6px; border: 1px solid currentColor; border-radius: 999px !important;
  font: 600 8.5px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; opacity: .7; vertical-align: middle; }
.pf-feat { width: 100% !important; max-width: none !important; justify-self: stretch; }

/* ===== Fase 2: Pro nas páginas ===== */
.story-credits { max-width: 680px; margin: 40px auto 0; padding: 0 var(--pad); color: var(--muted); font-size: 14px; }
.story-credits h4 { font: 500 12px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 8px; color: var(--muted); }
.story-credits p { margin: 0 0 8px; white-space: pre-line; }
.story-rights { font-size: 13px; }
.story-preview-note { max-width: 680px; margin: 32px auto 0; padding: 12px var(--pad); text-align: center; font: 500 12px/1.4 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.story-pdf { max-width: 760px; margin: 24px auto 0; padding: 0 var(--pad); }
.story-foot-min { height: clamp(48px, 8vw, 96px); }
.sub-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin-top: 24px; max-width: 520px; }
.sub-form label { flex: 1 1 240px; display: flex; flex-direction: column; gap: 6px; }
.sub-form label > span { font: 500 11px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sub-form input[type=email] { font: 400 16px/1.5 var(--font); border: 0; border-bottom: 1px solid var(--line); padding: 8px 0; background: transparent; color: var(--ink); outline: none; }
.sub-form input[type=email]:focus { border-bottom-color: var(--ink); }
.sub-done { margin-top: 20px; color: var(--muted); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.se-pro-fields { border: 0; padding: 0; margin: 0; display: grid; gap: 16px; }
.se-pro-fields[disabled] { opacity: .45; }
.se-pro-fields select, .se-pro-fields textarea, .se-pro-fields input:not([type=checkbox]) { font: 400 15px/1.5 var(--font); border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); padding: 8px 0; width: 100%; outline: none; border-radius: 0; }
.se-share { display: grid; gap: 8px; }
.se-share-h { font: 500 11px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.se-share-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.se-share-list li { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; font-size: 12px; }
.se-share-list input { font-size: 12px !important; }
.se-pro .pill { justify-self: start; }
.adm-verify li { align-items: flex-start; }
.av-main { flex: 1 1 360px; display: flex; flex-direction: column; gap: 4px; }
.av-evidence { margin: 6px 0 0; white-space: pre-line; font-size: 14px; }
.av-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.av-acts input { font: 400 14px/1.4 var(--font); border: 0; border-bottom: 1px solid var(--line); padding: 6px 0; background: transparent; color: var(--ink); }

/* Exportar em PDF: só a história, sem barras, botões e rodapé */
@media print {
  .story-bar, .story-cta, .story-foot-min, .story-fab, .story-more, .story-report, .story-pdf, .sub-form, .story-news, .story-author .page-actions, .skip, .gm { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
  .story, .story * { box-shadow: none !important; }
  .story-cover { min-height: 0 !important; height: 100vh; page-break-after: always; }
  .sb { page-break-inside: avoid; }
  .sb.photo.px { height: auto !important; }
  .sb.photo.px img { height: auto !important; object-fit: contain !important; }
  .sreveal { opacity: 1 !important; transform: none !important; }
}
.gm-word[hidden], [data-gm-wordbox][hidden] { display: none !important; }

/* ===== Perfil e autor: identidade centralizada (12/11/2026) ===== */
.pf-head { flex-direction: column; align-items: center; text-align: center; gap: 0; padding-top: clamp(40px, 6vw, 80px); }
.pf-head .avatar { width: 120px; height: 120px; margin: 0 0 24px; }
.pf-head .who { display: flex; flex-direction: column; align-items: center; max-width: 640px; }
.pf-head h1 { display: inline-flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.pf-head .page-lead { margin: 14px auto 0; max-width: 52ch; }
.pf-head .social-links { justify-content: center; margin-top: 24px; }
.pf-head .page-actions { justify-content: center; margin-top: 28px; gap: 12px; }
.pf-head { border-bottom: 1px solid var(--line); padding-bottom: clamp(40px, 5vw, 64px); margin-bottom: clamp(24px, 4vw, 40px); }

.story-author { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 0; }
.story-author .avatar { width: 96px; height: 96px; margin-bottom: 20px; }
.story-author .sa-body { display: flex; flex-direction: column; align-items: center; }
.story-author h2 { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }
.story-author .sa-bio { margin-left: auto; margin-right: auto; }
.story-author .social-links, .story-author .page-actions { justify-content: center; }
.story-report { text-align: center; width: 100%; }
.story-report .report[open] form { text-align: left; max-width: 420px; margin: 0 auto; }

.pro-badge { height: 24px; padding: 0 10px 0 8px; gap: 5px; font-size: 11px; }
.pro-badge svg { width: 12px; height: 12px; }
.story-cover .byline .pro-badge { height: 20px; font-size: 10px; margin-left: 6px; background: #fff; color: #0b0b0b; text-shadow: none; }
.story-cover.simple .byline .pro-badge, .story-cover:not(.with-photo) .byline .pro-badge { background: var(--ink); color: var(--base); }

/* ===== Frame Story Pro: faixa da home e página /pro ===== */
.pro-band { background: #0b0b0b; color: #fff; padding: clamp(64px, 9vw, 120px) var(--pad); }
.pro-band-in { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.pro-band .eyebrow { color: rgb(255 255 255 / .6); }
.pro-band h2 { font: 400 clamp(32px, 4.4vw, 52px)/1.08 var(--serif); margin: 12px 0 20px; }
.pro-band-copy > p:not(.eyebrow):not(.x-cta) { color: rgb(255 255 255 / .75); font-size: 17px; line-height: 1.6; max-width: 44ch; }
.pro-band .x-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pro-band-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid rgb(255 255 255 / .18); }
.pro-band-list li { padding: 22px 24px 22px 0; border-bottom: 1px solid rgb(255 255 255 / .18); display: flex; flex-direction: column; gap: 6px; }
.pro-band-list strong { font: 500 16px/1.3 var(--font); }
.pro-band-list span { color: rgb(255 255 255 / .65); font-size: 14px; line-height: 1.55; }
@media (max-width: 860px) { .pro-band-in { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .pro-band-list { grid-template-columns: 1fr; } }

.pro-hero { text-align: center; max-width: 820px; margin: 0 auto; padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 6vw, 72px); }
.pro-hero h1 { font: 400 clamp(40px, 6vw, 76px)/1.04 var(--serif); margin: 14px 0 20px; }
.pro-hero .page-lead { margin: 0 auto; max-width: 56ch; }
.pro-hero .x-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.pro-who { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pro-who > div { padding: clamp(24px, 3vw, 36px) clamp(16px, 2vw, 28px); border-left: 1px solid var(--line); }
.pro-who > div:first-child { border-left: 0; padding-left: 0; }
.pro-who h2 { font: 400 22px/1.2 var(--serif); margin: 0 0 8px; }
.pro-who p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.pro-feats { margin-top: clamp(56px, 8vw, 96px); }
.pro-feats ol { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 72px); }
.pro-feats li { display: grid; grid-template-columns: 48px 1fr; row-gap: 6px; padding: 24px 0; border-top: 1px solid var(--line); }
.pro-feats li .how-n { grid-row: span 2; color: var(--muted); font-size: 13px; padding-top: 3px; }
.pro-feats li strong { font: 400 22px/1.25 var(--serif); }
.pro-feats li > span:last-child { color: var(--muted); font-size: 15px; line-height: 1.55; }
.pro-price { margin: clamp(56px, 8vw, 96px) 0 clamp(64px, 9vw, 112px); }
.pro-price-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); margin-top: 16px; }
.pro-price-card { display: flex; flex-direction: column; gap: 10px; padding: clamp(24px, 3vw, 36px); border-left: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.pro-price-card:first-child { border-left: 0; }
.pro-price-card.pro { background: var(--ink); color: var(--base); }
.pro-price-card.pro .eyebrow { color: inherit; opacity: .7; }
.pro-price-card > span:last-child { font-size: 15px; line-height: 1.5; opacity: .8; }
.pro-price .pl-notes { margin-top: 20px; color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .pro-who { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pro-who > div:nth-child(3) { border-left: 0; padding-left: 0; } .pro-feats ol, .pro-price-row { grid-template-columns: 1fr; } .pro-price-card { border-left: 0; border-top: 1px solid var(--line); } .pro-price-card:first-child { border-top: 0; } }
@media (max-width: 520px) { .pro-who { grid-template-columns: 1fr; } .pro-who > div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } }

/* ===== Card de story (12/11/2026): capa + painel preto ===== */
.st-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(16px, 2vw, 24px); }
.st-card { --cd-bg: #0b0b0b; --cd-fg: #fff; --cd-mu: rgb(255 255 255 / .72); gap: 0; background: var(--cd-bg); color: var(--cd-fg); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .st-card { --cd-bg: #f4f4f2; --cd-fg: #0b0b0b; --cd-mu: rgb(11 11 11 / .66); } }
:root[data-theme="dark"] .st-card { --cd-bg: #f4f4f2; --cd-fg: #0b0b0b; --cd-mu: rgb(11 11 11 / .66); }
.st-card-img { aspect-ratio: 4 / 3; background: #1a1a1a; }
.st-card-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 1fr auto; column-gap: 20px; row-gap: 28px;
  padding: clamp(20px, 2.4vw, 28px); min-height: 190px; }
.st-card-title { font: 600 clamp(20px, 1.9vw, 26px)/1.05 var(--font); text-transform: uppercase; letter-spacing: .01em; margin: 0; color: var(--cd-fg); }
.st-card-sub { font-size: 14px; line-height: 1.45; color: var(--cd-mu); }
.st-card-meta { display: flex; align-items: center; gap: 10px; align-self: end; font-size: 12px; color: var(--cd-mu); min-width: 0; }
.st-card-meta span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-card-meta .avatar { width: 28px; height: 28px; flex-shrink: 0; }
.st-card-go { align-self: end; display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; }
.st-card-go svg { width: 11px; height: 11px; transition: transform .25s ease; }
.st-card:hover .st-card-go svg { transform: translate(2px, -2px); }
.st-card:hover .st-card-title { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ===== Stories no modo escuro (12/11/2026): seguem o tema do site ===== */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) :is(.story, .story-editor) {
    --base: #0e0e0e; --column: #181818; --line: #2a2a2a; --ink: #ededed; --muted: #a3a3a3; --well: #1c1c1c; --paper: #181818;
    --s-base: #0e0e0e; color-scheme: dark;
  }
}
:root[data-theme="dark"] :is(.story, .story-editor) {
  --base: #0e0e0e; --column: #181818; --line: #2a2a2a; --ink: #ededed; --muted: #a3a3a3; --well: #1c1c1c; --paper: #181818;
  --s-base: #0e0e0e; color-scheme: dark;
}

/* /pro no padrão das outras páginas */
.pro-who { margin-top: clamp(24px, 4vw, 40px); }
.pro-who h2, .pro-feats li strong { font: 500 17px/1.3 var(--font); }
.pro-note { margin-top: 20px; color: var(--muted); font-size: 14px; }
.pro-note a { color: var(--ink); }
.pro-feats > .eyebrow, .pro-price > .eyebrow { font-family: var(--font) !important; font-style: normal; }

/* Ajustes: marca do Pro */
.st-color input[type=color] { width: 64px; height: 40px; padding: 0; border: 1px solid var(--line); background: none; cursor: pointer; }
.st-fonts { border: 0; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.st-fonts legend { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.st-font { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); cursor: pointer; }
.st-font input { position: absolute; opacity: 0; }
.st-font:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.st-font:has(input:focus-visible) { outline: 2px solid var(--focus, var(--ink)); outline-offset: 2px; }
.st-font > span { font-size: 22px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-font small { color: var(--muted); font-size: 12px; }
.bf-serif { font-family: "EB Garamond", Georgia, serif; }
.bf-sans { font-family: "DM Sans", Arial, sans-serif; }
.bf-display { font-family: "Playfair Display", Georgia, serif; font-weight: 700; }
.bf-book { font-family: Lora, Georgia, serif; }
.bf-mono { font-family: "IBM Plex Mono", monospace; }

/* Mockup da página na home, no estilo atual (perfil centralizado, cards com painel) */
.site-mock-bar span:last-child { letter-spacing: 2px; color: #c9c9c9; }
.site-mock-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: clamp(14px, 2vw, 24px) 0 clamp(16px, 2.2vw, 26px); border-bottom: 1px solid #e6e6e6; margin-bottom: clamp(12px, 1.6vw, 18px); }
.site-mock-av { width: clamp(40px, 4.4vw, 56px); aspect-ratio: 1; border-radius: 50%; background: linear-gradient(135deg, #d8d8d8, #8a8a8a); }
.site-mock-head .site-mock-name { margin: 2px 0 0; display: inline-flex; align-items: center; gap: 8px; }
.site-mock-head .pro-badge { background: #0a0a0a; color: #fff; height: 18px; font-size: 9px; padding: 0 7px 0 6px; }
.site-mock-bio { font-size: 11px; color: #6b6a65; }
.site-mock-head .site-mock-sub { border-radius: 999px; padding: 5px 14px; margin-top: 4px; font-size: 10px; }
.site-mock-card { aspect-ratio: auto; background: #0a0a0a; display: flex; flex-direction: column; }
.site-mock-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.site-mock-card .site-mock-panel { position: static; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 10px 10px 12px; min-height: 74px; text-shadow: none; color: #fff; }
.site-mock-card .site-mock-panel strong { font: 600 clamp(10px, .95vw, 13px)/1.1 var(--font); text-transform: uppercase; letter-spacing: .01em; }
.site-mock-card .site-mock-panel em { font: 600 8px/1 var(--font); font-style: normal; letter-spacing: .16em; text-transform: uppercase; opacity: .9; }
.site-mock-av, .site-mock-head .site-mock-sub { border-radius: 999px !important; }
.site-mock-grid { align-items: start; }
.site-mock-card { aspect-ratio: auto !important; overflow: visible; }
.site-mock-img { position: relative; width: 100%; }
.site-mock-img img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; }
.site-mock-card .site-mock-panel { position: static !important; inset: auto !important; }

/* Foto vertical (qualquer foto mais alta que larga): cabe na tela, centralizada */
.sb.photo[data-orient="portrait"]:not(.px) img { width: auto; max-width: min(760px, 100%); max-height: 90svh; margin: 0 auto; padding: 0 var(--gutter, 20px); box-sizing: content-box; }

/* ===== Hover dos botões (12/11/2026): todo botão responde ao mouse ===== */
.pill, .sb-pill, .bar-signup { transition: opacity .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease, border-color .18s ease, transform .12s ease; }
@media (hover: hover) {
  /* cheios (preto, branco ou cor da marca): clareiam um pouco */
  .pill.accent:hover, .pill.light:hover, .pill.dark:hover, .sc-btn:hover, .sb-pill:hover, .bar-signup:hover,
  .pill:not(.ghost):not(.ghost-light):not(.link):not(.pl-soon):not([aria-disabled="true"]):not([aria-current]):hover { opacity: .82; }
  /* contorno: ganha fundo leve e borda forte */
  .pill.ghost:not(.pl-soon):not([aria-disabled="true"]):not([aria-current]):hover { opacity: 1; background: var(--well) !important; box-shadow: inset 0 0 0 1px var(--ink) !important; border-color: var(--ink) !important; }
  .pill.ghost-light:hover { opacity: 1; background: rgb(255 255 255 / .18) !important; border-color: #fff !important; }
}
.pill:not(.pl-soon):not([aria-disabled="true"]):active { transform: scale(.97); }

/* Galeria: linha com uma foto só fica centralizada e cabe na tela (como o bloco de foto) */
.sb.gallery .row.is-row { justify-content: center; }
.sb.gallery .row.is-row > a:only-child { flex: 0 1 auto !important; max-width: 100%; }
.sb.gallery .row.is-row > a:only-child img { width: auto; max-width: 100%; max-height: 90svh; margin: 0 auto; }

/* ===== Selo Pro verificado (roseta) e credencial ===== */
.pro-seal { display: inline-block; width: .42em; height: .42em; min-width: 14px; min-height: 14px; margin-left: .18em; vertical-align: .62em;
  color: var(--ink); flex-shrink: 0; }
.pro-seal .ps-bg { fill: currentColor; stroke: currentColor; stroke-width: 1.2; }
.pro-seal .ps-ck { stroke: var(--base); }
h1 .pro-seal, h2 .pro-seal { vertical-align: .55em; }
.pf-head h1, .story-author h2 { display: inline-block !important; }
.pro-cred { display: inline-flex; align-items: center; gap: 10px; margin: 14px 0 0; padding: 7px 14px; border: 1px solid var(--ink);
  border-radius: 999px !important; font: 600 11px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.pro-cred span[aria-hidden] { opacity: .45; }
.pf-head .pro-cred { margin-top: 18px; }
.story-author .pro-cred { margin: 12px 0 2px; }
/* avatar do Pro: anel fino */
.pf-head:has(.pro-seal) .avatar, .story-author:has(.pro-seal) .avatar { box-shadow: 0 0 0 4px var(--base), 0 0 0 5.5px var(--ink); }
/* na capa da história: selo pequeno, claro sobre a foto */
.story-cover .byline .pro-seal { width: 15px; height: 15px; min-width: 15px; min-height: 15px; margin-left: 6px; vertical-align: -2px; color: #fff; filter: drop-shadow(0 1px 4px rgb(0 0 0 / .4)); }
.story-cover .byline .pro-seal .ps-ck { stroke: #0a0a0a; }
.story-cover.simple .byline .pro-seal, .story-cover:not(.with-photo) .byline .pro-seal { color: var(--ink); filter: none; }
.story-cover.simple .byline .pro-seal .ps-ck, .story-cover:not(.with-photo) .byline .pro-seal .ps-ck { stroke: var(--base); }
.site-mock-head .pro-seal { width: 14px; height: 14px; margin-left: 5px; vertical-align: 6px; color: #0a0a0a; }
.site-mock-head .pro-seal .ps-ck { stroke: #fff; }
h1 .pro-seal, h2 .pro-seal { vertical-align: .42em; width: .4em; height: .4em; margin-left: .14em; }

/* Tabela de planos no celular: as três colunas cabem sem rolar */
@media (max-width: 560px) {
  .pl-table { width: 100%; table-layout: fixed; font-size: 13px; }
  .pl-table th, .pl-table td { padding: 12px 4px !important; }
  .pl-table tbody th { width: 40%; padding-left: 0 !important; }
  .pl-table thead th { font-size: 10px; letter-spacing: .08em; }
}

.feat-move { display: inline-flex; gap: 4px; }
.feat-move form { margin: 0; }
.pill.icon { width: 36px; height: 36px; padding: 0 !important; justify-content: center; font-size: 15px; }
.pill.icon:disabled { opacity: .35; cursor: default; }
.photo-credit { color: var(--muted); font-size: 13px; margin: 6px 0 0; }
.sb figcaption .credit { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); font-style: normal; }
.se-share-new { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: end; margin-top: 10px; }
.se-share-new .pill { grid-column: 1 / -1; justify-self: start; }

.st-card-meta .pro-seal { width: 13px; height: 13px; min-width: 13px; min-height: 13px; margin-left: -4px; vertical-align: 0; color: currentColor; }
.st-card-meta .pro-seal .ps-ck { stroke: var(--cd-bg); }
.person strong .pro-seal, .person-card strong .pro-seal { width: 14px; height: 14px; min-width: 14px; min-height: 14px; margin-left: 5px; vertical-align: -1px; }

.mt-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); margin: 8px 0 clamp(32px, 5vw, 56px); }
.mt-stat { display: flex; flex-direction: column; gap: 8px; padding: clamp(18px, 2.4vw, 28px); border-left: 1px solid var(--line); }
.mt-stat:first-child { border-left: 0; }
.mt-stat strong { font: 400 clamp(28px, 3.4vw, 40px)/1 var(--serif); }
.mt-stat small { color: var(--muted); font-size: 13px; line-height: 1.4; }
@media (max-width: 760px) { .mt-grid { grid-template-columns: 1fr 1fr; } .mt-stat:nth-child(3) { border-left: 0; } .mt-stat:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ===== Journal: faixa "Em destaque no perfil" ===== */
.feat-board { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(20px, 3vw, 32px) 0; margin: 0 0 clamp(28px, 4vw, 44px); }
.feat-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 18px; }
.feat-head .eyebrow { margin: 0; font-family: var(--font) !important; font-style: normal; }
.feat-head p { margin: 0; color: var(--muted); font-size: 14px; }
.feat-slots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--slots, 3), minmax(0, 1fr)); gap: clamp(12px, 2vw, 20px); }
.feat-slot { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto auto; column-gap: 12px; row-gap: 10px; align-items: center; }
.feat-n { grid-row: 1; font: 500 12px/1 var(--font); letter-spacing: .14em; color: var(--muted); }
.feat-img { grid-column: 1 / -1; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--well); }
.feat-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feat-title { grid-column: 1 / -1; font: 400 19px/1.25 var(--serif); }
.feat-tools { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; }
.feat-tools form { margin: 0; }
.feat-tools .link { margin-left: auto; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; cursor: pointer; padding: 0 0 0 6px; }
.feat-tools form:last-child { margin-left: auto; }
.feat-slot.is-empty .feat-img { background: transparent; border: 1px dashed var(--line); }
.feat-slot.is-empty .feat-title { color: var(--muted); font-size: 15px; font-family: var(--font); }
.feat-toggle.on { box-shadow: inset 0 0 0 1px var(--ink) !important; }
.feat-toggle:disabled { opacity: .45; cursor: default; }
@media (max-width: 640px) { .feat-slots { grid-template-columns: 1fr; } .feat-slot { grid-template-columns: 28px 96px 1fr; grid-template-rows: auto auto; } .feat-n { grid-row: 1 / span 2; } .feat-img { grid-column: 2; grid-row: 1 / span 2; } .feat-title, .feat-tools { grid-column: 3; } }
.feat-slots.n1 { grid-template-columns: minmax(0, 360px); }
.feat-slots.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feat-slots.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .feat-slots.n1, .feat-slots.n2, .feat-slots.n3 { grid-template-columns: 1fr; } }
.feat-slot { display: flex; flex-direction: column; gap: 10px; }
.feat-slot.is-empty .feat-title { margin-top: 0; }
@media (max-width: 640px) { .feat-slot { display: grid; } }
.feat-slot { align-items: stretch; text-align: left; }
.feat-slot .feat-img { width: 100%; }
.feat-tools { justify-content: flex-start; }

.feat-board { scroll-margin-top: 90px; }
.journal-acts .feat-toggle.on { background: transparent !important; color: var(--ink) !important; }

/* ===== Card de história: variações (kicker, wide, mini) e onde substitui os antigos ===== */
.st-card-kicker { grid-column: 1 / -1; font: 600 11px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--cd-mu); margin-bottom: -10px; }
/* destaque principal do perfil: foto grande à esquerda, painel à direita */
.st-card.wide { grid-column: 1 / -1; flex-direction: row; }
.st-card.wide .st-card-img { flex: 3 1 0; aspect-ratio: 16 / 10; }
.st-card.wide .st-card-panel { flex: 2 1 0; grid-template-columns: 1fr; grid-template-rows: auto auto auto 1fr auto; row-gap: 14px; padding: clamp(24px, 3vw, 44px); }
.st-card.wide .st-card-title { font-size: clamp(28px, 3.2vw, 44px); }
.st-card.wide .st-card-sub { font-size: 16px; }
.st-card.wide .st-card-meta { align-self: end; }
@media (max-width: 760px) { .st-card.wide { flex-direction: column; } .st-card.wide .st-card-img, .st-card.wide .st-card-panel { flex: none; } }
.pf-featured { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(16px, 2vw, 24px); }
.pf-featured > .eyebrow { grid-column: 1 / -1; margin: 0; font-family: var(--font) !important; font-style: normal; }
/* Journal: card novo + linha de ações */
.journal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(24px, 3vw, 36px) clamp(16px, 2vw, 24px); }
.journal-item { display: flex; flex-direction: column; gap: 12px; }
.journal-item .journal-meta { margin: 0; }
/* faixa de destaques do Journal: card compacto */
.st-card.mini .st-card-img { aspect-ratio: 16 / 10; }
.st-card.mini .st-card-panel { min-height: 0; row-gap: 16px; padding: 16px 18px; }
.st-card.mini .st-card-title { font-size: 17px; }
.st-card.mini .st-card-sub, .st-card.mini .st-card-meta { display: none; }
.st-card.mini .st-card-go { grid-column: 2; grid-row: 2; justify-self: end; }
.feat-slot { gap: 10px; }
.feat-empty { display: flex; flex-direction: column; justify-content: center; gap: 8px; height: 100%; min-height: 220px; padding: 18px; border: 1px dashed var(--line); color: var(--muted); }
.feat-empty .st-card-kicker { color: var(--muted); margin: 0 0 auto; }
.feat-empty span:not(.st-card-kicker) { font: 600 15px/1.2 var(--font); text-transform: uppercase; letter-spacing: .02em; color: var(--ink); opacity: .5; }
.feat-empty small { font-size: 13px; margin-bottom: auto; }
.feat-slots { align-items: stretch; }
.st-card.mini { flex: 1; }
.st-card.mini .st-card-panel { flex: 1; min-height: 92px; align-content: space-between; }

/* ===== Alinhamento geral ao card novo (12/11/2026) ===== */
.st-grid.compact { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.st-card.compact .st-card-panel { min-height: 120px; padding: 16px 18px; grid-template-columns: 1fr auto; }
.st-card.compact .st-card-title { font-size: 16px; }
.st-card.compact .st-card-sub { display: none; }
.st-lead { margin: clamp(24px, 4vw, 40px) 0 clamp(16px, 2vw, 24px); display: grid; }
/* card do herói da home */
.x-hero .st-card.hero-card { width: min(420px, 100%); box-shadow: 0 30px 70px rgb(0 0 0 / .35); }
.x-hero .st-card.hero-card .st-card-panel { min-height: 150px; }
/* colagem da home: cards com painel preto */
.tl-card { display: flex !important; flex-direction: column; background: #0b0b0b; color: #fff; text-decoration: none; overflow: hidden; }
.tl-card img { flex: 1 1 auto; min-height: 0; width: 100%; object-fit: cover; }
.tl-panel { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; }
.tl-panel strong { font: 600 15px/1.1 var(--font); text-transform: uppercase; letter-spacing: .01em; }
.tl-card .tl-who { position: static !important; display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgb(255 255 255 / .72); background: none !important; padding: 0 !important; }
.tl-card .tl-who .avatar { width: 22px; height: 22px; }
.tl-card .tl-who em { margin-left: auto; font: 600 10px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; font-style: normal; color: #fff; display: inline-flex; gap: 6px; }
.tl-card .tl-who em svg { width: 10px; height: 10px; }
/* cartões de pessoas */
.person-card { border: 1px solid var(--line); padding: 24px 18px 18px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; color: var(--ink); text-decoration: none; transition: border-color .18s ease; }
.person-card:hover { border-color: var(--ink); }
.person-card .avatar { margin-bottom: 8px; }
.person-go { margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; font: 600 11px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; }
.person-go svg { width: 10px; height: 10px; }

/* ===== Card de história: linhas fixas (alinhamento entre cards) ===== */
.st-card { height: 100%; }
.st-card-img { flex: none; }
.st-card-panel { flex: 1 1 auto; display: grid !important; row-gap: 0 !important; column-gap: 20px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  grid-template-rows: auto auto 1fr auto !important;
  grid-template-areas: "kicker kicker" "title sub" "space space" "meta go"; }
.st-card-kicker { grid-area: kicker; margin: 0 0 14px !important; }
.st-card-title { grid-area: title; align-self: start; }
.st-card-sub { grid-area: sub; align-self: start; padding-top: 2px; }
.st-card-meta { grid-area: meta; align-self: end; margin-top: 28px; }
.st-card-go { grid-area: go; align-self: end; margin-top: 28px; }
/* Journal: cards da mesma linha com a mesma altura, ações alinhadas embaixo */
.journal-grid { align-items: stretch; }
.journal-item { height: 100%; }
.journal-item > .st-card { flex: 1 1 auto; height: auto; }
.st-grid { align-items: stretch; }
/* compacto e mini: uma coluna de texto */
.st-card.compact .st-card-panel, .st-card.mini .st-card-panel { grid-template-areas: "kicker kicker" "title title" "space space" "meta go"; }
/* largo (carrossel de destaques): uma coluna */
.st-card.wide .st-card-panel { grid-template-columns: minmax(0, 1fr) auto !important; grid-template-rows: auto auto auto 1fr auto !important;
  grid-template-areas: "kicker kicker" "title title" "sub sub" "space space" "meta go"; }
.st-card.wide .st-card-sub { margin-top: 14px; max-width: 40ch; }

/* ===== Destaques do perfil: carrossel horizontal ===== */
.fc { display: block !important; margin-top: clamp(32px, 5vw, 56px); }
.fc-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.fc-head .eyebrow { margin: 0; font-family: var(--font) !important; font-style: normal; }
.fc-nav { display: flex; align-items: center; gap: 8px; }
.fc-count { font: 500 12px/1 var(--font); letter-spacing: .14em; color: var(--muted); margin-right: 8px; font-variant-numeric: tabular-nums; }
.fc-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; outline: none; }
.fc-track::-webkit-scrollbar { display: none; }
.fc-track:focus-visible { box-shadow: 0 0 0 2px var(--ink); }
.fc-slide { flex: 0 0 100%; scroll-snap-align: start; min-width: 0; }
.fc .st-card.wide { height: auto; }
.fc .st-card.wide .st-card-img { flex: 0 0 62%; aspect-ratio: 16 / 9; }
.fc .st-card.wide .st-card-panel { flex: 1 1 0; }
.fc-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.fc-dots span { width: 6px; height: 6px; border-radius: 999px !important; background: var(--line); transition: background .2s ease, width .2s ease; }
.fc-dots span.on { background: var(--ink); width: 18px; }
@media (max-width: 760px) { .fc .st-card.wide .st-card-img { flex: none; width: 100%; } }
.profile-stories > .eyebrow, .pf-sec, .series-list > .eyebrow, .xp-sec > .eyebrow { font-family: var(--font) !important; font-style: normal; }

/* Todos os títulos de seção (eyebrow) na mesma fonte sem serifa */
.eyebrow, h2.eyebrow, .kicker { font-family: var(--font) !important; font-style: normal !important; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; left: 0 !important; top: auto !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important; }
.sf-theme button { padding: 12px 0; min-height: 44px; }
.reveal { min-height: 40px; padding: 8px 4px !important; }
@media (max-width: 640px) {
  .feat-slot { display: flex !important; flex-direction: column; }
  .feat-slot > * { grid-column: auto !important; grid-row: auto !important; }
  .feat-empty { min-height: 120px; }
}

/* ===== Seletor de cor da marca ===== */
.cp { display: flex; flex-direction: column; gap: 14px; margin-top: 4px; }
.cp-label { font: 500 11px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cp-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cp-swatch { position: relative; width: 48px; height: 48px; flex: none; cursor: pointer; }
.cp-swatch input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; border: 0; padding: 0; }
.cp-chip { display: block; width: 100%; height: 100%; border-radius: 999px !important; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .12), 0 0 0 1px var(--line); pointer-events: none; }
.cp-swatch:focus-within .cp-chip { box-shadow: 0 0 0 2px var(--base), 0 0 0 4px var(--ink); }
.cp-hex { display: inline-flex; align-items: center; gap: 4px; height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px !important; background: var(--base); }
.cp-hex:focus-within { border-color: var(--ink); }
.cp-hex span { color: var(--muted); font: 500 16px/1 ui-monospace, "IBM Plex Mono", monospace; }
.cp-hex input { width: 8ch; border: 0 !important; background: transparent; padding: 0 !important; outline: none; font: 500 16px/1 ui-monospace, "IBM Plex Mono", monospace; letter-spacing: .06em; color: var(--ink); text-transform: uppercase; box-shadow: none !important; }
.cp-hex:has(input[aria-invalid="true"]) { border-color: var(--danger, #c2410c); }
.cp-msg { font-size: 13px; color: var(--danger, #c2410c); }
.cp-presets { display: flex; flex-wrap: wrap; gap: 10px; }
.cp-preset { width: 32px; height: 32px; border-radius: 999px !important; border: 0; padding: 0; cursor: pointer; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .12); transition: transform .12s ease, box-shadow .15s ease; }
.cp-preset:hover { transform: scale(1.08); }
.cp-preset[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--base), 0 0 0 4px var(--ink); }
.cp-preview { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px; border: 1px dashed var(--line); }
.cp-prev-label { font: 500 11px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-right: auto; }
.cp-prev-btn { display: inline-flex; align-items: center; height: 36px; padding: 0 18px; border-radius: 999px !important; font: 600 12px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; background: var(--ink); color: var(--base); }
.cp-prev-cred { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border: 1px solid var(--ink); border-radius: 999px !important; font: 600 10px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; }
.cp-prev-seal .pro-seal { width: 22px; height: 22px; margin: 0; vertical-align: middle; }
.cp-preset { box-shadow: inset 0 0 0 1px rgb(0 0 0 / .12), 0 0 0 1px var(--line); }
.cp-preset[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--base), 0 0 0 4px var(--ink); }
.st-brand { align-items: stretch; }
.st-fonts { width: 100%; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important; }
@media (max-width: 560px) { .st-fonts { grid-template-columns: 1fr 1fr !important; } .cp-preview { gap: 10px; } .cp-prev-label { width: 100%; } }

.fc.is-off { display: none !important; }
article.story > .story-author:last-child, article.story > .story-news:last-child { margin-bottom: clamp(64px, 9vw, 112px); }
