:root {
  --paper: #f4f0e8;
  --ink: #1a1a1a;
  --muted: #6f6a62;
  --line: #ddd6cb;
  --red: #c44536;
  --blue: #2f6fd6;
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Outfit", "Avenir Next", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
}
button, input, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wire {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #161616;
  color: #f4f0e8;
  height: 34px;
  overflow: hidden;
  border-bottom: 2px solid #161616;
}
.wire-track {
  display: flex;
  width: max-content;
  height: 100%;
  animation: marquee 36s linear infinite;
}
.wire:hover .wire-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.tick {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tick b { font-weight: 620; }
.up { color: #9ddead; }
.down { color: #f0a8a2; }
.flat { color: #d7d0c6; }

.page { max-width: 720px; margin: 0 auto; padding: 18px 18px 48px; }
.dateline {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3c3c3c;
}
.live {
  margin: 10px 0 0;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.live b { color: var(--red); font-weight: 650; letter-spacing: 0.04em; }
.clock {
  margin: 8px 0 0;
  letter-spacing: 0.14em;
  font-size: 14px;
  text-transform: uppercase;
}
.rule { border: 0; border-top: 1px solid #cfc8be; margin: 14px 0; }
.rule.heavy { border-top: 2px solid #111; margin: 16px 0 18px; }

.mast {
  text-align: center;
  padding: 8px 0 4px;
}
.logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 620;
  font-size: 64px;
  letter-spacing: -0.03em;
  line-height: 0.9;
  color: #111;
}
.logo .o { position: relative; z-index: 1; }
.logo .mark {
  width: 46px;
  height: 32px;
  margin: 0 1px 8px -14px;
  z-index: 0;
  display: inline-flex;
}
.logo .mark svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 1px 0 rgba(0,0,0,.08)); }
.tag {
  margin: 8px auto 0;
  max-width: 340px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3a3a3a;
}
.sections-btn {
  margin-top: 0;
  background: transparent;
  border: 1.5px solid #111;
  color: var(--blue);
  letter-spacing: 0.14em;
  padding: 8px 18px;
  cursor: pointer;
  font-size: 14px;
}
.menu {
  display: none;
  text-align: center;
  padding: 8px 0 4px;
}
.menu.open { display: block; }
.menu a, .menu button {
  display: inline-block;
  margin: 6px;
  background: none;
  border: 0;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 13px;
  cursor: pointer;
  color: var(--blue);
}

.quote { padding: 8px 0 18px; }
.kicker {
  margin: 0;
  color: var(--red);
  letter-spacing: 0.08em;
  font-size: 15px;
  font-weight: 650;
  text-transform: uppercase;
}
.price {
  margin: 4px 0 0;
  font-family: var(--serif);
  font-weight: 620;
  font-size: 52px;
  letter-spacing: -0.03em;
  line-height: 1;
}
.delta { margin: 8px 0 0; color: var(--red); font-size: 18px; }
.delta.up { color: #1d6b45; }
.delta.flat { color: var(--muted); }
.src { margin: 6px 0 0; color: #444; font-size: 16px; }
.spark { width: 100%; height: 150px; margin-top: 18px; }
.spark path { fill: none; stroke: #111; stroke-width: 1.6; }

.word {
  padding: 6px 0 8px;
}
.word h2 {
  font-family: var(--serif);
  font-weight: 560;
  font-size: 28px;
  line-height: 1.2;
  margin: 8px 0;
}
.word p { margin: 0; color: #333; }
.word small { display: block; margin-top: 8px; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; font-size: 12px; }

.story {
  padding: 8px 0 16px;
  border-bottom: 1px solid var(--line);
}
.story h3 {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.15;
  margin: 6px 0;
  font-weight: 560;
}
.story h3 button, .textbtn {
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
}
.lede { margin: 0 0 8px; color: #333; }
.meta { color: var(--muted); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }

/* V48: ações das manchetes alinhadas, responsivas e visualmente consistentes. */
.story-actions{display:flex;align-items:stretch;flex-wrap:wrap;gap:9px;margin:14px 0 2px;padding-top:12px;border-top:1px solid var(--line)}
.story-action-btn{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:9px 14px;border:1px solid var(--line);border-radius:10px;background:var(--paper, #fff);color:var(--ink);font:inherit;font-size:13px;font-weight:600;line-height:1.2;letter-spacing:0;text-transform:none;text-align:center;cursor:pointer;transition:background .18s ease,border-color .18s ease,transform .18s ease}
.story-action-btn svg{width:17px;height:17px;flex:0 0 17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.story-action-btn:hover{border-color:var(--ink);transform:translateY(-1px)}
.story-action-btn.read-action{background:var(--ink);border-color:var(--ink);color:var(--paper, #fff)}
.story-action-btn.share-action{color:#1769d2;border-color:rgba(23,105,210,.35);background:rgba(23,105,210,.055)}
.story-action-btn.admin-action{min-height:36px;padding:7px 10px}
.story-action-btn:focus-visible{outline:2px solid #1769d2;outline-offset:3px}
@media(max-width:480px){.story-actions{gap:8px}.story-action-btn{flex:1 1 135px;min-height:44px;padding:10px 9px}.story-action-btn.admin-action{flex:0 1 auto}}

.story img { width: 100%; height: 180px; object-fit: cover; margin: 8px 0; }

.letter { padding: 8px 0 12px; }
.letter h2 { font-family: var(--serif); font-weight: 560; font-size: 32px; margin: 6px 0; }
.row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.row input, .field input, textarea {
  border: 1px solid #111;
  background: transparent;
  padding: 10px 12px;
  color: var(--ink);
  width: 100%;
}
.row input { flex: 1 1 140px; }
.btn {
  border: 1.5px solid #111;
  background: #111;
  color: var(--paper);
  padding: 10px 14px;
  cursor: pointer;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}
.btn.ghost { background: transparent; color: var(--blue); }
.hp { position: absolute; left: -9999px; }
.foot {
  margin-top: 22px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.sheet-bg, .reader {
  position: fixed;
  inset: 0;
  background: rgba(20, 16, 12, 0.4);
  display: none;
  align-items: flex-end;
  justify-content: center;
  z-index: 40;
}
.sheet-bg.open, .reader.open { display: flex; }
.sheet {
  background: var(--paper);
  width: min(680px, 100%);
  max-height: 92vh;
  overflow: auto;
  padding: 18px 16px 28px;
  border-top: 2px solid #111;
}
.close {
  float: right;
  border: 1px solid #111;
  background: transparent;
  width: 32px;
  height: 32px;
  cursor: pointer;
}
.field { display: grid; gap: 4px; margin: 10px 0; font-size: 14px; }
.err { color: var(--red); min-height: 1.2em; font-size: 14px; }
.tabs { display: flex; gap: 8px; }
.comment { display: grid; grid-template-columns: 32px 1fr; gap: 8px; margin: 12px 0; }
.avatar {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: #111; color: var(--paper); font-size: 13px;
}
.comment p { margin: 2px 0; }
.tools button { border: 0; background: none; color: var(--blue); padding: 0 8px 0 0; cursor: pointer; }
.replies { margin-left: 24px; }
.lock {
  border: 1px solid #111;
  padding: 12px;
  margin-top: 8px;
}
select {
  border: 1px solid #111;
  background: transparent;
  padding: 10px 12px;
  color: var(--ink);
  width: 100%;
}
.rec-item { display: grid; grid-template-columns: minmax(110px, 22vw) minmax(0, 1fr); gap: 14px; align-items: start; margin: 16px 0; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.rec-poster { width: 100%; max-width: 180px; aspect-ratio: 2 / 3; overflow: hidden; background: #1b1b1b; border-radius: 2px; }
.poster-art { width: 100%; height: 100%; display: grid; place-items: center; position: relative; overflow: hidden; background: radial-gradient(ellipse at 50% 35%, #777 0, #292929 35%, #111 76%); color: #f4f0e8; }
.poster-art::before { content: ""; position: absolute; width: 74%; aspect-ratio: 1; border: 1px solid rgba(244,240,232,.55); transform: rotate(45deg); }
.poster-art::after { content: "O PREGÃO · CINEMA"; position: absolute; bottom: 8%; left: 6%; right: 6%; text-align: center; font-size: clamp(6px, 1.4vw, 9px); letter-spacing: .12em; }
.poster-art span { font-family: var(--serif); font-size: clamp(32px, 6vw, 56px); line-height: 1; }
.poster-title { position: absolute; z-index: 1; left: 7%; right: 7%; bottom: 20%; text-align: center; font-family: var(--serif); font-size: clamp(8px, 1.8vw, 13px); line-height: 1.08; text-shadow: 0 1px 3px #000; }
.poster-art.prime { background: radial-gradient(ellipse at 60% 30%, #477d94 0, #163443 43%, #101b22 82%); }
.poster-art.netflix { background: radial-gradient(ellipse at 40% 25%, #8b3030 0, #3d1010 48%, #130d0d 82%); }
.rec-copy { min-width: 0; }
.rec-item h3 { font-family: var(--serif); font-size: clamp(18px, 3.5vw, 22px); line-height: 1.15; margin: 4px 0 7px; font-weight: 560; overflow-wrap: anywhere; }
.rec-item p { margin: 0; }
.rec-item small { color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; font-size: 12px; }

/* Slots de publicidade: espaço reservado que se adapta automaticamente quando o anúncio carrega */
.ad-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100px;
  margin: 20px auto;
  padding: 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #8b857b;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  overflow: hidden;
  background: rgba(0,0,0,.02);
}
.ad-slot:has(ins.adsbygoogle) {
  min-height: 90px;
  border: 0;
  background: transparent;
  padding: 0;
}
.ad-slot ins.adsbygoogle {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0 auto;
}
button:disabled { opacity: .55; cursor: wait; }
@media (max-width: 480px) {
  .rec-item { grid-template-columns: minmax(90px, 28vw) minmax(0, 1fr); gap: 10px; }
  .rec-poster { max-width: 140px; }
  .ad-slot { margin: 16px auto; min-height: 80px; }
}

@media (min-width: 760px) {
  .logo { font-size: 84px; }
  .logo .mark { width: 58px; height: 40px; margin-left: -18px; }
  .price { font-size: 68px; }
  .sheet-bg, .reader { align-items: center; }
  .sheet { border: 2px solid #111; }
}

/* Atalho de administração: mantém a linguagem visual original e adapta ao celular. */
.header-actions { display:flex; align-items:center; gap:8px; }
.admin-entry { border:1px solid var(--ink, #202020); background:transparent; }
.admin-entry:hover { background:var(--ink, #202020); color:var(--paper, #f4f0e8); }
#admin-form input[type="file"] { max-width:100%; }
#admin-form button[disabled] { opacity:.65; cursor:wait; }
@media (max-width: 640px) {
  .header-actions { gap:6px; }
  .admin-entry { font-size: .78rem; padding: .55rem .65rem; }
}

/* Capas reais e ferramentas administrativas */
.rec-poster { background:#161616; }
.rec-poster img { width:100%; height:100%; object-fit:cover; object-position:center; }
.poster-fallback { background:linear-gradient(145deg,#292929,#111); }
.admin-manage { margin:12px 0 18px; }
.admin-row { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; padding:10px 0; border-bottom:1px solid var(--line); }
.admin-row > span:first-child { flex:1; overflow-wrap:anywhere; font-weight:500; }
.admin-row > span:last-child { white-space:nowrap; }
.danger { color:#b3261e !important; }
#admin-cancel-edit[hidden] { display:none; }


/* v8: versão e estado real da conexão com o Worker/KV */
.build-version{font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:#777;margin:.25rem 0 .5rem}
.api-status{font-size:.95rem;line-height:1.45;margin:1rem 0;color:#b53d2d;overflow-wrap:anywhere}
.api-status.good{color:#176443}
.api-status.bad{color:#b53d2d}

/* Garante que o botão de cadastro fique realmente oculto no modo ADM. */
.tabs button[hidden] { display: none !important; }


/* v10: imagens responsivas com enquadramento consistente e fallback legível */
.rec-item { align-items: stretch; }
.rec-poster { position:relative; flex:0 0 29%; width:29%; max-width:180px; min-width:96px; aspect-ratio:2/3; height:auto; overflow:hidden; background:#161616; border-radius:3px; }
.rec-poster img { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:cover; object-position:center; }
.poster-placeholder { display:none; position:absolute; inset:0; padding:12px 8px; color:#f4f0e8; background:radial-gradient(ellipse at 50% 25%,#4a4a4a 0,#202020 58%,#101010 100%); align-items:center; justify-content:center; flex-direction:column; gap:12px; text-align:center; font-size:10px; letter-spacing:.14em; text-transform:uppercase; }
.poster-placeholder b { font-family:var(--serif); font-size:clamp(14px,3vw,22px); letter-spacing:0; text-transform:none; line-height:1.1; }
.poster-fallback .poster-placeholder { display:flex; }
.story-image-frame { position:relative; width:100%; aspect-ratio:16/9; min-height:130px; max-height:420px; margin:8px 0 14px; overflow:hidden; background:#e9e4da; border:1px solid var(--line); }
.story-image-frame img { display:block; width:100%; height:100%; margin:0; object-fit:cover; object-position:center; }
.image-placeholder { display:none; position:absolute; inset:0; align-items:center; justify-content:center; padding:16px; text-align:center; color:#777; letter-spacing:.08em; text-transform:uppercase; font-size:12px; background:linear-gradient(135deg,#eee9df,#ddd6ca); }
.story-image-frame.image-unavailable .image-placeholder { display:flex; }
.reader-image-frame { max-height:520px; }
@media (max-width:480px) { .rec-poster { width:34%; flex-basis:34%; max-width:140px; min-width:92px; } .story-image-frame { min-height:110px; } }


/* v11: Acesso ADM e Seções alinhados com a mesma altura e linguagem visual. */
.header-actions { display:flex; align-items:stretch; justify-content:flex-start; gap:8px; flex-wrap:wrap; }
.header-actions > button { box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center; min-height:44px; margin:0; padding:8px 18px; border:1.5px solid #111; border-radius:0; background:transparent; color:var(--blue); font:inherit; font-size:14px; letter-spacing:.12em; line-height:1.2; cursor:pointer; }
.header-actions > button:hover, .header-actions > button:focus-visible { background:var(--ink, #202020); color:var(--paper, #f4f0e8); }
.header-actions > .admin-entry { letter-spacing:0; }
@media (max-width:640px) { .header-actions { gap:8px; } .header-actions > button { min-height:44px; padding:8px 14px; font-size:14px; } }


/* v12: player musical fixo e persistente entre as seções da página */
.music-dock { position:fixed; z-index:1000; right:12px; bottom:calc(12px + env(safe-area-inset-bottom)); width:min(310px,calc(100vw - 24px)); color:#f4f0e8; font-family:inherit; }
.music-toggle { width:100%; min-height:46px; display:flex; align-items:center; gap:10px; padding:11px 14px; border:1px solid #111; background:#171717; color:#f4f0e8; text-align:left; font:inherit; font-size:14px; letter-spacing:.03em; box-shadow:0 4px 18px #0002; cursor:pointer; }
.music-toggle > span:nth-child(2) { flex:1; }
.music-caret { font-size:20px; }
.music-panel { margin-bottom:7px; padding:14px; background:#171717; color:#f4f0e8; border:1px solid #333; box-shadow:0 4px 22px #0003; }
.music-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.music-heading button { border:0; background:transparent; color:inherit; font-size:25px; cursor:pointer; }
.music-panel p { margin:8px 0 12px; color:#d5d0c6; font-size:13px; }
.music-panel small { display:block; margin-top:10px; color:#c8c2b7; font-size:11px; line-height:1.45; }
.music-video { display:flex; min-height:120px; flex-direction:column; align-items:center; justify-content:center; gap:12px; padding:14px; background:#262626; text-align:center; font-size:12px; }
.music-video button { padding:10px 13px; border:1px solid #f4f0e8; background:transparent; color:#f4f0e8; font:inherit; cursor:pointer; }
.music-video iframe { display:block; width:100%; aspect-ratio:16/9; border:0; }
@media (max-width:480px) { .music-dock { right:8px; bottom:calc(8px + env(safe-area-inset-bottom)); width:min(280px,calc(100vw - 16px)); } .music-toggle { min-height:42px; } }

/* v13 playlist controls */
.music-controls{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;width:100%}.music-controls button{padding:8px 9px!important;font-size:12px!important}.music-volume{display:flex;align-items:center;gap:10px;margin:10px 0;color:#f4f0e8;font-size:12px}.music-volume input{width:100%;min-width:0;accent-color:#c44536}.music-off{width:100%;padding:8px;border:1px solid #777;background:#161616;color:#f4f0e8;cursor:pointer;font:inherit;font-size:12px}

/* Botão para instalar/adicionar O Pregão à tela inicial */
.install-app-btn {
  border: 1px solid #161616;
  border-radius: 999px;
  background: #161616;
  color: #fff;
  padding: 9px 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.install-app-btn:focus-visible { outline: 3px solid #2f6fd6; outline-offset: 3px; }
@media (max-width: 480px) {
  .header-actions { flex-wrap: wrap; justify-content: center; gap: 8px; }
  .install-app-btn { font-size: 13px; padding: 8px 11px; }
}


/* V16: mantém logotipo e slogan presos abaixo da faixa de cotações, inclusive no iPhone */
.mast {
  position: -webkit-sticky;
  position: sticky;
  top: 34px;
  z-index: 100;
  isolation: isolate;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 7px 0 10px;
  scroll-margin-top: 34px;
}
.mast .logo { font-size: clamp(42px, 9vw, 64px); }
.mast .tag { margin-top: 5px; }
.mast .build-version { margin: 3px 0 0; }
.mast .header-actions { margin-top: 8px; display: flex; align-items: stretch; justify-content: center; gap: 8px; flex-wrap: wrap; }
  .mast .header-actions button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; margin: 0; box-sizing: border-box; }
.mast .sections-btn { margin-top: 0; }
.converter-card {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.28);
}
.converter-card input, .converter-card select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #b9b1a6;
  border-radius: 0;
}
.converter-controls { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 12px; }
.converter-result-label { margin: 16px 0 0; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.converter-result { display: block; margin-top: 3px; font-family: var(--serif); font-size: clamp(30px, 8vw, 44px); overflow-wrap: anywhere; }
.converter-card .src { margin-bottom: 0; }
.visitor-counter { margin: 22px 0 0; color: var(--muted); font-size: 10px; text-align: center; letter-spacing: .04em; }
@media (max-width: 480px) {
  .mast .logo { font-size: 46px; }
  .mast .tag { font-size: 10px; }
  .mast .header-actions { display: flex; gap: 5px; justify-content: center; flex-wrap: wrap; }
  .mast .header-actions button { padding: 7px 9px; font-size: 12px; min-height: 44px; line-height: 1.2; }
  .mast .menu a, .mast .menu button { font-size: 11px; margin: 4px; }
}

.story-date { margin: 5px 0 9px; color: var(--muted); font-size: 12px; letter-spacing: .02em; }

/* V21: ícone de compartilhamento redesenhado */
.share-btn { color: #1769d2; }
.share-btn:focus-visible { outline: 2px solid #1769d2; outline-offset: 3px; }
.share-icon { display: inline-block; width: 17px; height: 17px; flex: 0 0 17px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; margin-right: 5px; }
.meta .share-btn { display: inline-flex; align-items: center; gap: 2px; }
.meta .share-icon { width: 15px; height: 15px; flex-basis: 15px; margin-right: 2px; }
.reader-share { margin: 18px 0 22px; }
.reader-share .btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
.reader-share .share-icon { width: 19px; height: 19px; flex-basis: 19px; margin-right: 1px; }


/* V24: homepage shows 12 latest headlines; category filters expose older stories. */
.headline-filters{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 10px}
.headline-filter{appearance:none;border:1px solid #bdb7ad;background:transparent;color:inherit;padding:8px 12px;font:inherit;font-size:.9rem;cursor:pointer;border-radius:2px}
.headline-filter.active{background:#191919;color:#f4f0e8;border-color:#191919}
.headline-view-note{font-size:.88rem;color:#77736c;margin:8px 0 18px}

/* V25: modernização visual sutil dos controles, sem alterar logotipo ou slogan. */
:root {
  --control-radius: 12px;
  --control-shadow: 0 2px 7px rgba(26, 26, 26, .07);
}
button, .headline-filter, .header-actions > button, .btn, .install-app-btn {
  -webkit-tap-highlight-color: transparent;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid rgba(47, 111, 214, .55);
  outline-offset: 3px;
}
.mast .header-actions > button,
.header-actions > button,
.sections-btn,
.install-app-btn {
  min-height: 44px;
  border-radius: var(--control-radius);
  border: 1px solid rgba(26, 26, 26, .18);
  box-shadow: var(--control-shadow);
  font-weight: 600;
  letter-spacing: .025em;
}
.mast .header-actions > .install-app-btn,
.header-actions > .install-app-btn,
.install-app-btn {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.mast .header-actions > .admin-entry,
.header-actions > .admin-entry,
.mast .header-actions > .sections-btn,
.header-actions > .sections-btn {
  background: rgba(255,255,255,.48);
  color: var(--ink);
}
.mast .header-actions > button:hover,
.header-actions > button:hover,
.sections-btn:hover,
.install-app-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(26,26,26,.12);
}
.btn {
  border-radius: 10px;
  border: 1px solid var(--ink);
  box-shadow: var(--control-shadow);
  font-weight: 600;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 5px 14px rgba(26,26,26,.13); }
.btn.ghost { border-color: rgba(26,26,26,.22); border-radius: 10px; }
.headline-filter {
  border-radius: 999px;
  padding: 9px 15px;
  border-color: #d2cabe;
  background: rgba(255,255,255,.42);
  font-weight: 550;
}
.headline-filter:hover { border-color: var(--red); box-shadow: var(--control-shadow); }
.headline-filter.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.story {
  padding: 14px 0 20px;
  border-bottom-color: rgba(120, 108, 93, .22);
}
.story-image-frame, .story img { border-radius: 12px; }
.converter-card {
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(26,26,26,.045);
}
.converter-card input, .converter-card select,
.row input, .field input, textarea {
  border-radius: 10px;
}
.music-toggle, .music-panel {
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
}
.music-toggle { border-color: rgba(255,255,255,.14); }
.music-video, .music-video button { border-radius: 9px; }
@media (max-width: 480px) {
  .mast .header-actions { gap: 7px; }
  .mast .header-actions button { border-radius: 10px; padding: 8px 11px; }
  .headline-filters { gap: 7px; }
  .headline-filter { padding: 8px 12px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}


/* Vídeos incorporados nas manchetes */
.story-video-frame { position:relative; width:100%; aspect-ratio:16/9; margin:8px 0 14px; overflow:hidden; background:#111; border:1px solid var(--line); border-radius:12px; }
.story-video-frame iframe, .story-video-frame video { display:block; width:100%; height:100%; border:0; object-fit:contain; background:#111; }
.video-link { margin:10px 0 14px; }
.video-link a { display:inline-flex; align-items:center; gap:8px; padding:10px 14px; border:1px solid var(--line); border-radius:999px; color:inherit; text-decoration:none; font-weight:600; }
.field-hint { margin:-6px 0 12px; color:var(--muted, #777); font-size:.88rem; line-height:1.45; }


/* V35: créditos discretos do catálogo TMDB */
.tmdb-credit { display:flex; align-items:center; gap:12px; margin:18px 0 0; padding-top:12px; border-top:1px solid rgba(127,127,127,.25); font-size:.78rem; line-height:1.45; opacity:.88; }
.tmdb-credit img { display:block; width:48px; height:48px; object-fit:contain; flex:0 0 48px; }
.tmdb-credit p { margin:0 0 4px; }
.tmdb-credit small { display:block; font-size:.72rem; }
.movie-loading { opacity:.75; font-size:.9rem; }
@media (max-width:480px) { .tmdb-credit { align-items:flex-start; gap:9px; } .tmdb-credit img { width:40px; height:40px; flex-basis:40px; } }


/* V36: cabeçalho editorial futurista com vidro fosco; preserva paleta, tipografia e slogan. */
.mast {
  background: rgba(244, 240, 232, .88);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  backdrop-filter: blur(18px) saturate(125%);
  border-bottom: 1px solid rgba(221, 214, 203, .72);
  box-shadow: 0 10px 26px rgba(26, 26, 26, .055);
  position: -webkit-sticky;
  position: sticky;
  top: 34px;
  overflow: visible;
}
.mast::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: calc(100% - 1px);
  left: -1px;
  right: -1px;
  height: 24px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(244, 240, 232, .72) 0%, rgba(244, 240, 232, .34) 42%, rgba(244, 240, 232, 0) 100%);
}
.mast .logo {
  text-shadow: 0 1px 0 rgba(255, 255, 255, .22);
}
.mast .tag {
  text-wrap: balance;
}
.mast .header-actions > button {
  transition: background-color .22s ease, color .22s ease, border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.mast .header-actions > .admin-entry,
.mast .header-actions > .sections-btn {
  background: rgba(255, 255, 255, .38);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.mast .header-actions > button:hover,
.mast .header-actions > button:focus-visible {
  box-shadow: 0 7px 18px rgba(26, 26, 26, .10);
}
@media (max-width: 480px) {
  .mast { padding-bottom: 11px; }
  .mast::after { height: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .mast .header-actions > button { transition: none; }
}


/* V37: garante que o botão de fechar o leitor fique acima do cabeçalho fixo */
.reader {
  z-index: 1200;
  align-items: flex-start;
  padding-top: env(safe-area-inset-top, 0px);
}

.reader .sheet {
  position: relative;
  width: min(680px, 100%);
  height: 100%;
  max-height: 100dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-top: 58px;
  padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
}

.reader .close {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 12px);
  right: max(12px, calc((100vw - min(680px, 100vw)) / 2 + 12px));
  z-index: 1300;
  float: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(244, 240, 232, .96);
  box-shadow: 0 3px 14px rgba(0, 0, 0, .16);
  font-size: 28px;
  line-height: 1;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.reader .close:focus-visible {
  outline: 3px solid #2f6fd6;
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .reader .sheet {
    padding-left: 16px;
    padding-right: 16px;
  }
  .reader .close {
    right: 12px;
  }
}


/* V39 — Cinema em Destaque: experiência editorial cinematográfica */
.cinema-section {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 4vw, 38px) clamp(16px, 3vw, 28px) 20px;
  margin-top: 18px;
  border: 1px solid rgba(170, 135, 87, .25);
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 90% 5%, rgba(178, 67, 48, .12), transparent 42%),
    linear-gradient(145deg, #211f1d 0%, #302923 56%, #171615 100%);
  color: #f8f2e8;
  box-shadow: 0 18px 42px rgba(24, 20, 16, .13);
}
.cinema-section::before {
  content: "CINEMA";
  position: absolute;
  right: -7px;
  top: 25px;
  color: rgba(255,255,255,.035);
  font-family: Georgia, serif;
  font-size: clamp(58px, 12vw, 124px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.06em;
  pointer-events: none;
}
.cinema-heading { position: relative; z-index: 1; max-width: 680px; }
.cinema-eyebrow {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 12px; color: #d9b98a;
  font-size: .68rem; font-weight: 800; letter-spacing: .16em;
}
.cinema-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #d34d37; box-shadow: 0 0 0 4px rgba(211,77,55,.14); }
.cinema-section .kicker { color: #e16b54; margin: 0 0 8px; font-weight: 800; letter-spacing: .13em; }
.cinema-title {
  position: relative; z-index: 1; margin: 0;
  color: #fff9f0; font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 7vw, 3.55rem); line-height: .99;
  letter-spacing: -.045em; font-weight: 700;
}
.cinema-title em { color: #e8c18d; font-weight: 500; }
.cinema-intro { max-width: 500px; margin: 14px 0 24px; color: rgba(248,242,232,.72); font-size: 1rem; line-height: 1.55; }
.cinema-recommendations { position: relative; z-index: 1; }
.cinema-feature {
  display: grid; grid-template-columns: minmax(130px, 38%) minmax(0, 1fr);
  gap: clamp(15px, 3vw, 28px); align-items: center;
  padding: 14px; border: 1px solid rgba(232,193,141,.23);
  border-radius: 19px; background: rgba(255,255,255,.055);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.cinema-poster { position: relative; width: 100%; aspect-ratio: 2 / 3; min-height: 210px; overflow: hidden; border-radius: 13px; background: #111; box-shadow: 0 12px 25px rgba(0,0,0,.32); }
.cinema-poster img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.cinema-feature:hover .cinema-poster img { transform: scale(1.035); }
.cinema-poster::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.76)); pointer-events: none; }
.cinema-poster-label { position: absolute; z-index: 2; left: 9px; right: 9px; bottom: 10px; color: #fff; font-size: .58rem; font-weight: 800; letter-spacing: .09em; line-height: 1.4; }
.cinema-poster-label span { display: inline-grid; place-items: center; width: 21px; height: 21px; margin-right: 4px; border-radius: 50%; background: #d64c35; font-size: .65rem; }
.cinema-copy { min-width: 0; color: #f8f2e8; }
.cinema-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.cinema-pill { display: inline-block; padding: 6px 9px; border-radius: 999px; color: #241c15; background: #e8c18d; font-size: .59rem; font-weight: 900; letter-spacing: .07em; }
.cinema-year { color: rgba(248,242,232,.6); font-size: .82rem; font-weight: 600; }
.cinema-copy h3 { margin: 0 0 10px; color: #fff9f0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.35rem, 4.4vw, 2.15rem); line-height: 1.06; letter-spacing: -.025em; overflow-wrap: anywhere; }
.cinema-copy p { margin: 0; color: rgba(248,242,232,.78); font-size: clamp(.9rem, 2.7vw, 1.05rem); line-height: 1.55; }
.cinema-bottomline { display: flex; align-items: center; gap: 7px; margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.13); color: #d9b98a; font-size: .57rem; font-weight: 800; letter-spacing: .08em; line-height: 1.4; }
.cinema-star { color: #e8c18d; font-size: 1rem; }
.cinema-attribution { position: relative; z-index: 1; margin: 13px 2px 0; color: rgba(248,242,232,.42); font-size: .67rem; line-height: 1.4; }
.cinema-attribution a { color: rgba(248,242,232,.64); text-decoration: underline; text-underline-offset: 2px; }
.cinema-section .movie-loading { color: rgba(248,242,232,.72); }
.cinema-poster.poster-fallback { display: grid; place-items: center; padding: 14px; background: linear-gradient(145deg, #40342a, #151312); }
.cinema-poster.poster-fallback .poster-placeholder { position: static; display: grid; place-items: center; color: #e8c18d; text-align: center; font-family: Georgia, serif; font-size: 1.1rem; }
.cinema-poster.poster-fallback::after { display: none; }
@media (max-width: 520px) {
  .cinema-section { padding: 22px 14px 16px; border-radius: 19px; margin-left: 0; margin-right: 0; }
  .cinema-intro { margin-bottom: 18px; font-size: .94rem; }
  .cinema-feature { grid-template-columns: minmax(108px, 36%) minmax(0, 1fr); gap: 12px; padding: 9px; border-radius: 15px; }
  .cinema-poster { min-height: 175px; border-radius: 10px; }
  .cinema-poster-label { left: 6px; right: 5px; bottom: 7px; font-size: .48rem; }
  .cinema-poster-label span { width: 17px; height: 17px; }
  .cinema-pill { font-size: .52rem; padding: 5px 7px; }
  .cinema-copy h3 { font-size: clamp(1.15rem, 5vw, 1.55rem); }
  .cinema-copy p { font-size: .86rem; line-height: 1.45; }
  .cinema-bottomline { margin-top: 11px; padding-top: 9px; font-size: .48rem; }
}
@media (prefers-reduced-motion: reduce) { .cinema-poster img { transition: none; } }


/* V40 — conversor com acabamento trader, preservando a identidade editorial */
.converter-card { position: relative; overflow: hidden; padding: clamp(16px, 4vw, 24px); border: 1px solid #d6d0c5; border-radius: 20px; background: linear-gradient(145deg, #fffdf8 0%, #f0ece3 100%); box-shadow: 0 12px 32px rgba(30,28,23,.07); }
.converter-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, #111 0%, #17c98f 55%, #0a8d68 100%); }
.converter-card > .field, .converter-controls .field { display:block; margin: 0 0 8px; font-weight: 600; font-size: 14px; color:#4f514f; }
.converter-card input, .converter-card select { min-height: 52px; border-radius: 12px; border: 1px solid #c8c1b5; background: rgba(255,255,255,.75); font: inherit; font-size: 17px; transition: border-color .18s, box-shadow .18s; }
.converter-card input:focus, .converter-card select:focus { outline: none; border-color:#10a978; box-shadow:0 0 0 3px rgba(16,169,120,.13); }
.converter-controls { margin-top: 18px; gap:10px; }
#convert-swap { min-height:50px; width:100%; border-radius:12px; border:1px solid #161a19; background:#151817; color:#f8f5ed; font-weight:700; letter-spacing:.045em; text-transform:uppercase; }
#convert-swap:hover { background:#202724; }
.trader-result-panel { margin-top:20px; padding:16px; border-radius:15px; background:#101816; color:#f6f4ed; border:1px solid #293a33; box-shadow: inset 0 1px 0 rgba(255,255,255,.035); }
.trader-result-top { display:flex; justify-content:space-between; align-items:center; gap:8px; }
.trader-result-panel .converter-result-label { margin:0; color:#b5c5bd; font-size:11px; font-weight:700; letter-spacing:.12em; }
.market-live { color:#a9bdb3; font-size:11px; white-space:nowrap; }
.market-live i { display:inline-block; width:7px; height:7px; margin-right:5px; border-radius:50%; background:#20d99a; box-shadow:0 0 10px rgba(32,217,154,.55); }
.trader-result-panel .converter-result { margin-top:7px; color:#22d99c; font-size:clamp(29px, 7.6vw, 43px); line-height:1.15; font-variant-numeric:tabular-nums; }
.trader-result-panel .src { margin:10px 0 0; color:#bdc8c1; font-size:12px; line-height:1.55; }
.trader-chart { margin-top:14px; padding:15px 14px 10px; border:1px solid #293a33; border-radius:15px; background:linear-gradient(145deg,#071019 0%,#101816 100%); color:#f6f4ed; box-shadow:inset 0 1px 0 rgba(255,255,255,.035); }
.trader-chart-head { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.trader-chart-head div { display:flex; flex-direction:column; gap:2px; }
.chart-kicker { color:#20d99a; font-size:9px; letter-spacing:.16em; font-weight:700; }
.trader-chart-head strong { font-size:15px; letter-spacing:.02em; }
.trader-chart-head strong span { color:#159d72; }
.chart-period { border:1px solid #245344; border-radius:7px; padding:5px 8px; color:#a9bdb3; background:#0c211d; font-size:9px; font-weight:700; letter-spacing:.1em; }
.trader-sparkline { display:block; width:100%; height:auto; margin-top:12px; overflow:visible; }
.chart-area { fill:url(#chartFill); }
.chart-line { fill:none; stroke:#0eb982; stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; }
.chart-dot { fill:#0eb982; stroke:#e7fff5; stroke-width:1.5; }
.chart-note { margin:4px 0 0; color:#a9bdb3; font-size:10px; }
@media (min-width:700px) { .converter-card { padding:24px; } .trader-result-panel { padding:20px; } .converter-controls { grid-template-columns:1fr; } }


/* V42 — cinema cinematográfico e gráfico BTC trader; fundo geral permanece claro */
#mercado .quote:first-child {
  position: relative; overflow: hidden; margin: 14px 0 22px; padding: 18px 16px 14px;
  border: 1px solid #126b59; border-radius: 18px;
  background: linear-gradient(145deg, #06131a 0%, #061d22 58%, #071117 100%);
  color: #f6f7f2; box-shadow: 0 12px 28px rgba(8, 24, 25, .12);
}
#mercado .quote:first-child .kicker { color: #20d99a; }
#mercado .quote:first-child .price { color: #f7f7f2; }
#mercado .quote:first-child .delta { color: #ff695f; }
#mercado .quote:first-child .src { color: #b4c8c5; }
#btc-spark { display:block; height:190px; margin-top:18px; padding:8px; box-sizing:border-box; border:1px solid #174a4b; border-radius:13px; background:linear-gradient(180deg,rgba(2,15,23,.8),rgba(4,27,28,.75)); }
#btc-spark path { fill:none; stroke:#14d99a; stroke-width:2.7; stroke-linecap:round; stroke-linejoin:round; filter:drop-shadow(0 0 3px rgba(20,217,154,.2)); }
#mercado .quote:first-child::after { content:"BTC / USD  •  VISUALIZAÇÃO DE MERCADO"; display:block; margin-top:10px; color:#8eb6b0; font-size:9px; letter-spacing:.12em; }
/* Cinema: permanece uma única seção escura, isolada no site claro */
.cinema-section { background:linear-gradient(145deg,#06151c 0%,#09242b 52%,#10191d 100%); border-color:#0a9b79; color:#f8f5ed; box-shadow:0 16px 36px rgba(8,25,28,.12); }
.cinema-section .cinema-eyebrow { color:#9debd2; }
.cinema-section .cinema-live-dot { background:#18d99a; box-shadow:0 0 0 4px rgba(24,217,154,.14); }
.cinema-section .kicker { color:#28dba3; }
.cinema-section .cinema-title em { color:#e8c18d; }
.cinema-feature { grid-template-columns:minmax(0,1fr); padding:0; gap:0; overflow:hidden; background:#07131b; border-color:#17645c; }
.cinema-feature .cinema-poster { min-height:260px; max-height:390px; aspect-ratio:16/9; border-radius:0; box-shadow:none; }
.cinema-feature .cinema-poster img { object-fit:cover; }
.cinema-feature .cinema-copy { padding:16px; }
.cinema-feature .cinema-copy h3 { color:#fffaf0; }
.cinema-feature .cinema-copy p { color:#d1ded9; }
.cinema-feature .cinema-pill { color:#031b14; background:#20d99a; }
.cinema-feature .cinema-year { color:#a4bdb6; }
.cinema-feature .cinema-bottomline { color:#61e9bc; border-top-color:rgba(32,217,154,.22); }
.cinema-section .cinema-attribution { display:none; }
@media(max-width:520px) { #mercado .quote:first-child { padding:15px 12px 12px; } #btc-spark { height:165px; } .cinema-feature .cinema-poster { min-height:220px; } }


/* V43 — ajuste pontual do gráfico BTC e capa de cinema; fundo geral preservado */
#mercado > .quote:first-child {
  position: relative;
  padding: 20px 18px 16px;
  margin: 18px 0 24px;
  border: 1px solid rgba(0, 190, 145, .55);
  border-radius: 24px;
  background: linear-gradient(145deg, #071d22 0%, #031318 100%);
  color: #f7fbf9;
  box-shadow: 0 14px 34px rgba(0, 25, 30, .12);
  overflow: hidden;
}
#mercado > .quote:first-child .kicker { color: #18d7a0; }
#mercado > .quote:first-child .price {
  color: #f7fbf9;
  font-size: clamp(42px, 10vw, 70px);
  line-height: 1.02;
  overflow-wrap: anywhere;
}
#mercado > .quote:first-child .delta { color: #ff6b62; }
#mercado > .quote:first-child .delta.up { color: #18d7a0; }
#mercado > .quote:first-child .src { color: #b4c9c8; }
#mercado > .quote:first-child .spark {
  display: block;
  height: clamp(170px, 48vw, 260px);
  margin-top: 20px;
  padding: 10px;
  box-sizing: border-box;
  border: 1px solid rgba(30, 215, 170, .30);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(0,12,18,.85), rgba(0,30,31,.55));
}
#mercado > .quote:first-child .spark path {
  stroke: #13e0a4;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 3px rgba(19,224,164,.3));
}
#mercado > .quote:first-child::after {
  content: "BTC / USD  ·  VISUALIZAÇÃO DE MERCADO";
  display: block;
  margin-top: 12px;
  color: #8fb8b3;
  font-size: .68rem;
  letter-spacing: .13em;
}
.cinema-feature {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: 0;
  overflow: hidden;
}
.cinema-feature .cinema-poster {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  border-radius: 0;
  box-shadow: none;
}
.cinema-feature .cinema-poster img { object-position: center 35%; }
.cinema-feature .cinema-copy { padding: 18px; }
@media (max-width: 520px) {
  #mercado > .quote:first-child { padding: 18px 14px 14px; border-radius: 21px; }
  #mercado > .quote:first-child .spark { height: 190px; }
  .cinema-feature { grid-template-columns: minmax(0, 1fr); padding: 0; }
  .cinema-feature .cinema-poster { aspect-ratio: 16 / 9; min-height: 0; }
  .cinema-feature .cinema-copy { padding: 15px 14px 17px; }
}


/* V44 — correção definitiva: linha BTC visível e pôster ocupando toda a largura */
#mercado > .quote:first-child #btc-spark polyline {
  stroke: #13e0a4 !important;
  stroke-width: 3 !important;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 4px rgba(19,224,164,.42));
}
#mercado > .quote:first-child #btc-spark {
  width: 100%;
  min-height: 190px;
  overflow: visible;
}
#recs .cinema-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0 !important;
  padding: 0 !important;
  overflow: hidden;
}
#recs .cinema-feature > .cinema-poster {
  display: block;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  flex: 0 0 100% !important;
  aspect-ratio: 16 / 9 !important;
  min-height: 0 !important;
  max-height: none !important;
  border-radius: 0 !important;
}
#recs .cinema-feature > .cinema-poster img {
  width: 100% !important; height: 100% !important; object-fit: cover; object-position: center 35%;
}
#recs .cinema-feature > .cinema-copy { padding: 18px !important; }
@media (max-width: 520px) {
  #mercado > .quote:first-child #btc-spark { min-height: 180px; height: 180px; }
  #recs .cinema-feature > .cinema-poster { aspect-ratio: 16 / 9 !important; }
  #recs .cinema-feature > .cinema-copy { padding: 16px 14px 18px !important; }
}

/* V45 — início da página inspirado na referência aprovada: cabeçalho editorial e conversor trader logo abaixo */
.converter-section { margin-top: 8px; }
.converter-section > .kicker { color: #3c4542; }
.converter-section > h2 { margin-top: 5px; }
.converter-card {
  color: #f6f7f2;
  background: linear-gradient(145deg, #061019 0%, #071a22 56%, #07131a 100%);
  border: 1px solid #155b50;
  border-radius: 18px;
  padding: clamp(15px, 4vw, 24px);
  box-shadow: 0 14px 32px rgba(7, 20, 26, .14);
}
.converter-card::before { height: 3px; background: linear-gradient(90deg, #0bd79b, #138e78, #0bd79b); }
.converter-card > .field, .converter-controls .field { color: #c9d8d6; }
.converter-card input, .converter-card select {
  color: #f4f8f6; background: #0b2029; border: 1px solid #28505a;
  border-radius: 11px; min-height: 50px;
}
.converter-card input:focus, .converter-card select:focus { border-color: #18d69a; box-shadow: 0 0 0 3px rgba(24,214,154,.14); }
#convert-swap { background: linear-gradient(90deg, #25d994, #05b98e); color: #06221b; border: 0; border-radius: 11px; }
.trader-result-panel { border-color: #21434a; background: #08151d; }
.trader-chart { border-color: #1b4a4d; background: linear-gradient(145deg, #06131b, #071d22); }
.converter-card .src { color: #bdccca; }
@media (max-width: 480px) {
  .page { padding-top: 12px; }
  .mast { padding-top: 8px; padding-bottom: 10px; }
  .mast .logo { font-size: 46px; }
  .mast .tag { font-size: 10px; letter-spacing: .12em; }
  .converter-section h2 { font-size: clamp(30px, 8vw, 39px); line-height: 1.08; }
  .converter-section .lede { font-size: 15px; line-height: 1.5; }
  .converter-card { border-radius: 16px; }
}

/* V46 — cabeçalho inspirado na referência enviada, sem alterar o restante do site */
@media (max-width: 640px) {
  .page { padding-top: 0; }
  .dateline { margin-top: 8px; }
  .live { margin-top: 8px; }
  .mast {
    background: #f4f0e8;
    border: 0;
    box-shadow: none;
    padding: 18px 12px 16px;
    margin-top: 10px;
    text-align: center;
  }
  .mast .logo {
    justify-content: center;
    font-size: clamp(48px, 12vw, 64px);
    line-height: .98;
    letter-spacing: -.055em;
    white-space: nowrap;
  }
  .mast .tag {
    max-width: 360px;
    margin: 8px auto 0;
    font-size: 10px;
    line-height: 1.65;
    letter-spacing: .16em;
    text-transform: uppercase;
  }
  .mast .build-version { margin-top: 8px; }
  .mast .header-actions { margin-top: 14px; }
  .mast .header-actions button { border-radius: 14px; }
}

/* V50: recuperação clara quando a API de manchetes falhar */
.headline-load-detail{opacity:.78;font-size:.92em;overflow-wrap:anywhere}.headline-retry-btn{margin-top:10px;padding:10px 14px;border:1px solid currentColor;border-radius:10px;background:transparent;color:inherit;font:inherit;font-weight:700;cursor:pointer}.headline-retry-btn:disabled{opacity:.65;cursor:wait}


/* V56 — área permanente de transmissão ao vivo */
.live-section { margin: 24px 0 30px; padding: clamp(16px, 3vw, 26px); border: 1px solid var(--line); border-top: 3px solid var(--red); background: rgba(255,255,255,.42); border-radius: 12px; }
.live-heading-row { display:flex; align-items:center; gap:10px; margin-bottom:10px; }
.live-heading-row .kicker { margin:0; color:var(--red); font-weight:800; letter-spacing:.12em; }
.live-pulse { display:inline-block; width:12px; height:12px; border-radius:50%; background:#c91f32; position:relative; flex:0 0 12px; }
.live-pulse::before,.live-pulse::after { content:""; position:absolute; inset:-5px; border:2px solid #c91f32; border-radius:50%; animation:live-ripple 1.8s ease-out infinite; }
.live-pulse::after { animation-delay:.9s; }
.live-section.is-live .live-pulse { background:#e0182d; box-shadow:0 0 0 3px rgba(224,24,45,.12); }
.live-status { margin-left:auto; border:1px solid var(--line); border-radius:999px; padding:3px 9px; font-size:.7rem; font-weight:800; letter-spacing:.08em; }
.live-section.is-live .live-status { background:#c91f32; border-color:#c91f32; color:white; }
.live-section h2 { margin:8px 0; font-size:clamp(1.35rem,3vw,2rem); }
.live-description,.live-note { color:var(--muted); margin:8px 0; }
.live-player-wrap { margin:16px 0 8px; overflow:hidden; border-radius:9px; background:#111; aspect-ratio:16/9; }
.live-player-wrap iframe { display:block; width:100%; height:100%; border:0; }
.live-player-wrap[hidden] { display:none; }
@keyframes live-ripple { 0% { transform:scale(.45); opacity:.8; } 100% { transform:scale(2.1); opacity:0; } }
.admin-live-config { margin:18px 0; padding:16px; border:1px solid var(--line); border-radius:10px; background:rgba(255,255,255,.45); }
.admin-live-config h3 { margin:4px 0 14px; }
.live-admin-toggle { display:flex; align-items:center; gap:10px; margin:12px 0 16px; font-weight:700; }
.live-admin-toggle input { width:18px; height:18px; }
@media (prefers-reduced-motion:reduce) { .live-pulse::before,.live-pulse::after { animation:none; } }

/* V61 — painel administrativo organizado em áreas claras, responsivas e recolhíveis. */
#admin .sheet { width:min(820px,100%); max-height:94dvh; padding:clamp(16px,3vw,28px); border-top:4px solid var(--red,#b64032); }
#admin .close { position:sticky; top:0; z-index:3; float:right; border-radius:50%; font-size:1.35rem; background:var(--paper); }
.admin-panel-heading { padding:4px 42px 14px 0; border-bottom:1px solid var(--line); margin-bottom:16px; }
.admin-panel-heading h2 { margin:3px 0 8px; }
.admin-intro { margin:0; max-width:62ch; color:var(--muted); line-height:1.5; font-size:.92rem; }
.admin-card { margin:12px 0; padding:0; border:1px solid var(--line); border-radius:14px; background:rgba(255,255,255,.48); overflow:hidden; }
.admin-status-card { display:flex; align-items:flex-start; gap:12px; padding:14px 16px; background:rgba(255,255,255,.72); }
.admin-status-card strong { display:block; margin:2px 0 4px; }
.admin-status-card .api-status { margin:0; font-size:.87rem; }
.admin-card-icon { flex:0 0 12px; font-size:1rem; color:#b58a28; line-height:1.4; }
.admin-card-icon:has(+ div .api-status.good) { color:#176443; }
.admin-accordion > summary { list-style:none; display:flex; align-items:center; gap:12px; padding:15px 16px; cursor:pointer; user-select:none; }
.admin-accordion > summary::-webkit-details-marker { display:none; }
.admin-accordion > summary:hover { background:rgba(0,0,0,.035); }
.admin-accordion > summary > span:nth-child(2) { display:grid; gap:4px; flex:1; min-width:0; }
.admin-accordion summary strong { font-size:1rem; }
.admin-accordion summary small { color:var(--muted); font-size:.82rem; line-height:1.4; }
.admin-step { display:grid; place-items:center; flex:0 0 34px; width:34px; height:34px; border-radius:10px; background:#191919; color:#f4f0e8; font-size:.76rem; font-weight:800; }
.admin-chevron { font-size:1.2rem; transition:transform .18s ease; }
.admin-accordion[open] > summary { border-bottom:1px solid var(--line); }
.admin-accordion[open] .admin-chevron { transform:rotate(45deg); }
.admin-manage { margin:0; padding:4px 16px 14px; }
.admin-manage > .kicker { margin:8px 0 12px; }
.admin-row { align-items:center; gap:12px; padding:13px 0; }
.admin-row > span:last-child { display:flex; gap:8px; flex-wrap:wrap; }
.admin-row button { min-height:36px; padding:7px 10px; border:1px solid var(--line); border-radius:7px; }
.admin-live-config { margin:0; padding:14px 16px 18px; border:0; border-radius:0; background:transparent; }
.admin-publish-form { padding:16px; }
.admin-form-section { padding:0 0 12px; margin:0 0 16px; border-bottom:1px solid var(--line); }
.admin-form-section:last-of-type { border-bottom:0; margin-bottom:8px; }
.admin-section-label { margin:0 0 10px; font-size:.73rem; font-weight:800; text-transform:uppercase; letter-spacing:.1em; color:var(--red,#b64032); }
#admin .field { gap:7px; margin:13px 0; font-weight:650; }
#admin input:not([type=file]):not([type=checkbox]), #admin select, #admin textarea { width:100%; min-height:44px; padding:11px 12px; border:1px solid #c9c3b8; border-radius:8px; background:#fffdf9; color:#191919; font:inherit; font-weight:400; box-sizing:border-box; }
#admin textarea { min-height:150px; resize:vertical; line-height:1.5; }
#admin input[type=file] { display:block; width:100%; padding:10px; border:1px dashed #b9b1a5; border-radius:8px; background:rgba(255,255,255,.65); box-sizing:border-box; }
#admin input:focus, #admin select:focus, #admin textarea:focus { outline:2px solid rgba(182,64,50,.3); border-color:var(--red,#b64032); }
#admin .field-hint { margin:7px 0 12px; color:var(--muted); font-size:.82rem; line-height:1.5; }
.admin-form-actions { display:flex; gap:10px; flex-wrap:wrap; padding-top:4px; }
.admin-form-actions .btn { min-height:46px; border-radius:8px; letter-spacing:.035em; }
.admin-form-actions .btn:first-child { flex:1 1 220px; }
.admin-form-actions .btn.ghost { flex:0 1 auto; }
.admin-error-message { margin:12px 0 0; padding:0 4px; line-height:1.5; }
#admin [hidden] { display:none !important; }
@media(max-width:540px) {
  #admin { align-items:flex-end; }
  #admin .sheet { max-height:96dvh; border-radius:16px 16px 0 0; padding:16px 13px calc(24px + env(safe-area-inset-bottom)); }
  .admin-accordion > summary { padding:13px 12px; gap:9px; }
  .admin-step { flex-basis:30px; width:30px; height:30px; border-radius:8px; }
  .admin-accordion summary small { font-size:.78rem; }
  .admin-publish-form { padding:12px; }
  .admin-live-config { padding:12px; }
  .admin-status-card { padding:12px; }
  .admin-row { align-items:flex-start; flex-direction:column; }
  .admin-row > span:last-child { width:100%; }
  .admin-form-actions { display:grid; grid-template-columns:1fr; }
  .admin-form-actions .btn:first-child, .admin-form-actions .btn.ghost { width:100%; }
}
@media(prefers-reduced-motion:reduce) { .admin-chevron { transition:none; } }

/* V61 — painel administrativo organizado em áreas claras, responsivas e recolhíveis. */
#admin .sheet { width:min(820px,100%); max-height:94dvh; padding:clamp(16px,3vw,28px); border-top:4px solid var(--red,#b64032); }
#admin .close { position:sticky; top:0; z-index:3; float:right; border-radius:50%; font-size:1.35rem; background:var(--paper); }
.admin-panel-heading { padding:4px 42px 14px 0; border-bottom:1px solid var(--line); margin-bottom:16px; }
.admin-panel-heading h2 { margin:3px 0 8px; }
.admin-intro { margin:0; max-width:62ch; color:var(--muted); line-height:1.5; font-size:.92rem; }
.admin-card { margin:12px 0; padding:0; border:1px solid var(--line); border-radius:14px; background:rgba(255,255,255,.48); overflow:hidden; }
.admin-status-card { display:flex; align-items:flex-start; gap:12px; padding:14px 16px; background:rgba(255,255,255,.72); }
.admin-status-card strong { display:block; margin:2px 0 4px; }
.admin-status-card .api-status { margin:0; font-size:.87rem; }
.admin-card-icon { flex:0 0 12px; font-size:1rem; color:#b58a28; line-height:1.4; }
.admin-accordion > summary { list-style:none; display:flex; align-items:center; gap:12px; padding:15px 16px; cursor:pointer; user-select:none; }
.admin-accordion > summary::-webkit-details-marker { display:none; }
.admin-accordion > summary:hover { background:rgba(0,0,0,.035); }
.admin-accordion > summary > span:nth-child(2) { display:grid; gap:4px; flex:1; min-width:0; }
.admin-accordion summary strong { font-size:1rem; }
.admin-accordion summary small { color:var(--muted); font-size:.82rem; line-height:1.4; }
.admin-step { display:grid; place-items:center; flex:0 0 34px; width:34px; height:34px; border-radius:10px; background:#191919; color:#f4f0e8; font-size:.76rem; font-weight:800; }
.admin-chevron { font-size:1.2rem; transition:transform .18s ease; }
.admin-accordion[open] > summary { border-bottom:1px solid var(--line); }
.admin-accordion[open] .admin-chevron { transform:rotate(45deg); }
.admin-manage { margin:0; padding:4px 16px 14px; }
.admin-manage > .kicker { margin:8px 0 12px; }
.admin-row { align-items:center; gap:12px; padding:13px 0; }
.admin-row > span:last-child { display:flex; gap:8px; flex-wrap:wrap; }
.admin-row button { min-height:36px; padding:7px 10px; border:1px solid var(--line); border-radius:7px; }
.admin-live-config { margin:0; padding:14px 16px 18px; border:0; border-radius:0; background:transparent; }
.admin-publish-form { padding:16px; }
.admin-form-section { padding:0 0 12px; margin:0 0 16px; border-bottom:1px solid var(--line); }
.admin-form-section:last-of-type { border-bottom:0; margin-bottom:8px; }
.admin-section-label { margin:0 0 10px; font-size:.73rem; font-weight:800; text-transform:uppercase; letter-spacing:.1em; color:var(--red,#b64032); }
#admin .field { gap:7px; margin:13px 0; font-weight:650; }
#admin input:not([type=file]):not([type=checkbox]), #admin select, #admin textarea { width:100%; min-height:44px; padding:11px 12px; border:1px solid #c9c3b8; border-radius:8px; background:#fffdf9; color:#191919; font:inherit; font-weight:400; box-sizing:border-box; }
#admin textarea { min-height:150px; resize:vertical; line-height:1.5; }
#admin input[type=file] { display:block; width:100%; padding:10px; border:1px dashed #b9b1a5; border-radius:8px; background:rgba(255,255,255,.65); box-sizing:border-box; }
#admin input:focus, #admin select:focus, #admin textarea:focus { outline:2px solid rgba(182,64,50,.3); border-color:var(--red,#b64032); }
#admin .field-hint { margin:7px 0 12px; color:var(--muted); font-size:.82rem; line-height:1.5; }
.admin-form-actions { display:flex; gap:10px; flex-wrap:wrap; padding-top:4px; }
.admin-form-actions .btn { min-height:46px; border-radius:8px; letter-spacing:.035em; }
.admin-form-actions .btn:first-child { flex:1 1 220px; }
.admin-form-actions .btn.ghost { flex:0 1 auto; }
.admin-error-message { margin:12px 0 0; padding:0 4px; line-height:1.5; }
#admin [hidden] { display:none !important; }
@media(max-width:540px) {
  #admin { align-items:flex-end; }
  #admin .sheet { max-height:96dvh; border-radius:16px 16px 0 0; padding:16px 13px calc(24px + env(safe-area-inset-bottom)); }
  .admin-accordion > summary { padding:13px 12px; gap:9px; }
  .admin-step { flex-basis:30px; width:30px; height:30px; border-radius:8px; }
  .admin-accordion summary small { font-size:.78rem; }
  .admin-publish-form { padding:12px; }
  .admin-live-config { padding:12px; }
  .admin-status-card { padding:12px; }
  .admin-row { align-items:flex-start; flex-direction:column; }
  .admin-row > span:last-child { width:100%; }
  .admin-form-actions { display:grid; grid-template-columns:1fr; }
  .admin-form-actions .btn:first-child, .admin-form-actions .btn.ghost { width:100%; }
}
@media(prefers-reduced-motion:reduce) { .admin-chevron { transition:none; } }


/* V62 — manchetes em destaque no topo */
.featured-headlines{margin:1.15rem 0 1.6rem;padding:1rem;border:1px solid rgba(255,45,65,.7);border-radius:14px;background:linear-gradient(120deg,rgba(255,35,55,.10),rgba(8,15,28,.96) 55%);box-shadow:0 0 22px rgba(255,30,55,.12);overflow:hidden}
.featured-headlines[hidden]{display:none!important}
.featured-heading{display:flex;align-items:center;gap:.75rem;margin-bottom:.8rem}.featured-crown{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:10px;background:#ed1734;color:#fff;font-size:1.25rem}.featured-heading .kicker{margin:0 0 .12rem;color:#ff5266;letter-spacing:.11em}.featured-heading h2{font-size:clamp(1.05rem,2.8vw,1.45rem);margin:0}.featured-controls{margin-left:auto;display:flex;gap:.4rem}.featured-controls button{width:38px;height:38px;border-radius:50%;border:1px solid #ff334b;background:#111b2a;color:#fff;font-size:1.65rem;line-height:1;cursor:pointer}.featured-controls button:disabled{opacity:.35;cursor:default}
.featured-track{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding:2px 2px 10px;overscroll-behavior-x:contain;scrollbar-color:#ed1734 #111827;scrollbar-width:thin}.featured-card{position:relative;display:grid;grid-template-columns:minmax(130px,36%) minmax(0,1fr);gap:0;flex:0 0 min(88%,760px);min-width:0;overflow:hidden;scroll-snap-align:start;border:1px solid rgba(255,55,75,.55);border-radius:12px;background:#050c17;min-height:210px}.featured-image{width:100%;height:100%;min-height:210px;max-height:300px;object-fit:cover;background:#101b2b}.featured-no-image{display:grid;place-items:center;color:#f6f7fb;font-weight:900;font-size:1.2rem;background:radial-gradient(circle at 70% 25%,#263d60,#070c16 65%)}.featured-copy{padding:1rem;min-width:0;display:flex;flex-direction:column;align-items:flex-start}.featured-label{display:inline-block;padding:.24rem .55rem;border-radius:4px;background:#e91c37;color:#fff;font-size:.72rem;font-weight:900;letter-spacing:.06em;margin-bottom:.45rem}.featured-copy .kicker{font-size:.75rem;margin:.1rem 0 .4rem;color:#ff7584}.featured-copy h3{margin:.1rem 0 .45rem;font-size:clamp(1.05rem,2.6vw,1.55rem);line-height:1.18}.featured-copy h3 button{border:0;background:none;padding:0;color:#fff;text-align:left;font:inherit;font-weight:850;cursor:pointer}.featured-copy .lede{font-size:.9rem;line-height:1.45;margin:0 0 .8rem;color:#d5dbe5}.featured-read{margin-top:auto;border:0;border-radius:6px;background:#ed1734;color:white;font-weight:800;padding:.55rem .8rem;cursor:pointer}.featured-hint{font-size:.75rem;color:#aab5c5;margin:.45rem 0 0;text-align:right}.featured-hint[hidden]{display:none}
.featured-admin-toggle{display:flex;gap:.7rem;align-items:flex-start;margin:.8rem 0;padding:.85rem;border:1px solid rgba(237,23,52,.5);border-radius:9px;background:rgba(237,23,52,.07);cursor:pointer}.featured-admin-toggle input{width:20px;height:20px;accent-color:#ed1734;flex:0 0 auto;margin-top:2px}.featured-admin-toggle span{display:grid;gap:.2rem}.featured-admin-toggle small{font-size:.82rem;color:#aeb8c8}
@media(max-width:620px){.featured-headlines{padding:.75rem;margin:.8rem 0 1.1rem}.featured-card{grid-template-columns:1fr;flex-basis:88%;min-height:0}.featured-image{height:155px;min-height:155px;max-height:155px}.featured-copy{padding:.85rem}.featured-copy h3{font-size:1.08rem}.featured-copy .lede{font-size:.85rem}.featured-heading{gap:.5rem}.featured-heading h2{font-size:1rem}.featured-controls button{width:34px;height:34px}}


/* V65 — adaptação automática para celular, tablet e computador */
html { width: 100%; max-width: 100%; overflow-x: clip; }
body { width: 100%; min-width: 0; overflow-x: clip; }
img, video, iframe, canvas, svg { max-width: 100%; }
.page { width: min(100% - 32px, 1180px); max-width: 1180px; margin-inline: auto; }
.page > *, .page section, .page article, .page header, .page footer { min-width: 0; }
.featured-track, .story-grid, .headlines-grid, .movies-grid, .category-grid { min-width: 0; }
input, select, textarea { max-width: 100%; min-width: 0; }
button, .btn, .story-action-btn { max-width: 100%; overflow-wrap: anywhere; }

@media (min-width: 1100px) {
  .page { padding: 22px 28px 56px; }
  .logo { font-size: clamp(64px, 5.3vw, 82px); }
  .tag { max-width: 100%; }
  .featured-track { gap: 18px; }
  .featured-track > * { flex: 0 0 min(48%, 520px); }
  .converter-section, .trader-result-panel, .trader-chart { max-width: 100%; }
}
@media (min-width: 700px) and (max-width: 1099px) {
  .page { width: min(100% - 40px, 920px); padding: 20px 22px 48px; }
  .logo { font-size: clamp(56px, 7vw, 72px); }
  .featured-track > * { flex: 0 0 min(70%, 600px); }
  .price { font-size: clamp(38px, 5vw, 52px); }
}
@media (max-width: 699px) {
  .page { width: 100%; max-width: 100%; padding: 14px 14px 36px; }
  .logo { font-size: clamp(42px, 11vw, 60px); }
  .logo .mark { width: clamp(28px, 8vw, 42px); height: auto; margin-left: -10px; }
  .tag { width: 100%; max-width: 340px; padding-inline: 6px; font-size: 11px; line-height: 1.45; }
  .price { font-size: clamp(34px, 9vw, 48px); overflow-wrap: anywhere; }
  .word h2, .story h3 { font-size: clamp(22px, 6vw, 28px); overflow-wrap: anywhere; }
  .featured-track { display: flex; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .featured-track > * { flex: 0 0 88%; max-width: 88%; scroll-snap-align: start; }
  .featured-controls { display: flex; flex-wrap: wrap; gap: 8px; }
  .header-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .story-actions { gap: 8px; }
  .story-action-btn { flex: 1 1 auto; }
  .converter-card, .trader-result-panel, .trader-chart { width: 100%; max-width: 100%; }
  .wire { max-width: 100vw; }
}
@media (max-width: 380px) {
  .page { padding-inline: 10px; }
  .logo { font-size: 40px; }
  .tag { font-size: 10px; letter-spacing: .08em; }
  .tick { padding-inline: 10px; font-size: 11px; }
  .featured-track > * { flex-basis: 94%; max-width: 94%; }
  .story-action-btn { padding: 8px 10px; font-size: 14px; }
}


/* Central de códigos: ferramenta administrativa local, sem alterar a API. */
.code-vault-body { padding: 14px; display: grid; gap: 12px; }
.code-vault-actions, .code-vault-file-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.code-vault-actions .btn, .code-vault-file-actions .btn { flex: 1 1 190px; min-width: 0; }
.code-file-label { display: inline-flex; align-items: center; justify-content: center; text-align: center; cursor: pointer; }
.code-vault-body select { width: 100%; min-width: 0; }
.code-vault-meta { color: var(--muted); font-size: .82rem; overflow-wrap: anywhere; }
.code-vault-viewer { display: grid; grid-template-columns: 3.3rem minmax(0,1fr); min-height: 260px; max-height: 58vh; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #111820; color: #e9eef3; }
.code-vault-gutter { padding: 12px 8px; overflow: hidden; white-space: pre; text-align: right; color: #8d9baa; background: #19232d; border-right: 1px solid #35414c; font: 12px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; user-select: none; }
#code-vault-code { display: block; width: 100%; min-width: 0; min-height: 260px; max-height: 58vh; resize: vertical; border: 0; border-radius: 0; padding: 12px; background: transparent; color: #e9eef3; font: 12px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre; overflow: auto; tab-size: 2; }
#code-vault-code:focus { outline: 2px solid var(--accent, #b58a28); outline-offset: -2px; }
.code-vault .btn:disabled { opacity: .45; cursor: not-allowed; }
@media (max-width: 699px) { .code-vault-body { padding: 10px; } .code-vault-actions .btn, .code-vault-file-actions .btn { flex-basis: 100%; width: 100%; } .code-vault-viewer { grid-template-columns: 2.6rem minmax(0,1fr); max-height: 52vh; } #code-vault-code { max-height: 52vh; font-size: 11px; } .code-vault-gutter { font-size: 11px; padding-inline: 5px; } }

/* V67 — gerenciamento rápido de manchetes em destaque */
.admin-feature-status{display:block;margin-top:5px;font-size:12px;color:var(--muted,#8b96a8);font-weight:600}
.admin-row .admin-feature-on{border-color:var(--accent,#d93a4a);font-weight:750}
.admin-row > span:last-child{align-items:center}


/* V68 — denúncia Fake News, mantendo a identidade editorial existente */
.fake-news-banner{margin:18px 0 14px;padding:16px 18px;border:1px solid #c44536;border-left:5px solid #c44536;border-radius:10px;background:#fff;color:#1a1a1a;box-shadow:0 4px 14px #0000000a}
.fake-news-banner strong{display:block;font-size:1rem;letter-spacing:.03em;color:#a62e25}
.fake-news-banner p{margin:5px 0 0;font-size:.92rem;color:#514b45}
.fake-news-action{border-color:#c44536!important;color:#a62e25!important}
.fake-news-action:disabled{opacity:.75;cursor:wait}

/* V68 — banner gráfico Fake News do O Pregão */
.fake-news-banner{margin:18px 0 14px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:hidden}
.fake-news-banner img{display:block;width:100%;height:auto;max-height:280px;object-fit:contain;border-radius:10px}
@media(max-width:600px){.fake-news-banner{margin:14px 0 12px}.fake-news-banner img{max-height:none;border-radius:8px}}

/* V68.1 — regra das 10.000 sinalizações visível para leitores */
.fake-news-rule{margin:8px 0 0;padding:12px 14px;border:1px solid #e4c7c3;border-left:4px solid #c44536;border-radius:8px;background:#fff;color:#514b45;font-size:.94rem;line-height:1.45}
.fake-news-rule strong{color:#a62e25}
@media(max-width:600px){.fake-news-rule{font-size:.88rem;padding:10px 11px}}

/* Painel administrativo de sinalizações Fake News */
#admin-fake-news{padding:12px 0} #admin-fake-news .kicker{font-weight:700} #admin-fake-news [style*="background:#eee"]{margin-top:5px}

/* Painel administrativo de sinalizações Fake News */
#admin-fake-news{padding:12px 0} #admin-fake-news .kicker{font-weight:700} #admin-fake-news [style*="background:#eee"]{margin-top:5px}
