/* Debugado — visual de portal: fotos, linhas finas, cantos discretos. Primeiro o celular; tema claro e escuro. */
@font-face { font-family: "Nunito"; src: url("../fonts/nunito/nunito-latin.woff2") format("woff2"); font-weight: 200 1000; font-style: normal; font-display: swap; }
:root {
  --y: #FFD21F; --y-deep: #F2C200; --ink: #1B1C21;
  --bg: #FFFFFF; --surface: #FFFFFF; --surface-2: #F5F4EF; --line: #E4E3DC; --line-strong: #1B1C21;
  --text: #1B1C21; --body: #33343A; --muted: #6B6C73; --link: #1F4FD8; --kicker: #8A5A00; --on-y: #1B1C21;
  --ok: #1E8E4E; --danger: #C9333D; --mark: #FFF1B8;
  --radius: 6px; --radius-sm: 4px;
  --font: "Nunito", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #121317; --surface: #1A1B20; --surface-2: #22232A; --line: #2E2F37; --line-strong: #F1F0EA;
  --text: #F1F0EA; --body: #D2D2CC; --muted: #9C9DA6; --link: #9DB5FF; --kicker: #FFD21F; --mark: #4A3C00;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 70px; }
body { margin: 0; overflow-x: clip; background: var(--bg); color: var(--text); font: 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.18; letter-spacing: -.015em; margin: 0; font-weight: 900; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.narrow { max-width: 760px; }
.sr-only { position: absolute; left: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
label.btn, .avatar-edit > div { position: relative; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--y); color: var(--on-y); padding: 8px 14px; border-radius: var(--radius); z-index: 100; font-weight: 800; }
.skip:focus { left: 8px; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: var(--radius); border: 1px solid var(--line-strong);
  background: transparent; font-weight: 800; font-size: 15px; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--surface-2); }
.btn.primary, .btn.dark { background: var(--y); border-color: var(--y); color: var(--on-y); }
.btn.primary:hover, .btn.dark:hover { background: var(--y-deep); border-color: var(--y-deep); }
.btn.sm { min-height: 34px; padding: 0 12px; font-size: 14px; }
.btn.big { min-height: 48px; font-size: 16px; padding: 0 22px; }
.btn.ghost { border-color: var(--line); }
.btn.danger { color: var(--danger); }
.btn.off { opacity: .35; pointer-events: none; }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: var(--radius); border: 0; background: transparent; cursor: pointer; }
.icon-btn:hover { background: var(--surface-2); }
.icon-btn svg { width: 21px; height: 21px; }
.icon-btn.danger { color: var(--danger); }

/* Topo */
.top { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 10px; height: 56px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 28px; width: auto; }
.brand .logo-dark, :root[data-theme="dark"] .brand .logo-light { display: none; }
:root[data-theme="dark"] .brand .logo-dark { display: block; }
.top-search { flex: 1; max-width: 460px; margin: 0 auto; position: relative; display: none; }
.top-search input, .m-search input { width: 100%; height: 40px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface-2); padding: 0 14px 0 40px; }
.top-search input:focus, .m-search input:focus { border-color: var(--line-strong); background: var(--bg); outline: 0; }
.top-search svg, .m-search svg { position: absolute; left: 12px; top: 10px; width: 20px; height: 20px; color: var(--muted); }
.m-search { position: relative; padding: 0 0 10px; }
.top-actions { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.top-actions .btn { margin-left: 6px; }
.top-actions .txt { display: none; border: 0; }
.theme-btn .moon, :root[data-theme="dark"] .theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .moon { display: block; }
.cats { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; border-top: 1px solid var(--line); margin: 0 -16px; padding: 0 16px; }
.cats::-webkit-scrollbar { display: none; }
.cats a { flex: none; padding: 10px 0 8px; font-size: 14px; font-weight: 800; white-space: nowrap; border-bottom: 3px solid transparent; color: var(--body); }
.cats a:hover { color: var(--text); border-bottom-color: var(--line); }
.cats a.on { color: var(--text); border-bottom-color: var(--y); }
.staff-bar { background: var(--danger); color: #fff; text-align: center; font-size: 13px; font-weight: 700; padding: 6px 12px; }
.staff-bar.preview { background: var(--link); }

/* Títulos de bloco */
.sec { padding-top: 26px; padding-bottom: 4px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; border-bottom: 2px solid var(--line-strong); padding-bottom: 6px; }
.sec-head h2 { font-size: 14px; letter-spacing: .07em; text-transform: uppercase; }
.sec-head a { font-size: 13.5px; font-weight: 800; color: var(--link); white-space: nowrap; }
.kicker { font-size: 11.5px; font-weight: 900; letter-spacing: .06em; color: var(--kicker); text-transform: uppercase; }

/* Home */
.front { display: grid; gap: 26px; padding-top: 20px; }
.lead { display: block; }
.lead .thumb { border-radius: var(--radius); }
.lead h2 { font-size: clamp(25px, 6.4vw, 38px); letter-spacing: -.025em; margin-top: 6px; }
.lead p { color: var(--body); margin: 8px 0 0; font-size: 16.5px; max-width: 62ch; }
.lead .kicker { display: block; margin-top: 12px; }
.lead:hover h2 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.rank { counter-reset: r; display: grid; }
.rank a { counter-increment: r; display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; padding: 11px 0; border-bottom: 1px solid var(--line); }
.rank a:last-child { border-bottom: 0; }
.rank a::before { content: counter(r); font-weight: 900; font-size: 26px; line-height: 1; color: var(--muted); opacity: .55; }
.rank b { display: block; font-size: 15.5px; line-height: 1.28; font-weight: 800; }
.rank a:hover b { text-decoration: underline; }
.rank small { color: var(--muted); font-size: 12.5px; }
.cta { margin: 34px 0 6px; background: var(--surface-2); border: 1px solid var(--line); border-left: 6px solid var(--y); border-radius: var(--radius); padding: 20px; display: grid; gap: 10px; }
.cta h2 { font-size: 21px; }
.cta p { margin: 0; color: var(--body); max-width: 60ch; }
.cta .btn { justify-self: start; margin-top: 4px; }
.people { display: flex; gap: 22px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.person { flex: none; display: flex; align-items: center; gap: 10px; }
.person b { display: block; font-size: 14.5px; line-height: 1.2; font-weight: 800; }
.person:hover b { text-decoration: underline; }
.person small { color: var(--muted); font-size: 12.5px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); display: inline-grid; place-items: center; font-weight: 900; font-size: 15px; overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.sm { width: 36px; height: 36px; font-size: 12.5px; }
.avatar.lg { width: 84px; height: 84px; font-size: 28px; }

/* Cartões de tutorial */
.grid { display: grid; gap: 22px 18px; grid-template-columns: 1fr; }
.card { display: flex; flex-direction: column; gap: 9px; }
.thumb { position: relative; aspect-ratio: 16 / 10; background: var(--surface-2); overflow: hidden; border-radius: var(--radius); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.card:hover .thumb img, .lead:hover .thumb img { transform: scale(1.03); }
.thumb.auto { display: flex; flex-direction: column; justify-content: flex-end; padding: 12px 14px; background: color-mix(in srgb, var(--c, #888) 14%, var(--surface-2)); border: 1px solid color-mix(in srgb, var(--c, #888) 22%, var(--line)); }
.thumb.auto b { font-size: 34px; line-height: 1; font-weight: 900; color: color-mix(in srgb, var(--c, #888) 70%, var(--text)); }
.thumb.auto small { font-size: 11.5px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: color-mix(in srgb, var(--c, #888) 60%, var(--text)); }
.thumb .play { position: absolute; left: 8px; bottom: 8px; background: rgba(20,21,26,.85); color: #fff; font-size: 11.5px; font-weight: 800; padding: 3px 8px; border-radius: var(--radius-sm); }
.card-body { display: flex; flex-direction: column; gap: 3px; }
.card h3 { font-size: 17.5px; line-height: 1.25; font-weight: 800; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card:hover h3 { text-decoration: underline; text-underline-offset: 2px; }
.meta { display: flex; flex-wrap: wrap; gap: 2px 6px; font-size: 12.5px; color: var(--muted); }
.meta span + span::before { content: "·"; margin-right: 6px; }
.card.row { flex-direction: row; gap: 12px; align-items: flex-start; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.card.row:last-child { border-bottom: 0; }
.card.row .thumb { width: 116px; flex: none; aspect-ratio: 4 / 3; }
.card.row .thumb.auto { padding: 8px 10px; }
.card.row .thumb.auto b { font-size: 24px; }
.card.row .thumb.auto small { font-size: 10px; }
.card.row h3 { font-size: 16px; }
.rows { display: grid; gap: 14px; }

/* Listas */
.page-head { padding: 22px 0 6px; }
.page-head h1 { font-size: clamp(26px, 6vw, 36px); }
.page-head p { color: var(--body); margin: 8px 0 0; max-width: 62ch; }
.sorter { display: flex; gap: 18px; margin: 12px 0 0; border-bottom: 1px solid var(--line); }
.sorter a { padding: 8px 0; font-size: 14px; font-weight: 800; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.sorter a.on { color: var(--text); border-bottom-color: var(--y); }
.empty { text-align: center; padding: 40px 16px; color: var(--body); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); }
.empty b { display: block; color: var(--text); font-size: 18px; margin-bottom: 6px; font-weight: 900; }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 28px 0 8px; font-size: 14px; color: var(--muted); }
.big-search { position: relative; max-width: 620px; }
.big-search input { width: 100%; height: 50px; border-radius: var(--radius); border: 1px solid var(--line-strong); background: var(--bg); padding: 0 108px 0 44px; font-size: 16.5px; }
.big-search input:focus { outline: 2px solid var(--y); outline-offset: 0; }
.big-search svg { position: absolute; left: 14px; top: 15px; width: 20px; height: 20px; }
.big-search .btn { position: absolute; right: 5px; top: 5px; min-height: 40px; }

/* Tutorial */
.tuto-head { padding: 20px 0 4px; }
.crumb { font-size: 12.5px; display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; color: var(--muted); }
.crumb a { font-weight: 900; letter-spacing: .05em; text-transform: uppercase; color: var(--kicker); }
.crumb a:hover { text-decoration: underline; }
.tuto-head h1 { font-size: clamp(27px, 6.8vw, 42px); letter-spacing: -.03em; }
.tuto-head .summary { font-size: 18.5px; line-height: 1.45; color: var(--body); margin: 10px 0 0; }
.byline { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; font-size: 14px; }
.byline b { display: block; font-weight: 800; }
.byline small { color: var(--muted); }
.facts { display: flex; flex-wrap: wrap; gap: 0; margin: 16px 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { flex: 1 1 0; min-width: 80px; padding: 10px 8px 10px 0; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 800; }
.fact b { display: block; font-size: 17px; color: var(--text); text-transform: none; letter-spacing: 0; font-weight: 900; }
.cover { margin: 18px 0 0; }
.cover img { width: 100%; max-height: 480px; object-fit: cover; border-radius: var(--radius); background: var(--surface-2); }
.cover figcaption { font-size: 12px; color: var(--muted); margin-top: 5px; }
.cover figcaption a { text-decoration: underline; }
.video { margin: 18px 0 0; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }
.box { margin: 22px 0 0; background: var(--surface-2); border-radius: var(--radius); padding: 16px 18px; }
.box h2 { font-size: 13px; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 10px; }
.box ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; color: var(--body); }
.box li { display: flex; gap: 10px; align-items: flex-start; }
.box li::before { content: ""; flex: none; width: 15px; height: 15px; margin-top: 5px; border-radius: 3px; border: 1.5px solid var(--muted); }
.progress { position: sticky; top: 56px; z-index: 20; background: var(--bg); padding: 10px 0; margin-top: 18px; display: flex; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 800; color: var(--muted); border-bottom: 1px solid var(--line); }
.progress .bar { flex: 1; display: flex; gap: 3px; }
.progress .bar i { flex: 1; height: 4px; background: var(--line); transition: background .25s; }
.progress .bar i.on { background: var(--y-deep); }
:root[data-theme="dark"] .progress .bar i.on { background: var(--y); }
.steps { list-style: none; margin: 0; padding: 0; }
.step { display: grid; grid-template-columns: 38px 1fr; gap: 0 14px; padding: 22px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; transition: opacity .2s; }
.step.done { opacity: .6; }
.step-n { width: 38px; height: 38px; border-radius: 50%; background: transparent; border: 2px solid var(--line-strong); color: var(--text); display: grid; place-items: center; font-weight: 900; font-size: 17px; cursor: pointer; padding: 0; }
.step.current .step-n { background: var(--y); border-color: var(--y); color: var(--on-y); }
.step.done .step-n { background: var(--ok); border-color: var(--ok); color: #fff; }
.step h3 { font-size: 20px; line-height: 1.28; padding-top: 5px; font-weight: 900; }
.step-body { grid-column: 1 / -1; margin-top: 12px; }
.step-body p { margin: 0 0 .7em; font-size: 17px; line-height: 1.62; color: var(--body); overflow-wrap: anywhere; }
.step-body p:last-child { margin-bottom: 0; }
.step-body a { color: var(--link); text-decoration: underline; }
.step-body img { margin-top: 14px; border-radius: var(--radius); border: 1px solid var(--line); width: 100%; cursor: zoom-in; }
.finish { margin: 26px 0 0; background: var(--surface-2); border-radius: var(--radius); padding: 22px 18px; text-align: center; }
.finish h2 { font-size: 22px; }
.finish p { color: var(--body); margin: 4px 0 14px; }
.finish-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.finish .btn { background: var(--bg); }
.like[aria-pressed="true"] { background: var(--ok) !important; border-color: var(--ok); color: #fff; }
.tags { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 22px 0 0; font-size: 14px; }
.tags a { color: var(--link); font-weight: 700; }
.tags a:hover { text-decoration: underline; }
.author-box { margin: 22px 0 0; display: flex; gap: 14px; align-items: center; border-top: 2px solid var(--line-strong); padding: 16px 0 0; }
.author-box b { font-weight: 900; }
.author-box p { margin: 2px 0 0; color: var(--body); font-size: 14.5px; }
.author-box .btn { margin-left: auto; flex: none; }
details.report { margin: 18px 0 0; font-size: 13.5px; color: var(--muted); }
details.report summary { cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 8px 0; }
details.report form { margin-top: 10px; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10,10,14,.92); display: grid; place-items: center; padding: 16px; cursor: zoom-out; }
.lightbox img { max-width: 100%; max-height: 100%; }

/* Formulários e texto corrido */
.form { display: grid; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.field label { display: block; font-size: 14px; font-weight: 800; margin-bottom: 5px; }
.field input, .field select, .field textarea { width: 100%; min-height: 44px; border-radius: var(--radius); border: 1px solid #BDBCB4; background: var(--bg); padding: 9px 12px; }
:root[data-theme="dark"] .field input, :root[data-theme="dark"] .field select, :root[data-theme="dark"] .field textarea, :root[data-theme="dark"] .prefixed { border-color: #4A4B55; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--y); outline-offset: 0; border-color: var(--line-strong); }
.field .err { color: var(--danger); font-size: 13.5px; margin-top: 4px; }
.field small { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.field label em, .form-title em { font-style: normal; font-weight: 600; color: var(--muted); font-size: 13px; margin-left: 4px; }
.hp { position: absolute; left: -9999px; }
.notice { margin: 0 0 14px; background: color-mix(in srgb, var(--ok) 10%, var(--bg)); border-left: 4px solid var(--ok); border-radius: var(--radius-sm); padding: 11px 14px; font-weight: 700; }
.notice.bad { background: color-mix(in srgb, var(--danger) 9%, var(--bg)); border-left-color: var(--danger); font-weight: 600; }
.prose { font-size: 17px; line-height: 1.7; color: var(--body); }
.prose h2 { font-size: 21px; margin: 1.6em 0 .5em; color: var(--text); }
.prose h3 { font-size: 18px; margin: 1.4em 0 .4em; color: var(--text); }
.prose a { color: var(--link); text-decoration: underline; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose blockquote { margin: 1em 0; padding: 2px 16px; border-left: 4px solid var(--y); color: var(--muted); }
.profile { display: flex; gap: 16px; align-items: center; padding: 26px 0 10px; }
.profile h1 { font-size: clamp(24px, 6vw, 34px); }
.profile p { margin: 6px 0 0; color: var(--body); }
.stats { display: flex; flex-wrap: wrap; margin: 12px 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { flex: 1 1 0; min-width: 90px; padding: 10px 10px 10px 0; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 800; }
.stat b { display: block; font-size: 22px; color: var(--text); line-height: 1.2; letter-spacing: 0; font-weight: 900; }

/* Conta: entrar, cadastro, minha conta e formulário de tutorial */
.auth { display: grid; place-items: start center; padding-top: 28px; padding-bottom: 20px; }
.auth-card { width: 100%; max-width: 420px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--y); border-radius: var(--radius); padding: 24px 20px; }
.auth-card h1 { font-size: 27px; }
.auth-sub { color: var(--body); margin: 6px 0 18px; }
.stack { display: grid; gap: 14px; }
.pass { position: relative; }
.pass input { padding-right: 76px; }
.pass-eye { position: absolute; right: 5px; top: 5px; height: 34px; padding: 0 10px; border: 0; border-radius: var(--radius-sm); background: var(--surface-2); font-size: 13px; font-weight: 800; cursor: pointer; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; cursor: pointer; }
.check input { width: 19px; height: 19px; flex: none; margin: 2px 0 0; accent-color: var(--ink); }
.check a, .auth-links a, .auth-foot a { color: var(--link); text-decoration: underline; font-weight: 700; }
.auth-links { margin: 14px 0 0; text-align: center; font-size: 14.5px; }
.auth-foot { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); text-align: center; font-size: 15px; }
.acc-head { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; justify-content: space-between; }
.acc-nav { display: flex; gap: 20px; overflow-x: auto; margin: 10px 0 16px; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.acc-nav form { display: contents; }
.acc-nav .chip { flex: none; padding: 8px 0; font-size: 14px; font-weight: 800; color: var(--muted); border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; background: none; cursor: pointer; white-space: nowrap; }
.acc-nav .chip.on { color: var(--text); border-bottom-color: var(--y); }
.acc-nav .chip:hover { color: var(--text); }
.acc-stats { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.acc-stats .wide { flex: 2 1 240px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.spark { display: flex; align-items: flex-end; gap: 2px; height: 40px; flex: 1; max-width: 380px; }
.spark i { flex: 1; min-width: 2px; background: var(--line); }
.spark i.on { background: var(--y-deep); }
.my-list { list-style: none; margin: 0; padding: 0; }
.my-item { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.my-main { display: grid; gap: 3px; justify-items: start; }
.my-title { font-size: 17.5px; font-weight: 900; line-height: 1.25; }
.my-title:hover { text-decoration: underline; }
.my-main small { color: var(--muted); font-size: 13px; }
.my-reason { margin: 6px 0 0; font-size: 14px; background: color-mix(in srgb, var(--danger) 9%, var(--bg)); border-left: 4px solid var(--danger); padding: 8px 12px; }
.my-nums { display: flex; gap: 16px; font-size: 13.5px; color: var(--muted); }
.my-nums b { color: var(--text); font-size: 15px; }
.my-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.my-actions form { display: contents; }
.status { display: inline-block; font-size: 11px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; padding: 2px 7px; border-radius: var(--radius-sm); background: var(--surface-2); vertical-align: middle; }
.status.s-published { background: color-mix(in srgb, var(--ok) 16%, var(--bg)); color: color-mix(in srgb, var(--ok) 80%, var(--text)); }
.status.s-pending { background: var(--mark); }
.status.s-rejected { background: color-mix(in srgb, var(--danger) 14%, var(--bg)); color: var(--danger); }
.tuto-form { display: grid; gap: 16px; margin-top: 16px; }
.form-title { font-size: 19px; display: flex; align-items: center; gap: 10px; }
.form-title .num { width: 28px; height: 28px; border-radius: 50%; background: var(--y); color: var(--on-y); display: grid; place-items: center; font-size: 14px; }
.form-hint { color: var(--muted); font-size: 14px; margin: -6px 0 0; }
.form-sep { font-size: 17px; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.two { display: grid; gap: 14px; }
.prefixed { display: flex; align-items: stretch; border: 1px solid #BDBCB4; border-radius: var(--radius); background: var(--bg); overflow: hidden; }
.prefixed:focus-within { outline: 2px solid var(--y); border-color: var(--line-strong); }
.prefixed span { display: flex; align-items: center; padding: 0 12px; background: var(--surface-2); color: var(--muted); font-size: 14px; white-space: nowrap; }
.field .prefixed input { border: 0; border-radius: 0; min-width: 0; flex: 1; background: transparent; outline: 0; }
.upload { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.upload-prev { width: 100%; max-height: 260px; object-fit: contain; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface-2); }
.step-edit { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.step-card { border: 1px solid var(--line); border-left: 4px solid var(--y); border-radius: var(--radius); padding: 14px; display: grid; gap: 12px; background: var(--surface-2); }
.step-top { display: flex; align-items: center; justify-content: space-between; }
.step-top .step-n { cursor: default; width: 32px; height: 32px; font-size: 15px; background: var(--bg); }
.step-tools { display: flex; gap: 2px; }
.step-tools .icon-btn { width: 36px; height: 36px; font-size: 16px; font-weight: 800; }
.step-tools .icon-btn:disabled { opacity: .25; cursor: default; }
.form-bar { position: sticky; bottom: 0; z-index: 30; display: flex; flex-wrap: wrap; gap: 10px; padding: 12px 16px; margin: 0 -16px; background: var(--bg); border-top: 1px solid var(--line); }
.form-bar .btn { flex: 1 1 auto; }
.avatar-edit { display: flex; gap: 16px; align-items: center; }

/* Publicidade */
.ad { margin: 22px auto; text-align: center; max-width: 100%; }
.ad-tag { display: block; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.ad-media { display: inline-block; max-width: 100%; }
.ad img { margin: 0 auto; }
.ad--lista_grade { grid-column: 1 / -1; }

/* Rodapé, cookies, fora do ar */
.foot { margin-top: 48px; border-top: 2px solid var(--line-strong); padding: 26px 0 34px; font-size: 14.5px; color: var(--body); }
.foot-in { display: grid; gap: 22px; }
.foot .brand img { height: 26px; }
.foot h4 { margin: 0 0 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--text); font-weight: 900; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot a:hover { color: var(--text); text-decoration: underline; }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.foot-end { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 14px; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: space-between; }
.cookiebar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; max-width: 560px; margin: 0 auto; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 14px 16px; display: grid; gap: 10px; font-size: 14.5px; }
.cookiebar p { margin: 0; }
.cookiebar a { text-decoration: underline; }
.cookiebar-btns { display: flex; gap: 8px; justify-content: flex-end; }
.cookiebar .btn { border-color: #fff; color: #fff; }
.cookiebar .btn:hover { background: #33343a; }
.cookiebar .btn.primary { color: var(--on-y); border-color: var(--y); }
.offline { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 24px; }
.offline img { height: 48px; margin: 0 auto 22px; }
.offline h1 { font-size: 26px; }
.offline p { color: var(--muted); margin-top: 10px; }

@media (min-width: 620px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .foot-cols { grid-template-columns: repeat(3, 1fr); }
  .cookiebar { grid-template-columns: 1fr auto; align-items: center; }
  .two { grid-template-columns: 1fr 1fr; }
  .my-item { grid-template-columns: 1fr auto; align-items: center; }
  .my-actions { grid-column: 1 / -1; }
  .auth { padding-top: 48px; }
  .form-bar .btn { flex: 0 0 auto; }
  .card.row .thumb { width: 150px; }
  .step-body { grid-column: 2; margin-top: 8px; }
}
@media (min-width: 900px) {
  .wrap { padding-left: 24px; padding-right: 24px; }
  .top-in { height: 62px; gap: 18px; }
  .brand img { height: 32px; }
  .top-search { display: block; }
  .m-search { display: none; }
  .top-actions .txt { display: inline-flex; }
  .top-actions .only-mobile { display: none; }
  .cats { margin: 0 -24px; padding: 0 24px; gap: 26px; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 26px 22px; }
  .grid.four { grid-template-columns: repeat(4, 1fr); }
  .front { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 34px; padding-top: 26px; }
  .two-col { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 34px; align-items: start; }
  .foot-in { grid-template-columns: 1.2fr 2fr; }
  .cta { grid-template-columns: 1fr auto; align-items: center; padding: 22px 26px; }
  .cta .btn { margin: 0; grid-row: 1 / span 2; grid-column: 2; }
  .progress { top: 62px; }
  .form-bar { margin: 0; padding: 12px 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .top, .foot, .ad, .finish, .progress, .cookiebar, details.report { display: none !important; } .step { break-inside: avoid; } }

/* ───────── Versão 3: mais personalidade. Topo preto, abertura amarela com colagem, mosaico, blocos por assunto. ───────── */
.top { background: #15161A; border-bottom: 0; color: #F4F3EE; }
.top .brand .logo-light { display: none; }
.top .brand .logo-dark { display: block; }
.top .icon-btn:hover { background: #2A2B31; }
.top-actions .txt { color: #F4F3EE; }
.top-actions .txt:hover { background: #2A2B31; }
.top-search input, .m-search input { background: #26272D; border-color: #26272D; color: #fff; }
.top-search input::placeholder, .m-search input::placeholder { color: #A9AAB2; }
.top-search input:focus, .m-search input:focus { background: #fff; color: #15161A; border-color: var(--y); }
.top-search svg, .m-search svg { color: #A9AAB2; }
.cats { border-top: 1px solid #2A2B31; }
.cats a { color: #C9CAD1; text-transform: uppercase; font-size: 12.5px; letter-spacing: .05em; }
.cats a:hover { color: #fff; border-bottom-color: #55565F; }
.cats a.on { color: var(--y); border-bottom-color: var(--y); }
.ticker { display: flex; align-items: stretch; background: var(--y); color: #15161A; font-size: 13.5px; font-weight: 800; overflow: hidden; }
.ticker > b { flex: none; background: #15161A; color: var(--y); padding: 7px 14px 7px 16px; text-transform: uppercase; letter-spacing: .08em; font-size: 11.5px; font-weight: 900; display: flex; align-items: center; clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%); padding-right: 22px; }
.ticker-run { overflow: hidden; flex: 1; display: flex; align-items: center; mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.ticker-track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { display: flex; }
.ticker a { padding: 7px 0; white-space: nowrap; }
.ticker a::after { content: "◆"; font-size: 8px; margin: 0 16px; vertical-align: 2px; opacity: .55; }
.ticker a:hover { text-decoration: underline; }
@keyframes ticker { to { transform: translateX(-50%); } }

.stripes { height: 10px; background: repeating-linear-gradient(-45deg, #15161A 0 14px, var(--y) 14px 28px); }
.hero { background: var(--y); color: #15161A; position: relative; overflow: hidden; }
.hero-in { display: grid; gap: 28px; padding-top: 34px; padding-bottom: 38px; align-items: center; }
.hero-kicker { display: inline-block; background: #15161A; color: var(--y); font-size: 11.5px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 3px; transform: rotate(-1.5deg); }
.hero h1 { font-size: clamp(44px, 12.5vw, 92px); line-height: .92; letter-spacing: -.045em; margin: 16px 0 22px; }
.hero h1 em { font-style: normal; display: inline-block; background: #15161A; color: var(--y); padding: .04em .16em .1em; margin-left: -.06em; transform: rotate(-2deg); border-radius: 6px; }
.hero-search { position: relative; max-width: 560px; }
.hero-search input { width: 100%; height: 62px; border: 3px solid #15161A; border-radius: 12px; background: #fff; color: #15161A; padding: 0 118px 0 52px; font-size: 17.5px; font-weight: 700; box-shadow: 6px 6px 0 #15161A; transition: box-shadow .15s, transform .15s; }
.hero-search input:focus { outline: 0; transform: translate(-2px, -2px); box-shadow: 9px 9px 0 #15161A; }
.hero-search input::placeholder { color: #6B6C73; font-weight: 600; }
.hero-search svg { position: absolute; left: 18px; top: 20px; width: 23px; height: 23px; z-index: 1; }
.hero-search button { position: absolute; right: 9px; top: 9px; height: 44px; padding: 0 18px; border: 0; border-radius: 8px; background: #15161A; color: var(--y); font-weight: 900; cursor: pointer; }
.hero-sub { margin: 22px 0 0; font-size: 16.5px; font-weight: 600; max-width: 46ch; color: #3A3320; }
.collage { position: relative; height: 250px; max-width: 420px; width: 100%; margin: 0 auto; }
.snap { position: absolute; display: block; width: 62%; background: #fff; padding: 7px 7px 0; border-radius: 6px; box-shadow: 0 14px 30px -12px rgba(0,0,0,.45); transition: transform .3s cubic-bezier(.2,.8,.2,1), z-index 0s; }
.snap img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
.snap span { display: block; font-size: 12.5px; font-weight: 800; line-height: 1.25; padding: 7px 4px 9px; color: #15161A; }
.snap b { position: absolute; right: -10px; top: -10px; width: 38px; height: 38px; border-radius: 50%; background: #15161A; color: var(--y); display: grid; place-items: center; font-weight: 900; font-size: 16px; border: 3px solid var(--y); }
.snap.s0 { left: 0; top: 18px; transform: rotate(-7deg); z-index: 2; }
.snap.s1 { right: 0; top: 0; transform: rotate(6deg); z-index: 1; }
.snap.s2 { left: 21%; top: 78px; transform: rotate(-1.5deg); z-index: 3; }
.snap:hover { transform: rotate(0) scale(1.06); z-index: 5; }

.sec { padding-top: 38px; }
.sec-head { border-bottom: 0; margin-bottom: 16px; align-items: center; }
.sec-head h2 { font-size: clamp(24px, 5.6vw, 32px); letter-spacing: -.03em; text-transform: none; display: flex; align-items: center; gap: 10px; }
.sec-head h2::before { content: ""; width: 14px; height: 26px; background: var(--y); border-radius: 3px; transform: skewX(-12deg); flex: none; }
.sec-head a { border: 2px solid var(--line-strong); color: var(--text); padding: 5px 12px; border-radius: 999px; font-size: 13px; transition: background .15s, color .15s; }
.sec-head a:hover { background: var(--line-strong); color: var(--bg); }

.mosaic { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.tile { position: relative; display: block; border-radius: 14px; overflow: hidden; background: #26272D; aspect-ratio: 4 / 5; color: #fff; isolation: isolate; }
.tile.big { grid-column: 1 / -1; aspect-ratio: 4 / 3.4; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); z-index: -2; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,14,0) 30%, rgba(10,10,14,.88) 100%); z-index: -1; }
.tile:hover img { transform: scale(1.07); }
.tile-in { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px; display: grid; gap: 6px; justify-items: start; }
.tile .tag { background: var(--y); color: #15161A; font-size: 10.5px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; }
.tile strong { font-size: 16px; line-height: 1.18; font-weight: 900; letter-spacing: -.01em; text-wrap: balance; }
.tile.big strong { font-size: clamp(24px, 6vw, 40px); letter-spacing: -.03em; line-height: 1.05; max-width: 18ch; }
.tile small { font-size: 12px; font-weight: 700; opacity: .85; }

.subjects { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.subject { position: relative; display: flex; align-items: flex-end; min-height: 104px; border-radius: 12px; overflow: hidden; background: var(--c); color: #fff; isolation: isolate; padding: 12px; }
.subject img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(1) contrast(1.15); mix-blend-mode: luminosity; opacity: .55; transition: transform .5s, opacity .3s; }
.subject::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 20%, color-mix(in srgb, var(--c) 55%, #000) 100%); z-index: -1; }
.subject:hover img { transform: scale(1.08); opacity: .8; }
.subject strong { display: block; font-size: 17px; font-weight: 900; line-height: 1.1; letter-spacing: -.01em; }
.subject small { font-size: 12px; font-weight: 700; opacity: .9; }

.band { background: #15161A; color: #F4F3EE; margin-top: 44px; padding: 8px 0 34px; }
.band .sec-head h2 { color: #fff; }
.top5 { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.top5 a { display: grid; grid-template-columns: 62px 1fr; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid #2E2F37; }
.top5 li:last-child a { border-bottom: 0; }
.top5 .n { font-size: 62px; font-weight: 900; line-height: .9; color: transparent; -webkit-text-stroke: 2px var(--y); letter-spacing: -.04em; transition: color .2s; }
.top5 a:hover .n { color: var(--y); }
.top5 small { display: block; font-size: 11px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; color: var(--y); margin-bottom: 3px; }
.top5 strong { font-size: 18px; line-height: 1.2; font-weight: 800; }

.rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 14px; margin: 0 -16px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail .card { flex: 0 0 72%; max-width: 300px; scroll-snap-align: start; }

.thumb { border-radius: 12px; }
.thumb .pill { position: absolute; left: 8px; bottom: 8px; background: var(--y); color: #15161A; font-size: 11.5px; font-weight: 900; padding: 3px 9px; border-radius: 999px; }
.thumb .play { left: auto; right: 8px; border-radius: 999px; }
.card h3 span { background: linear-gradient(var(--y), var(--y)) no-repeat 0 88% / 0 38%; transition: background-size .3s; }
.card:hover h3 { text-decoration: none; }
.card:hover h3 span { background-size: 100% 38%; }
:root[data-theme="dark"] .card h3 span { background-image: linear-gradient(#6b5800, #6b5800); }
.card { transition: transform .25s; }
.card:hover { transform: translateY(-3px); }

.cta { margin: 48px 0 0; background: var(--y); color: #15161A; border: 0; border-radius: 0; padding: 0; display: block; }
.cta-in { padding-top: 40px; padding-bottom: 44px; display: grid; gap: 14px; justify-items: start; }
.cta h2 { font-size: clamp(34px, 9vw, 64px); line-height: .95; letter-spacing: -.04em; }
.cta p { font-size: 17px; font-weight: 600; color: #3A3320; max-width: 44ch; margin: 0; }
.btn-xl { display: inline-flex; align-items: center; gap: 12px; background: #15161A; color: var(--y); font-weight: 900; font-size: 18px; padding: 16px 24px; border-radius: 12px; margin-top: 6px; transition: transform .15s, box-shadow .15s; box-shadow: 5px 5px 0 rgba(21,22,26,.25); }
.btn-xl span { transition: transform .2s; }
.btn-xl:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 rgba(21,22,26,.3); }
.btn-xl:hover span { transform: translateX(5px); }
.cta + .foot, .foot { margin-top: 0; border-top: 0; background: #15161A; color: #C9CAD1; }
main { padding-bottom: 64px; }
main:has(> .cta:last-child) { padding-bottom: 0; }
.foot h4 { color: #fff; }
.foot a:hover { color: var(--y); }
.foot .brand .logo-light { display: none; }
.foot .brand .logo-dark { display: block; }
.foot-end { border-top-color: #2E2F37; color: #8E8F98; }

/* Tutorial: capa com selo e passos em linha do tempo */
.cover-img { position: relative; display: block; }
.cover img { border-radius: 14px; }
.seal { position: absolute; right: -6px; bottom: -14px; width: 84px; height: 84px; border-radius: 50%; background: var(--y); color: #15161A; display: grid; place-content: center; text-align: center; font-size: 10.5px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; transform: rotate(9deg); border: 3px solid var(--bg); box-shadow: 0 6px 16px -6px rgba(0,0,0,.4); }
.seal b { font-size: 32px; line-height: .9; letter-spacing: -.03em; }
.cover figcaption { padding-right: 84px; }
.tuto-head h1 { font-size: clamp(30px, 7.6vw, 50px); line-height: 1.02; letter-spacing: -.035em; }
.crumb a { background: var(--y); color: #15161A; padding: 3px 8px; border-radius: 3px; font-size: 11px; }
.steps { position: relative; }
.steps::before { content: ""; position: absolute; left: 20px; top: 30px; bottom: 30px; width: 3px; background: repeating-linear-gradient(var(--line) 0 8px, transparent 8px 14px); }
.step { border-bottom: 0; padding: 18px 0; grid-template-columns: 44px 1fr; position: relative; }
.step-n { width: 44px; height: 44px; background: var(--ink); border-color: var(--ink); color: var(--y); font-size: 19px; position: relative; z-index: 1; transition: transform .2s, background .2s; }
:root[data-theme="dark"] .step-n { background: #2E2F37; border-color: #2E2F37; }
.step-n:hover { transform: scale(1.1) rotate(-6deg); }
.step.current .step-n { background: var(--y); border-color: var(--y); color: #15161A; box-shadow: 0 0 0 6px color-mix(in srgb, var(--y) 30%, transparent); }
.step h3 { padding-top: 8px; font-size: 21px; }
.step-body { background: var(--surface-2); border-radius: 12px; padding: 14px 16px; }
.finish { background: var(--ink); color: #fff; border-radius: 16px; padding: 28px 18px; }
:root[data-theme="dark"] .finish { background: #22232A; }
.finish h2 { font-size: 30px; letter-spacing: -.03em; }
.finish p { color: #C9CAD1; }
.finish .btn { background: transparent; border-color: #55565F; color: #fff; }
.finish .btn:hover { background: #2A2B31; }
.finish .like { background: var(--y); border-color: var(--y); color: #15161A; min-height: 52px; font-size: 17px; padding: 0 24px; }
.finish .like:hover { background: var(--y-deep); }
#readbar { position: fixed; left: 0; top: 0; height: 4px; width: 100%; background: var(--y); transform-origin: 0 50%; transform: scaleX(0); z-index: 60; }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 300; }
.confetti i { position: absolute; border-radius: 2px; animation: confetti 1.5s cubic-bezier(.15,.7,.3,1) forwards; }
@keyframes confetti { 0% { transform: translate(0, 0) rotate(0); opacity: 1; } 70% { opacity: 1; } 100% { transform: translate(var(--dx), calc(var(--dy) + 340px)) rotate(var(--rot)); opacity: 0; } }

/* Listas e conta herdam o tom */
.page-head h1 { font-size: clamp(32px, 8vw, 54px); letter-spacing: -.04em; line-height: 1; }
.page-head h1::after { content: ""; display: block; width: 64px; height: 8px; margin-top: 12px; background: repeating-linear-gradient(-45deg, var(--ink) 0 7px, var(--y) 7px 14px); border-radius: 2px; }
:root[data-theme="dark"] .page-head h1::after { background: repeating-linear-gradient(-45deg, #000 0 7px, var(--y) 7px 14px); }
.auth-card { border: 3px solid var(--line-strong); border-radius: 16px; box-shadow: 8px 8px 0 var(--y); }

/* Entrada dos blocos (só com JavaScript ligado) */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.js [data-reveal].in { opacity: 1; transform: none; }

@media (min-width: 620px) {
  .mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; }
  .mosaic .tile { aspect-ratio: auto; }
  .mosaic .tile.big { grid-column: span 2; grid-row: span 2; }
  .subjects { grid-template-columns: repeat(3, 1fr); }
  .rail .card { flex-basis: 260px; }
  .top5 { grid-template-columns: 1fr 1fr; column-gap: 34px; }
}
@media (min-width: 900px) {
  .hero-in { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); padding-top: 54px; padding-bottom: 60px; gap: 40px; }
  .collage { height: 380px; max-width: 520px; }
  .snap span { font-size: 14px; }
  .snap.s2 { top: 130px; }
  .mosaic { grid-auto-rows: 220px; gap: 14px; }
  .subjects { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .subject { min-height: 128px; }
  .rail { margin: 0 -24px; padding: 4px 24px 14px; }
  .top5 { grid-template-columns: repeat(5, 1fr); column-gap: 22px; }
  .top5 a { grid-template-columns: 1fr; border-bottom: 0; align-items: start; gap: 6px; }
  .top5 .n { font-size: 96px; }
  .cta-in { padding-top: 64px; padding-bottom: 70px; }
  .seal { width: 104px; height: 104px; right: -18px; }
  .seal b { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* Fotos nítidas: as reduções vêm prontas do servidor (app/Support/Thumb.php). */
.thumb img, .tile img, .subject img, .snap img, .cover img { backface-visibility: hidden; image-rendering: auto; }

/* Menu: "Mais" no computador e menu lateral no celular */
.cats { overflow: visible; flex-wrap: nowrap; position: relative; }
.cats .more { position: relative; margin-left: auto; flex: none; }
.cats .more > button { display: inline-flex; align-items: center; gap: 5px; background: none; border: 0; border-bottom: 3px solid transparent; padding: 10px 0 8px; color: #C9CAD1; font-size: 12.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
.cats .more > button svg { width: 12px; height: 12px; transition: transform .2s; }
.cats .more.open > button, .cats .more > button:hover { color: var(--y); }
.cats .more.open > button svg { transform: rotate(180deg); }
.more-menu { position: absolute; right: 0; top: calc(100% + 1px); min-width: 230px; background: #15161A; border: 1px solid #2E2F37; border-top: 3px solid var(--y); border-radius: 0 0 10px 10px; padding: 6px; display: none; z-index: 60; box-shadow: 0 18px 40px -12px rgba(0,0,0,.6); }
.more.open .more-menu { display: grid; }
.cats .more-menu a { padding: 10px 12px; border: 0; border-radius: 6px; text-transform: none; letter-spacing: 0; font-size: 14.5px; color: #E6E6E1; }
.cats .more-menu a:hover, .cats .more-menu a.on { background: #26272D; color: var(--y); }
.burger { display: none; margin-left: -8px; }
.drawer-veil { position: fixed; inset: 0; background: rgba(8,8,12,.6); z-index: 190; opacity: 0; transition: opacity .25s; }
.drawer { position: fixed; top: 0; left: 0; bottom: 0; width: min(86vw, 340px); background: #15161A; color: #F4F3EE; z-index: 200; overflow-y: auto; overscroll-behavior: contain; transform: translateX(-102%); transition: transform .28s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; padding-bottom: 24px; border-right: 4px solid var(--y); }
.menu-open .drawer { transform: none; }
.menu-open .drawer-veil { opacity: 1; }
html.menu-open, html.menu-open body { overflow: hidden; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 10px 12px 18px; border-bottom: 1px solid #2A2B31; position: sticky; top: 0; background: #15161A; z-index: 1; }
.drawer-top img { height: 28px; width: auto; }
.drawer-top .icon-btn:hover { background: #2A2B31; }
.drawer-cta { margin: 16px 18px 6px; display: flex; align-items: center; justify-content: space-between; background: var(--y); color: #15161A; font-weight: 900; padding: 14px 16px; border-radius: 10px; }
.drawer-nav { display: grid; padding: 4px 8px; }
.drawer-label { font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: #8E8F98; padding: 16px 10px 6px; }
.drawer-nav a, .drawer-nav button { display: flex; align-items: center; gap: 10px; padding: 12px 10px; border-radius: 8px; font-size: 16px; font-weight: 800; color: #F4F3EE; background: none; border: 0; text-align: left; width: 100%; cursor: pointer; }
.drawer-nav a i { width: 10px; height: 10px; border-radius: 3px; background: var(--c, var(--y)); flex: none; transform: rotate(45deg); }
.drawer-nav a:hover, .drawer-nav button:hover, .drawer-nav a.on { background: #26272D; color: var(--y); }
.drawer-nav form { display: contents; }
@media (max-width: 899px) {
  .burger { display: inline-grid; }
  .cats { display: none; }
  .top-actions .only-mobile { display: none; }
}
@media (min-width: 900px) {
  .drawer, .drawer-veil { display: none !important; }
}
.cats .more.has-on > button { color: var(--y); border-bottom-color: var(--y); }

/* Código nos passos */
.step-body p { white-space: pre-line; }
.step-body code, .prose code { font-family: ui-monospace, "Cascadia Code", "SF Mono", Consolas, "Liberation Mono", monospace; font-size: .88em; background: var(--surface-2); border: 1px solid var(--line); border-radius: 4px; padding: .08em .35em; white-space: pre-wrap; overflow-wrap: anywhere; }
.step-body { background: none; padding: 0; }
pre.code { position: relative; margin: 12px 0; background: #15161A; color: #E9E8E2; border-radius: 10px; padding: 14px 16px; overflow-x: auto; font-size: 14px; line-height: 1.55; border-left: 4px solid var(--y); tab-size: 4; }
pre.code code { background: none; border: 0; padding: 0; font-size: inherit; color: inherit; white-space: pre; overflow-wrap: normal; }
pre.code .copy { position: absolute; top: 6px; right: 6px; background: #2A2B31; color: #E9E8E2; border: 0; border-radius: 6px; font: 800 11.5px var(--font); padding: 5px 9px; cursor: pointer; opacity: .85; }
pre.code .copy:hover { opacity: 1; background: var(--y); color: #15161A; }
.fact.wide { flex: 2 1 200px; }
.tile::after { background: linear-gradient(180deg, rgba(10,10,14,.1) 0%, rgba(10,10,14,.55) 40%, rgba(10,10,14,.95) 78%); }
.tile.big::after { background: linear-gradient(180deg, rgba(10,10,14,0) 35%, rgba(10,10,14,.94) 88%); }
