/* Painel SYD Perícias */
:root { --ink: #070b18; --ink-2: #0c1226; --ink-3: #121a35; --line: rgba(255, 255, 255, .09); --text: #eef0f6; --muted: #9aa3ba; --red: #d3152b; --red-2: #ff3b4e; --gold: #d9b56a; --ok: #5fe08f; --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
html { height: 100%; }
body { margin: 0; min-height: 100%; background: var(--ink); color: var(--text); font: 400 15px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(45% 50% at 100% 0%, rgba(211, 21, 43, .2), transparent 70%), radial-gradient(40% 45% at 0% 100%, rgba(40, 70, 170, .2), transparent 70%); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
[hidden] { display: none !important; }

.rotulo { font-size: .68rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.botao { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 22px; border-radius: 999px; border: 1px solid transparent; background: linear-gradient(135deg, var(--red-2), var(--red)); color: #fff; font-weight: 600; font-size: .9rem; white-space: nowrap; box-shadow: 0 10px 30px -12px rgba(211, 21, 43, .8); transition: transform .2s, box-shadow .2s, border-color .2s, background .2s; }
.botao:hover { transform: translateY(-1px); box-shadow: 0 14px 36px -12px rgba(255, 59, 78, .95); }
.botao--fino { padding: 10px 16px; background: rgba(255, 255, 255, .04); border-color: var(--line); box-shadow: none; font-weight: 500; font-size: .85rem; color: var(--text); }
.botao--fino:hover { border-color: var(--gold); box-shadow: none; }
.botao--risco:hover { border-color: var(--red-2); color: var(--red-2); }
.botao--cheio { width: 100%; padding: 15px; font-size: 1rem; }
.campo { display: block; margin-bottom: 16px; font-size: .78rem; font-weight: 500; color: var(--muted); }
.campo input, .campo textarea { display: block; width: 100%; margin-top: 7px; padding: 13px 15px; border-radius: 13px; border: 1px solid var(--line); background: rgba(7, 11, 24, .6); color: var(--text); font-size: .95rem; outline: none; transition: border-color .2s; }
.campo input:focus, .campo textarea:focus { border-color: var(--red-2); }
.aviso { padding: 12px 16px; border-radius: 13px; font-size: .88rem; font-weight: 500; }
.aviso--ok { background: rgba(37, 211, 102, .12); border: 1px solid rgba(95, 224, 143, .4); color: var(--ok); }
.aviso--erro { background: rgba(211, 21, 43, .14); border: 1px solid rgba(255, 59, 78, .5); color: #ff8b97; }
.aviso--modelo { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; background: rgba(217, 181, 106, .1); border: 1px solid rgba(217, 181, 106, .4); color: #e9dcc0; font-weight: 400; }
.aviso--modelo svg { flex: none; color: var(--gold); } .aviso--modelo b { color: #fff; font-weight: 600; }
.aviso--topo { position: fixed; right: 26px; top: 22px; z-index: 60; box-shadow: 0 20px 50px -20px #000; backdrop-filter: blur(14px); animation: desce .45s cubic-bezier(.2, .8, .2, 1); transition: opacity .4s, transform .4s; }
.aviso--topo.some { opacity: 0; transform: translateY(-12px); }
@keyframes desce { from { opacity: 0; transform: translateY(-16px); } }
.pilula { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.pilula--publicado { background: rgba(37, 211, 102, .14); color: var(--ok); }
.pilula--layout { display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(217, 181, 106, .35); color: #e9dcc0; letter-spacing: .04em; text-transform: none; font-size: .72rem; }
.pilula--layout svg { color: var(--gold); }
.pilula--rascunho { background: rgba(217, 181, 106, .16); color: var(--gold); }

/* ---------- login ---------- */
.login { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login__cartao { position: relative; width: min(430px, 100%); padding: 42px 38px 32px; border-radius: 28px; border: 1px solid rgba(217, 181, 106, .32); background: radial-gradient(90% 60% at 100% 0%, rgba(211, 21, 43, .24), transparent 60%), linear-gradient(160deg, #111935, #080c1b); box-shadow: 0 60px 120px -50px rgba(211, 21, 43, .7); animation: sobe .7s cubic-bezier(.2, .8, .2, 1); }
.login__cartao::before { content: ""; position: absolute; left: 14%; right: 14%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
@keyframes sobe { from { opacity: 0; transform: translateY(26px); } }
.login__logo { display: block; width: 190px; height: auto; margin: 0 auto 30px; }
.login h1 { margin: 8px 0 24px; font-size: 1.7rem; letter-spacing: -.02em; }
.login .aviso { margin-bottom: 18px; }
.login__texto { margin: -12px 0 22px; font-size: .9rem; color: var(--muted); }
.campo__senha { position: relative; display: block; }
.campo__senha input { padding-right: 48px; }
.campo__senha button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); margin-top: 3.5px; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: none; color: var(--muted); }
.campo__senha button:hover { color: #fff; }
.login__volta { display: block; margin-top: 20px; text-align: center; font-size: .82rem; color: var(--muted); }
.login__volta:hover { color: var(--gold); }

/* ---------- moldura ---------- */
.painel { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: 100vh; }
.lado { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 26px 16px 18px; border-right: 1px solid var(--line); background: rgba(9, 13, 28, .7); backdrop-filter: blur(16px); }
.lado__logo { padding: 0 10px 26px; }
.lado__logo img { display: block; width: 150px; height: auto; }
.lado__menu { display: grid; gap: 4px; }
.lado__menu a { display: flex; align-items: center; gap: 13px; padding: 12px 14px; border-radius: 13px; font-weight: 500; color: var(--muted); transition: background .2s, color .2s; }
.lado__menu a:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.lado__menu a.is-on { background: linear-gradient(135deg, rgba(255, 59, 78, .22), rgba(211, 21, 43, .08)); color: #fff; box-shadow: inset 2px 0 0 var(--red-2); }
.lado__menu b { margin-left: auto; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--red); font-size: .7rem; text-align: center; color: #fff; }
.lado__eu { display: flex; align-items: center; gap: 11px; margin-top: auto; padding: 14px 10px 0; border-top: 1px solid var(--line); }
.lado__eu img { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; border: 1px solid rgba(217, 181, 106, .6); }
.lado__eu span { min-width: 0; margin-right: auto; }
.lado__eu b, .lado__eu small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lado__eu b { font-size: .82rem; } .lado__eu small { font-size: .7rem; color: var(--muted); }
.lado__eu button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--muted); }
.lado__eu button:hover { color: var(--red-2); border-color: var(--red-2); }
.area { padding: 38px clamp(20px, 4vw, 54px) 70px; min-width: 0; }
.cab { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 30px; }
.cab h1 { margin-top: 6px; font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -.025em; }
.cartao { padding: 30px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012)); }
.cab__acoes { display: flex; flex-wrap: wrap; gap: 10px; }
.cab__modo { margin-left: 4px; padding: 2px 10px; border-radius: 999px; background: rgba(217, 181, 106, .16); font-size: .7rem; font-weight: 600; color: var(--gold); }
.form:has(.vitrine) { max-width: 1080px; }
.layouts.layouts--4 { grid-template-columns: repeat(4, 1fr); }
.vitrine { margin: 4px 0 30px; padding: 24px; border-radius: 20px; border: 1px solid rgba(217, 181, 106, .35); background: rgba(217, 181, 106, .04); animation: desce .4s cubic-bezier(.2, .8, .2, 1); }
.vitrine header { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.vitrine header h2 { margin: 0 0 4px; padding: 0; border: 0; }
.vitrine header p { max-width: 620px; font-size: .84rem; color: var(--muted); }
.vitrine__grade { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-flow: dense; gap: 12px; }
.vit { position: relative; display: flex; flex-direction: column; grid-column: span 4; border-radius: 14px; border: 1px solid var(--line); background: #0d1328; overflow: hidden; cursor: grab; transition: border-color .2s, opacity .2s, transform .2s, box-shadow .2s; }
.vit:hover { border-color: rgba(217, 181, 106, .6); }
.vit.movendo { opacity: .3; }
.vit.alvo { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold); transform: scale(.98); }
.vit.tam-p { grid-column: span 3; } .vit.tam-m { grid-column: span 4; } .vit.tam-g { grid-column: span 6; }
.vit.tam-gg { grid-column: span 12; flex-direction: row; }
.vit__img { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: radial-gradient(80% 100% at 80% 0%, rgba(211, 21, 43, .5), transparent 65%), #0d1430 url("../assets/img/logo-syd-112.webp") center / 30px no-repeat; }
.vit.tam-gg .vit__img { flex: 0 0 38%; aspect-ratio: auto; min-height: 120px; }
.vit__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; pointer-events: none; }
.vit__txt { flex: 1; padding: 12px 14px 46px; }
.vit__txt small { display: block; margin-bottom: 4px; font-size: .6rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.vit__txt b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .86rem; font-weight: 600; line-height: 1.35; }
.vit.tam-g .vit__txt b, .vit.tam-gg .vit__txt b { font-size: 1.02rem; }
.vit__tam { position: absolute; right: 8px; bottom: 8px; display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(7, 11, 24, .88); border: 1px solid var(--line); }
.vit__tam button { min-width: 26px; height: 24px; padding: 0 7px; border: 0; border-radius: 999px; background: none; font-size: .66rem; font-weight: 700; color: var(--muted); }
.vit__tam button:hover { color: #fff; }
.vit__tam button.is-on { background: linear-gradient(135deg, var(--red-2), var(--red)); color: #fff; }
.vitrine__nota { margin: 16px 0 0 !important; }
@media (max-width: 900px) { .layouts.layouts--4 { grid-template-columns: repeat(2, 1fr); } .vit.tam-p, .vit.tam-m, .vit.tam-g { grid-column: span 6; } }
.vazio { padding: 70px 24px; border-radius: 22px; border: 1px dashed rgba(217, 181, 106, .3); text-align: center; color: var(--muted); }
.vazio svg { color: var(--gold); }
.vazio h2 { margin: 14px 0 6px; font-size: 1.25rem; color: #fff; }
.vazio .botao { margin-top: 22px; }

/* ---------- artigos ---------- */
.numeros { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 28px; }
.numeros div { padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012)); }
.numeros span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(217, 181, 106, .12); color: var(--gold); }
.numeros b { display: block; margin-top: 14px; font-size: 1.8rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.numeros small { font-size: .76rem; color: var(--muted); }
.abas { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.abas a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: .84rem; font-weight: 600; color: var(--muted); transition: border-color .2s, color .2s, background .2s; }
.abas a:hover { color: #fff; border-color: rgba(217, 181, 106, .5); }
.abas a.is-on { background: rgba(217, 181, 106, .12); border-color: var(--gold); color: var(--gold); }
.abas a b { min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--red); font-size: .68rem; text-align: center; color: #fff; }
.abas form { margin-left: auto; }
.abas__dica { margin: -4px 0 16px; font-size: .84rem; color: var(--muted); }
.pilula--lixeira { background: rgba(255, 59, 78, .14); color: #ff8b97; }
.artigos__acoes form { display: contents; }
.artigos { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.artigos li { display: flex; align-items: center; gap: 18px; padding: 14px 18px 14px 14px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); transition: border-color .25s, transform .25s; }
.artigos li:hover { border-color: rgba(217, 181, 106, .45); transform: translateX(3px); }
.artigos__img { flex: none; width: 92px; height: 64px; border-radius: 12px; overflow: hidden; background: radial-gradient(80% 100% at 80% 0%, rgba(211, 21, 43, .5), transparent 65%), #0d1430 url("../assets/img/logo-syd-112.webp") center / 34px no-repeat; }
.artigos__img img { width: 100%; height: 100%; object-fit: cover; }
.artigos__txt { min-width: 0; margin-right: auto; }
.artigos__txt > a { display: block; font-size: 1.02rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.artigos__txt > a:hover { color: var(--gold); }
.artigos__txt p { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 6px; font-size: .78rem; color: var(--muted); }
.artigos__num { display: flex; gap: 16px; font-size: .82rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.artigos__num span { display: inline-flex; align-items: center; gap: 6px; }
.artigos__acoes { display: flex; gap: 8px; }

/* ---------- editor ---------- */
.tela-editor .area { padding-top: 0; }
.editor__barra { position: sticky; top: 0; z-index: 30; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 0 calc(clamp(20px, 4vw, 54px) * -1) 28px; padding: 16px clamp(20px, 4vw, 54px); border-bottom: 1px solid var(--line); background: rgba(7, 11, 24, .82); backdrop-filter: blur(16px); }
.voltar { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--muted); }
.voltar:hover { color: #fff; }
.editor__estado { font-size: .8rem; color: var(--muted); }
.editor__estado.muda { color: var(--gold); }
.editor__acoes { display: flex; flex-wrap: wrap; gap: 10px; margin-left: auto; }
.editor__corpo { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 28px; align-items: start; }
.folha { border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012)); }
.folha__titulo, .folha__resumo { display: block; width: 100%; border: 0; background: none; outline: none; resize: none; overflow: hidden; }
.folha__titulo { padding: 38px clamp(22px, 5vw, 60px) 0; font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 700; line-height: 1.15; letter-spacing: -.025em; color: #fff; }
.folha__resumo { padding: 14px clamp(22px, 5vw, 60px) 26px; font-size: 1.08rem; line-height: 1.55; color: #c5cbdc; }
.folha__titulo::placeholder, .folha__resumo::placeholder { color: rgba(154, 163, 186, .55); }
.ferramentas { position: sticky; top: 73px; z-index: 20; display: flex; flex-wrap: wrap; gap: 6px 4px; padding: 10px clamp(14px, 3vw, 44px); border-block: 1px solid var(--line); background: rgba(12, 18, 38, .92); backdrop-filter: blur(14px); }
.grupo { display: flex; gap: 2px; padding-right: 8px; margin-right: 4px; border-right: 1px solid var(--line); }
.grupo:last-child { border: 0; }
.grupo--fim { margin-left: auto; padding-right: 0; margin-right: 0; }
.ferramentas button { display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 8px; border: 0; border-radius: 9px; background: none; color: #c5cbdc; transition: background .15s, color .15s; }
.ferramentas button:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.ferramentas button.is-on { background: rgba(255, 59, 78, .22); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 59, 78, .5); }
.ferramentas .t { font-size: .8rem; font-weight: 700; letter-spacing: .02em; }
.folha__pe { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 14px clamp(22px, 5vw, 60px); border-top: 1px solid var(--line); font-size: .76rem; color: var(--muted); }

/* texto (mesma aparência do site) */
.prosa { min-height: 440px; padding: 34px clamp(22px, 5vw, 60px) 50px; font-size: 1.08rem; line-height: 1.8; color: #d9deeb; outline: none; overflow-wrap: break-word; }
.prosa:empty::before { content: attr(data-vazio); color: rgba(154, 163, 186, .55); pointer-events: none; }
.prosa.arrasta { box-shadow: inset 0 0 0 2px var(--gold); border-radius: 0 0 24px 24px; }
.prosa > :first-child { margin-top: 0; }
.prosa p { margin: 0 0 1.3em; }
.prosa h2 { margin: 1.9em 0 .6em; font-size: 1.65rem; line-height: 1.2; letter-spacing: -.02em; color: #fff; }
.prosa h3 { margin: 1.7em 0 .5em; font-size: 1.28rem; color: #fff; }
.prosa strong, .prosa b { color: #fff; font-weight: 600; }
.prosa a { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }
.prosa ul, .prosa ol { margin: 0 0 1.3em; padding-left: 1.4em; }
.prosa ul { list-style: disc; } .prosa ol { list-style: decimal; }
.prosa li { margin-bottom: .45em; }
.prosa li::marker { color: var(--red-2); font-weight: 600; }
.prosa blockquote { margin: 1.8em 0; padding: 6px 0 6px 26px; border-left: 2px solid var(--gold); font-size: 1.22rem; font-style: italic; font-weight: 500; color: #fff; }
.prosa hr { margin: 2.4em auto; width: 120px; height: 1px; border: 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.prosa figure { margin: 2em 0; cursor: pointer; }
.prosa img { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: 16px; border: 1px solid var(--line); }
.prosa figure.sel img { outline: 2px solid var(--gold); outline-offset: 4px; }
.prosa figcaption { margin-top: 10px; text-align: center; font-size: .84rem; color: var(--muted); }
.prosa .fig-media { max-width: 460px; margin-inline: auto; }
.prosa .fig-larga { margin-inline: clamp(-40px, -3vw, -14px); }
.prosa .enviando { opacity: .5; filter: blur(2px); }

.galeria-ed { padding: 26px clamp(22px, 5vw, 60px) 32px; border-top: 1px solid var(--line); }
.galeria-ed.arrasta { box-shadow: inset 0 0 0 2px var(--gold); border-radius: 0 0 24px 24px; }
.galeria-ed header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.galeria-ed h2 { font-size: 1rem; }
.galeria-ed header p { margin-top: 3px; font-size: .8rem; color: var(--muted); }
.galeria-ed__lista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.galeria-ed__lista:empty { display: none; }
.galeria-ed__lista li { position: relative; aspect-ratio: 4 / 3; border-radius: 13px; overflow: hidden; border: 1px solid var(--line); background: #0d1430; cursor: grab; transition: transform .2s, border-color .2s, opacity .2s; }
.galeria-ed__lista li:hover { border-color: rgba(217, 181, 106, .6); }
.galeria-ed__lista li.movendo { opacity: .35; }
.galeria-ed__lista li.enviando { opacity: .5; }
.galeria-ed__lista img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.galeria-ed__lista button { position: absolute; right: 6px; top: 6px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(7, 11, 24, .82); color: #fff; opacity: 0; transition: opacity .2s, background .2s; }
.galeria-ed__lista li:hover button, .galeria-ed__lista button:focus-visible { opacity: 1; }
.galeria-ed__lista button:hover { background: var(--red); }
.galeria-ed__lista li b { position: absolute; left: 6px; bottom: 6px; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: rgba(7, 11, 24, .82); font-size: .68rem; text-align: center; }
.galeria-ed__vazio { padding: 24px; border-radius: 14px; border: 1px dashed rgba(217, 181, 106, .35); text-align: center; font-size: .84rem; color: var(--muted); }
.galeria-ed__lista:not(:empty) + .galeria-ed__vazio { display: none; }
.opcoes { position: sticky; top: 96px; display: grid; gap: 16px; }
.bloco { padding: 20px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012)); }
.bloco h2 { margin-bottom: 14px; font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.bloco .campo:last-child { margin-bottom: 0; }
.capa { position: relative; border-radius: 14px; overflow: hidden; }
.capa img { display: none; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.capa__enviar { display: grid; justify-items: center; gap: 4px; width: 100%; padding: 30px 14px; border-radius: 14px; border: 1px dashed rgba(217, 181, 106, .45); background: rgba(217, 181, 106, .05); color: var(--gold); transition: background .2s; }
.capa__enviar:hover { background: rgba(217, 181, 106, .12); }
.capa__enviar span { font-size: .88rem; font-weight: 600; }
.capa__enviar small { font-size: .72rem; color: var(--muted); }
.capa__acoes { display: none; position: absolute; inset: auto 8px 8px 8px; gap: 8px; }
.capa__acoes button { flex: 1; padding: 8px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(7, 11, 24, .78); backdrop-filter: blur(8px); font-size: .78rem; font-weight: 600; }
.capa__acoes button:hover { border-color: var(--gold); }
.capa.tem img { display: block; } .capa.tem .capa__enviar { display: none; } .capa.tem .capa__acoes { display: flex; }
.capa.enviando { opacity: .55; pointer-events: none; }
.layouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.layout input { position: absolute; opacity: 0; pointer-events: none; }
.layout span { display: block; padding: 8px 8px 10px; border-radius: 13px; border: 1px solid var(--line); background: rgba(7, 11, 24, .5); text-align: center; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.layout span:hover { border-color: rgba(217, 181, 106, .5); transform: translateY(-2px); }
.layout svg { display: block; width: 100%; border-radius: 7px; background: #0b1126; }
.layout svg rect, .layout svg circle { fill: rgba(154, 163, 186, .35); }
.layout svg .i { fill: rgba(211, 21, 43, .55); } .layout svg .f { fill: rgba(255, 255, 255, .85); }
.layout b { display: block; margin-top: 8px; font-size: .72rem; font-weight: 600; }
.layout small { display: block; margin-top: 4px; font-size: .74rem; line-height: 1.4; color: var(--muted); }
.layout input:checked + span { border-color: var(--gold); background: rgba(217, 181, 106, .1); box-shadow: 0 0 0 1px var(--gold); }
.layout input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.layouts--g { gap: 16px; margin-bottom: 30px; }
.layouts--g .layout span { padding: 14px 14px 16px; }
.layouts--g .layout b { font-size: .92rem; }
.campo__slug { display: flex; align-items: center; margin-top: 7px; border-radius: 13px; border: 1px solid var(--line); background: rgba(7, 11, 24, .6); overflow: hidden; }
.campo__slug i { padding-left: 13px; font-style: normal; font-size: .82rem; color: var(--muted); }
.campo__slug input { margin: 0; padding-left: 2px; border: 0; background: none; font-size: .85rem; }
.perigo { margin-top: 26px; }
.perigo button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 4px; border: 0; background: none; font-size: .82rem; color: var(--muted); }
.perigo button:hover { color: var(--red-2); }
.pop { position: absolute; z-index: 70; display: flex; gap: 6px; padding: 8px; border-radius: 14px; border: 1px solid rgba(217, 181, 106, .4); background: #0f1630; box-shadow: 0 24px 50px -20px #000; }
.pop input { width: 250px; padding: 9px 12px; border-radius: 9px; border: 1px solid var(--line); background: rgba(7, 11, 24, .7); outline: none; font-size: .86rem; }
.pop button { padding: 8px 12px; border-radius: 9px; border: 0; background: rgba(255, 255, 255, .07); font-size: .8rem; font-weight: 600; }
.pop button:hover { background: var(--red); }

/* ---------- comentários ---------- */
.coments { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.coments li { display: flex; gap: 16px; padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
.coments li.is-oculto { opacity: .55; }
.av { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--red-2), var(--red)); font-weight: 700; }
.coments__txt { min-width: 0; margin-right: auto; }
.coments__quem { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: .8rem; color: var(--muted); }
.coments__quem b { font-size: .95rem; color: #fff; }
.coments__quem a:hover { color: var(--gold); }
.coments__msg { margin: 8px 0; font-size: .95rem; line-height: 1.6; color: #d4d9e8; overflow-wrap: anywhere; }
.coments__artigo { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; margin-top: 4px; padding: 8px 16px 8px 8px; border-radius: 14px; border: 1px solid var(--line); background: rgba(7, 11, 24, .5); transition: border-color .2s; }
.coments__artigo:hover { border-color: var(--gold); }
.coments__capa { flex: none; width: 54px; height: 38px; border-radius: 8px; overflow: hidden; background: radial-gradient(80% 100% at 80% 0%, rgba(211, 21, 43, .5), transparent 65%), #0d1430 url("../assets/img/logo-syd-112.webp") center / 22px no-repeat; }
.coments__capa img { width: 100%; height: 100%; object-fit: cover; }
.coments__artigo span:last-child { min-width: 0; }
.coments__artigo small { display: block; font-size: .64rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.coments__artigo b { display: block; font-size: .88rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--gold); }
.coments__acoes { flex-wrap: wrap; justify-content: flex-end; }
.coments__acoes { display: flex; gap: 8px; align-items: flex-start; }
.pilula--autora { background: rgba(217, 181, 106, .16); color: var(--gold); }
.coments__resp { margin-top: 12px; }
.coments__resp summary { display: inline-block; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: .8rem; font-weight: 600; cursor: pointer; list-style: none; transition: border-color .2s, color .2s; }
.coments__resp summary::-webkit-details-marker { display: none; }
.coments__resp summary:hover, .coments__resp[open] summary { border-color: var(--gold); color: var(--gold); }
.coments__resp form { display: grid; gap: 10px; justify-items: start; margin-top: 12px; }
.coments__resp textarea { width: min(640px, 100%); padding: 13px 15px; border-radius: 13px; border: 1px solid var(--line); background: rgba(7, 11, 24, .6); outline: none; resize: vertical; font-size: .93rem; }
.coments__resp textarea:focus { border-color: var(--red-2); }

/* ---------- formulários ---------- */
.form { max-width: 860px; }
.form--estreito { max-width: 460px; }
.form--seguinte { margin-top: 18px; }
.form h2 { margin: 0 0 16px; font-size: 1.05rem; }
.form h2:not(:first-of-type) { margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--line); }
.form .dica { margin: -8px 0 20px; font-size: .88rem; color: var(--muted); }
.form__fim { margin-top: 26px; }
.chave { display: flex; align-items: center; gap: 16px; padding: 14px 0; cursor: pointer; }
.chave input { position: absolute; opacity: 0; }
.chave i { flex: none; position: relative; width: 46px; height: 26px; border-radius: 999px; background: rgba(255, 255, 255, .12); transition: background .25s; }
.chave i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .25s cubic-bezier(.3, 1.4, .5, 1); }
.chave input:checked + i { background: linear-gradient(135deg, var(--red-2), var(--red)); }
.chave input:checked + i::after { transform: translateX(20px); }
.chave input:focus-visible + i { outline: 2px solid var(--gold); outline-offset: 2px; }
.chave b, .chave small { display: block; } .chave small { font-size: .8rem; color: var(--muted); }

@media (max-width: 1100px) {
  .editor__corpo { grid-template-columns: 1fr; }
  .opcoes { position: static; grid-template-columns: repeat(2, 1fr); }
  .numeros { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .painel { grid-template-columns: 1fr; }
  .lado { position: sticky; top: 0; z-index: 40; height: auto; flex-direction: row; align-items: center; gap: 8px; padding: 10px 14px; border-right: 0; border-bottom: 1px solid var(--line); }
  .lado__logo { padding: 0; } .lado__logo img { width: 96px; }
  .lado__menu { display: flex; margin-left: auto; gap: 2px; }
  .lado__menu a { padding: 10px; } .lado__menu a span { display: none; } .lado__menu b { display: none; }
  .lado__menu a.is-on { box-shadow: none; }
  .lado__eu { margin: 0; padding: 0; border: 0; } .lado__eu img, .lado__eu span { display: none; }
  .area { padding-top: 26px; }
  .editor__barra { position: static; }
  .ferramentas { top: 61px; }
  .grupo--fim { margin-left: 0; }
  .opcoes { grid-template-columns: 1fr; }
  .numeros { grid-template-columns: repeat(2, 1fr); }
  .artigos li { flex-wrap: wrap; }
  .artigos__txt { flex: 1 1 60%; }
  .artigos__num { order: 3; } .artigos__acoes { order: 4; margin-left: auto; }
  .coments li { flex-wrap: wrap; } .coments__txt { flex: 1 1 70%; } .coments__acoes { margin-left: 58px; }
  .layouts--g { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- recorte de imagem ---------- */
html.corte-on { overflow: hidden; }
.corte { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(4, 7, 16, 0); backdrop-filter: blur(0); transition: background .25s, backdrop-filter .25s; }
.corte.is-in { background: rgba(4, 7, 16, .78); backdrop-filter: blur(14px); }
.corte__cx { width: min(820px, 100%); max-height: calc(100dvh - 40px); overflow: auto; border-radius: 24px; border: 1px solid rgba(217, 181, 106, .35); background: radial-gradient(90% 60% at 100% 0%, rgba(211, 21, 43, .2), transparent 60%), linear-gradient(160deg, #111935, #080c1b); box-shadow: 0 60px 120px -40px #000; opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .25s, transform .4s cubic-bezier(.2, .8, .2, 1); }
.corte.is-in .corte__cx { opacity: 1; transform: none; }
.corte header { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 20px; padding: 22px 26px 16px; }
.corte header h2 { margin-top: 4px; font-size: 1.25rem; letter-spacing: -.015em; }
.corte header p { font-size: .8rem; color: var(--muted); }
.corte__palco { display: grid; place-items: center; margin: 0 26px; padding: 18px; border-radius: 16px; background: repeating-conic-gradient(rgba(255, 255, 255, .035) 0 25%, transparent 0 50%) 0 0 / 22px 22px, #060914; }
.corte__quadro { position: relative; overflow: hidden; border-radius: 10px; box-shadow: 0 0 0 1px var(--gold), 0 0 0 9999px rgba(4, 7, 16, .45); cursor: grab; touch-action: none; user-select: none; }
.corte__quadro.pega { cursor: grabbing; }
.corte__quadro img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; pointer-events: none; }
.corte__quadro i { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(rgba(255, 255, 255, .22), rgba(255, 255, 255, .22)) 33.33% 0 / 1px 100% no-repeat, linear-gradient(rgba(255, 255, 255, .22), rgba(255, 255, 255, .22)) 66.66% 0 / 1px 100% no-repeat, linear-gradient(rgba(255, 255, 255, .22), rgba(255, 255, 255, .22)) 0 33.33% / 100% 1px no-repeat, linear-gradient(rgba(255, 255, 255, .22), rgba(255, 255, 255, .22)) 0 66.66% / 100% 1px no-repeat; opacity: 0; transition: opacity .2s; }
.corte__quadro.pega i { opacity: 1; }
.corte__ctrl { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 18px 26px 4px; }
.corte__prop { display: flex; flex-wrap: wrap; gap: 6px; }
.corte__prop button { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: none; font-size: .78rem; font-weight: 600; color: var(--muted); transition: border-color .2s, color .2s, background .2s; }
.corte__prop button:hover { border-color: var(--gold); color: #fff; }
.corte__prop button.is-on { border-color: var(--gold); background: rgba(217, 181, 106, .14); color: var(--gold); }
.corte__zoom { display: flex; align-items: center; gap: 10px; flex: 1 1 220px; max-width: 340px; margin-left: auto; color: var(--muted); }
.corte__zoom input { flex: 1; height: 4px; border-radius: 999px; background: rgba(255, 255, 255, .14); appearance: none; -webkit-appearance: none; outline-offset: 6px; }
.corte__zoom input::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, var(--red-2), var(--red)); border: 2px solid #fff; cursor: pointer; }
.corte__zoom input::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--red); border: 2px solid #fff; cursor: pointer; }
.corte footer { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding: 18px 26px 24px; }
@media (max-width: 640px) { .corte { padding: 10px; } .corte header, .corte__ctrl, .corte footer { padding-inline: 16px; } .corte__palco { margin: 0 16px; padding: 10px; } .corte footer .botao { flex: 1; } }

/* ---------- caixa de diálogo (confirmações e avisos) ---------- */
html.dlg-on { overflow: hidden; }
.dlg { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; background: rgba(4, 7, 16, 0); backdrop-filter: blur(0); -webkit-backdrop-filter: blur(0); transition: background .22s, backdrop-filter .22s, -webkit-backdrop-filter .22s; }
.dlg.is-in { background: rgba(4, 7, 16, .7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.dlg__cx { position: relative; width: min(430px, 100%); padding: 34px 32px 26px; border-radius: 26px; text-align: center; border: 1px solid rgba(217, 181, 106, .35); background: radial-gradient(90% 70% at 100% 0%, rgba(211, 21, 43, .2), transparent 60%), linear-gradient(160deg, #111935, #080c1b); box-shadow: 0 50px 110px -40px #000; opacity: 0; transform: translateY(18px) scale(.94); transition: opacity .22s, transform .38s cubic-bezier(.2, 1.3, .4, 1); }
.dlg.is-in .dlg__cx { opacity: 1; transform: none; }
.dlg__cx::before { content: ""; position: absolute; left: 16%; right: 16%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.dlg__ico { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 18px; border-radius: 50%; background: rgba(217, 181, 106, .12); color: var(--gold); box-shadow: 0 0 0 8px rgba(217, 181, 106, .05); }
.dlg__cx--perigo { border-color: rgba(255, 59, 78, .5); }
.dlg__cx--perigo::before { background: linear-gradient(90deg, transparent, var(--red-2), transparent); }
.dlg__cx--perigo .dlg__ico { background: rgba(255, 59, 78, .14); color: var(--red-2); box-shadow: 0 0 0 8px rgba(255, 59, 78, .06); }
.dlg.is-in .dlg__ico { animation: dlg-pulo .5s cubic-bezier(.3, 1.6, .5, 1) .08s both; }
@keyframes dlg-pulo { from { transform: scale(.5); opacity: 0; } }
.dlg h2 { font-size: 1.22rem; line-height: 1.3; letter-spacing: -.015em; text-wrap: balance; }
.dlg p { margin-top: 10px; font-size: .92rem; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.dlg__acoes { display: flex; gap: 10px; margin-top: 26px; }
.dlg__acoes .botao { flex: 1; padding: 13px 16px; }
.dlg__cx:not(.dlg__cx--perigo) .botao[data-d="sim"] { background: linear-gradient(135deg, #e3c27a, #b8924a); color: #1a1406; box-shadow: 0 10px 30px -14px rgba(217, 181, 106, .9); }
@media (max-width: 480px) { .dlg__acoes { flex-direction: column-reverse; } }
