/* the worth of now — componentes. Depende de tokens.css (variáveis --paper, --ink, --space-*, --radius-*, --font-*). */

.wn-app, .wn-app * { box-sizing: border-box; }
.wn-app {
  background: var(--paper); color: var(--ink);
  font-family: var(--font-sans); font-size: 16px; line-height: 24px;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-feature-settings: "ss01";
}
.wn-app a { color: inherit; }
.wn-app :focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.wn-app button { font: inherit; color: inherit; cursor: pointer; }
.wn-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wn-mono { font-family: var(--font-mono); }
.wn-meta { font-family: var(--font-mono); font-size: 12px; line-height: 16px; color: var(--ink-muted); letter-spacing: 0; }
.wn-ico { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: -0.125em; }

/* ---------- Logo ---------- */
.wn-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.wn-logo svg.wn-mark { width: 34px; height: 34px; flex: none; }
.wn-wordmark { font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1; letter-spacing: -0.03em; white-space: nowrap; }
.wn-wordmark .wn-now { display: inline-block; background: var(--lima); color: var(--ink-fixed); border-radius: .22em; padding: .02em .16em .1em; margin-left: .12em; transform: rotate(-4deg); }

/* ---------- Masthead ---------- */
.wn-mast { position: sticky; top: 0; z-index: 5; background: var(--paper); border-bottom: 1px solid var(--line); }
.wn-mast.is-stuck { box-shadow: var(--shadow-lift); }
.wn-mast-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: 12px var(--space-4); }
.wn-mast-sub { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); padding: 0 var(--space-4) 10px; }
.wn-live { display: inline-flex; align-items: center; gap: 6px; }
.wn-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lima-text); position: relative; }
.wn-live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--lima-text); opacity: 0; animation: wn-pulse 2.4s ease-out infinite; }
@keyframes wn-pulse { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.4); opacity: 0; } }
.wn-nav { display: none; gap: var(--space-5); font-weight: 600; font-size: 15px; }
.wn-nav a { text-decoration: none; padding: 6px 2px; border-bottom: 2px solid transparent; }
.wn-nav a:hover { border-bottom-color: var(--lima-text); }
.wn-theme-btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: var(--radius-pill); border: 1.5px solid var(--line-strong); background: var(--surface); font-size: 13px; font-weight: 600; }
.wn-theme-btn:hover { border-color: var(--ink); }
.wn-theme-btn .wn-ico { font-size: 16px; }

/* ---------- Indicadores ---------- */
.wn-ind-wrap { padding: var(--space-3) 0 var(--space-2); }
.wn-ind-head { display: flex; align-items: baseline; justify-content: space-between; padding: 0 var(--space-4) var(--space-2); gap: var(--space-2); }
.wn-ind-head h2 { margin: 0; font-size: 13px; line-height: 16px; font-weight: 600; }
.wn-ind-rail { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px var(--space-4) 10px; scrollbar-width: none; }
.wn-ind-rail::-webkit-scrollbar { display: none; }
.wn-ind { flex: 0 0 152px; scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 12px 12px 10px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.wn-ind-name { font-family: var(--font-mono); font-size: 11px; line-height: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wn-ind-val { font-family: var(--font-mono); font-weight: 600; font-size: 20px; line-height: 24px; letter-spacing: -0.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.wn-ind-val small { font-size: 12px; font-weight: 400; color: var(--ink-muted); letter-spacing: 0; margin-left: 2px; }
.wn-ind-ref { font-family: var(--font-mono); font-size: 11px; line-height: 14px; color: var(--ink-muted); display: flex; align-items: center; gap: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wn-var { display: inline-flex; align-items: center; gap: 4px; align-self: flex-start; font-family: var(--font-mono); font-weight: 600; font-size: 12px; line-height: 16px; padding: 2px 7px; border-radius: var(--radius-sm); white-space: nowrap; }
.wn-var.is-alta { color: var(--alta); background: var(--alta-bg); }
.wn-var.is-queda { color: var(--queda); background: var(--queda-bg); }
.wn-var.is-neutro { color: var(--ink-muted); background: var(--neutro-bg); }
.wn-ind-note { padding: 0 var(--space-4); }

/* ---------- Abertura ---------- */
.wn-open { padding: var(--space-5) var(--space-4) var(--space-4); }
.wn-kicker { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 600; padding: 5px 10px; border-radius: var(--radius-pill); border: 1.5px solid var(--ink); }
.wn-kicker .wn-ico { font-size: 14px; }
.wn-open h1 { font-family: var(--font-display); font-weight: 800; font-size: 36px; line-height: 38px; letter-spacing: -0.025em; margin: var(--space-3) 0 var(--space-3); text-wrap: balance; }
.wn-hl { background: var(--lima); color: var(--ink-fixed); padding: 0 .12em; border-radius: .18em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.wn-open p { margin: 0; max-width: 62ch; }
.wn-open-stats { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }
.wn-stat { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 12px; line-height: 16px; color: var(--ink-muted); background: var(--surface); border: 1px solid var(--line); padding: 5px 10px; border-radius: var(--radius-pill); }

/* ---------- Filtro ---------- */
.wn-filter { position: sticky; top: var(--wn-mast-h, 0px); z-index: 4; background: var(--paper); padding: 10px 0 12px; }
.wn-filter-row { display: flex; gap: var(--space-2); overflow-x: auto; padding: 0 var(--space-4); scrollbar-width: none; }
.wn-filter-row::-webkit-scrollbar { display: none; }
.wn-chip { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 8px 0 14px; border-radius: var(--radius-pill); border: 1.5px solid var(--line-strong); background: var(--surface); font-size: 14px; font-weight: 600; line-height: 1; transition: transform .12s ease, box-shadow .12s ease; }
.wn-chip:hover { border-color: var(--ink); }
.wn-chip:active { transform: translate(2px, 2px); }
.wn-chip .wn-count { font-family: var(--font-mono); font-size: 12px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--radius-pill); display: inline-flex; align-items: center; justify-content: center; background: var(--paper); border: 1px solid var(--line); }
.wn-chip .wn-swatch { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ink); margin-right: -2px; }
.wn-chip[aria-pressed="true"] { background: var(--lima); color: var(--ink-fixed); border-color: var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.wn-chip[aria-pressed="true"] .wn-count { background: var(--ink-fixed); color: var(--lima); border-color: var(--ink-fixed); }
.wn-chip[aria-pressed="true"] .wn-swatch { border-color: var(--ink-fixed); }

/* ---------- Chip de tema (etiqueta) ---------- */
.wn-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; line-height: 16px; font-weight: 700; padding: 3px 9px; border-radius: var(--radius-pill); color: var(--ink-fixed); border: 1.5px solid var(--ink-fixed); white-space: nowrap; }
.wn-tag.t-mercado { background: var(--lima); }
.wn-tag.t-ia { background: var(--chiclete); }
.wn-tag.t-iamercado { background: var(--ceu); }
.wn-swatch.t-mercado { background: var(--lima); }
.wn-swatch.t-ia { background: var(--chiclete); }
.wn-swatch.t-iamercado { background: var(--ceu); }
.wn-swatch.t-tudo { background: conic-gradient(var(--lima) 0 33%, var(--chiclete) 0 66%, var(--ceu) 0); }

/* ---------- Seções ---------- */
.wn-section { padding: var(--space-5) var(--space-4) 0; }
.wn-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-3); }
.wn-sec-head h2 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 24px; line-height: 28px; letter-spacing: -0.02em; }
.wn-feed { display: grid; gap: var(--space-4); }

/* ---------- Matéria ---------- */
.wn-story { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-5) 20px 18px; display: flex; flex-direction: column; gap: 14px; transition: transform .15s ease, border-color .15s ease; }
.wn-story:hover { border-color: var(--line-strong); }
.wn-story-top { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; }
.wn-story h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 25px; letter-spacing: -0.01em; text-wrap: pretty; }
.wn-block { border-radius: var(--radius-md); }
.wn-block-label { display: flex; align-items: center; gap: 6px; font-size: 13px; line-height: 16px; font-weight: 700; margin-bottom: 4px; }
.wn-block p { margin: 0; }
.wn-why { background: var(--paper); padding: 12px 14px; }
.wn-why .wn-block-label .wn-why-dot { width: 18px; height: 18px; border-radius: 6px; background: var(--coral); color: var(--ink-fixed); display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--ink-fixed); }
.wn-why .wn-why-dot .wn-ico { font-size: 11px; }
.wn-details { border-top: 1px dashed var(--line-strong); padding-top: 10px; }
.wn-details summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; cursor: pointer; font-size: 13px; font-weight: 700; padding: 4px 0; border-radius: 6px; }
.wn-details summary::-webkit-details-marker { display: none; }
.wn-details summary .wn-chev { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: inline-flex; align-items: center; justify-content: center; transition: transform .2s ease, background .2s ease; }
.wn-details[open] summary .wn-chev { transform: rotate(180deg); background: var(--lima); border-color: var(--ink-fixed); color: var(--ink-fixed); }
.wn-details ul { margin: 8px 0 2px; padding: 0; list-style: none; display: grid; gap: 8px; }
.wn-details li { position: relative; padding-left: 20px; font-size: 14px; line-height: 20px; }
.wn-details li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 8px; height: 8px; border-radius: 2px; background: var(--ink); transform: rotate(45deg); }
.wn-source { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.wn-source a { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.wn-source a:hover { text-decoration-color: var(--ink); }

.wn-story.is-lead { border: 2px solid var(--ink); box-shadow: var(--shadow-sticker); padding: 20px 20px 18px; }
.wn-story.is-lead h3 { font-family: var(--font-display); font-weight: 800; font-size: 28px; line-height: 32px; letter-spacing: -0.02em; }
.wn-lead-flag { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-mono); font-size: 11px; font-weight: 600; line-height: 14px; letter-spacing: .06em; text-transform: uppercase; background: var(--ink); color: var(--paper); padding: 4px 8px; border-radius: 6px; }

/* ---------- No radar ---------- */
.wn-quick { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 4px 0; }
.wn-quick ol { margin: 0; padding: 0; list-style: none; }
.wn-quick li + li { border-top: 1px solid var(--line); }
.wn-quick a { display: grid; grid-template-columns: 10px 1fr auto; align-items: start; gap: 12px; padding: 12px 16px; text-decoration: none; }
.wn-quick a:hover .wn-quick-t { text-decoration: underline; text-underline-offset: 3px; }
.wn-quick .wn-swatch { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ink-fixed); margin-top: 6px; }
.wn-quick-t { font-size: 15px; line-height: 22px; font-weight: 500; }
.wn-quick-m { display: flex; align-items: center; gap: 6px; margin-top: 2px; }

/* ---------- Agenda ---------- */
.wn-agenda { display: grid; gap: 10px; }
.wn-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: var(--space-3); }
.wn-legend span { display: inline-flex; align-items: center; gap: 6px; }
.wn-ev { display: grid; grid-template-columns: 58px 1fr; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 10px; align-items: center; }
.wn-ev-date { height: 58px; border-radius: 10px; background: var(--paper); border: 1.5px solid var(--line-strong); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.wn-ev-date b { font-family: var(--font-mono); font-size: 18px; font-weight: 600; letter-spacing: -0.03em; }
.wn-ev-date b.is-range { font-size: 14px; }
.wn-ev-date span { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; color: var(--ink-muted); }
.wn-ev-t { font-weight: 700; font-size: 15px; line-height: 20px; }
.wn-ev-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 4px; }
.wn-badge { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-mono); font-size: 11px; line-height: 14px; font-weight: 600; padding: 2px 7px; border-radius: 6px; white-space: nowrap; }
.wn-badge.is-alta { background: var(--coral); color: var(--ink-fixed); }
.wn-badge.is-hoje { background: var(--lima); color: var(--ink-fixed); border: 1.5px solid var(--ink-fixed); }
.wn-badge.is-feito { background: var(--neutro-bg); color: var(--ink-muted); }
.wn-bars { display: inline-flex; gap: 2px; align-items: flex-end; height: 10px; }
.wn-bars i { width: 3px; border-radius: 1px; background: currentColor; }
.wn-bars i:nth-child(1) { height: 4px; } .wn-bars i:nth-child(2) { height: 7px; } .wn-bars i:nth-child(3) { height: 10px; }
.wn-bars i.off { opacity: .3; }
.wn-ev.is-hoje { border: 2px solid var(--ink); }
.wn-ev.is-hoje .wn-ev-date { background: var(--lima); border-color: var(--ink-fixed); color: var(--ink-fixed); }
.wn-ev.is-hoje .wn-ev-date span { color: var(--ink-fixed); }
.wn-ev.is-feito .wn-ev-t { color: var(--ink-muted); }
.wn-ev-result { font-size: 13px; line-height: 18px; margin-top: 6px; color: var(--ink); }

/* ---------- Rodapé ---------- */
.wn-foot { margin-top: var(--space-6); padding: var(--space-5) var(--space-4) var(--space-6); border-top: 2px solid var(--ink); }
.wn-foot p { margin: 12px 0 0; font-size: 14px; line-height: 20px; color: var(--ink-muted); max-width: 70ch; }
.wn-foot p strong { color: var(--ink); }

/* ---------- Estados ---------- */
.wn-skel { background: var(--surface-sunk); border-radius: var(--radius-sm); position: relative; overflow: hidden; }
.wn-skel::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.35), rgba(255,255,255,0)); animation: wn-shim 1.4s ease-in-out infinite; }
[data-theme="dark"] .wn-skel::after { background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.06), rgba(255,255,255,0)); }
@keyframes wn-shim { to { transform: translateX(100%); } }
.wn-loading-line { font-family: var(--font-mono); font-size: 13px; line-height: 18px; display: flex; align-items: center; gap: 6px; }
.wn-caret { display: inline-block; width: 8px; height: 15px; background: var(--ink); border-radius: 1px; animation: wn-blink 1s steps(1) infinite; }
@keyframes wn-blink { 50% { opacity: 0; } }
.wn-empty { background: var(--surface); border: 1.5px dashed var(--line-strong); border-radius: var(--radius-lg); padding: 28px 20px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.wn-empty-art { display: flex; align-items: flex-end; gap: 6px; height: 56px; margin-bottom: 4px; }
.wn-empty-art i { width: 18px; border-radius: 6px; border: 1.5px solid var(--ink); background: var(--paper); }
.wn-empty-art i:nth-child(1) { height: 22px; } .wn-empty-art i:nth-child(2) { height: 38px; background: var(--ceu); border-color: var(--ink-fixed); } .wn-empty-art i:nth-child(3) { height: 14px; } .wn-empty-art i:nth-child(4) { height: 30px; }
.wn-empty h3 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 26px; letter-spacing: -0.02em; }
.wn-empty p { margin: 0; font-size: 14px; line-height: 20px; color: var(--ink-muted); max-width: 30ch; }
.wn-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: var(--radius-pill); border: 2px solid var(--ink); background: var(--ink); color: var(--paper) !important; font-weight: 700; font-size: 14px; text-decoration: none; margin-top: 6px; }
.wn-btn:hover { box-shadow: 3px 3px 0 var(--lima); }

@media (prefers-reduced-motion: reduce) {
  .wn-live-dot::after, .wn-skel::after, .wn-caret { animation: none; }
  .wn-chip, .wn-story, .wn-details summary .wn-chev { transition: none; }
}

/* ---------- Desktop (container ≥ 1024px) ---------- */
.wn-app.is-desktop { --wn-gutter: var(--space-8); }
.is-desktop .wn-mast-row { padding: 16px var(--wn-gutter); }
.is-desktop .wn-mast-sub { display: none; }
.is-desktop .wn-nav { display: flex; }
.is-desktop .wn-mast-mid { display: flex; align-items: center; gap: 14px; }
.is-desktop .wn-logo svg.wn-mark { width: 40px; height: 40px; }
.is-desktop .wn-wordmark { font-size: 26px; }
.is-desktop .wn-ind-wrap { padding: var(--space-4) var(--wn-gutter) var(--space-2); }
.is-desktop .wn-ind-head, .is-desktop .wn-ind-note { padding-left: 0; padding-right: 0; }
.is-desktop .wn-ind-rail { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); overflow: visible; padding: 2px 0 10px; }
.is-desktop .wn-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: var(--space-7); padding: 0 var(--wn-gutter); align-items: start; }
.is-desktop .wn-open { padding: var(--space-6) 0 var(--space-4); }
.is-desktop .wn-open h1 { font-size: 60px; line-height: 60px; letter-spacing: -0.03em; max-width: 16ch; }
.is-desktop .wn-open p { font-size: 18px; line-height: 28px; }
.is-desktop .wn-filter { top: var(--wn-mast-h, 0px); padding: 12px 0 16px; }
.is-desktop .wn-filter-row { padding: 0; }
.is-desktop .wn-section { padding: var(--space-5) 0 0; }
.is-desktop .wn-feed { grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.is-desktop .wn-story.is-lead { grid-column: 1 / -1; padding: 28px 28px 22px; }
.is-desktop .wn-story.is-lead h3 { font-size: 40px; line-height: 44px; max-width: 22ch; }
.is-desktop .wn-story.is-lead .wn-lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); align-items: start; }
.is-desktop .wn-aside { position: sticky; top: calc(var(--wn-mast-h, 0px) + 16px); padding-top: var(--space-6); display: grid; gap: var(--space-2); }
.is-desktop .wn-aside .wn-section { padding-top: 0; margin-bottom: var(--space-5); }
.is-desktop .wn-foot { margin: var(--space-7) var(--wn-gutter) 0; padding: var(--space-5) 0 var(--space-7); display: grid; grid-template-columns: auto 1fr; gap: var(--space-7); align-items: start; }
.is-desktop .wn-foot p { margin: 0; }
.wn-lead-grid { display: grid; gap: 14px; }

.is-desktop .wn-feed > .wn-story:last-child:nth-child(even) { grid-column: 1 / -1; }

/* Tipo de fonte na matéria */
.wn-src-tipo { font-family: var(--font-mono); font-size: 11px; line-height: 14px; color: var(--ink-muted); border: 1px solid var(--line-strong); border-radius: 6px; padding: 2px 6px; white-space: nowrap; }
.wn-src-tipo.is-primaria { border-color: var(--ink); color: var(--ink); }

/* Pílula de variação nunca passa da borda do card */
.wn-var { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }

/* Navegação entre edições */
.wn-ednav { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: var(--space-4) var(--space-4) 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); font-size: 13px; line-height: 18px; }
.wn-ednav.is-antiga { border: 2px solid var(--ink); }
.wn-ednav a { font-weight: 600; text-underline-offset: 3px; }
.wn-ednav-a { font-family: var(--font-mono); font-size: 12px; white-space: nowrap; text-decoration: none; padding: 4px 8px; border-radius: var(--radius-pill); border: 1.5px solid var(--line-strong); }
.wn-ednav-a:hover { border-color: var(--ink); }
.wn-ednav-a.is-off { opacity: .35; }
.wn-ednav-mid { text-align: center; color: var(--ink-muted); display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: center; }
.is-desktop .wn-ednav { margin: var(--space-5) 0 0; }

/* No radar: "ver mais" no celular */
.wn-quick-mais { border-top: 1px solid var(--line); }
.wn-quick-mais summary { list-style: none; cursor: pointer; padding: 12px 16px; font: 600 13px/16px var(--font-mono); color: var(--ink); }
.wn-quick-mais summary::-webkit-details-marker { display: none; }
.wn-quick-mais summary::after { content: " ↓"; }
.wn-quick-mais[open] summary::after { content: " ↑"; }
.wn-quick-mais ol { border-top: 1px solid var(--line); }

/* Newsletter */
.wn-news { background: var(--ink); color: var(--paper); border-radius: var(--radius-lg); padding: 22px 20px; margin-top: var(--space-5); }
.wn-news h2 { margin: 0 0 6px; font-family: var(--font-display); font-weight: 800; font-size: 24px; line-height: 28px; letter-spacing: -0.02em; }
.wn-news h2::after { content: ""; display: inline-block; width: 10px; height: 10px; margin-left: 8px; border-radius: 3px; background: var(--lima); }
.wn-news p { margin: 0 0 14px; font-size: 14px; line-height: 20px; opacity: .85; }
.wn-news-form { display: grid; gap: 10px; }
.wn-news-form input[type=email] { height: 46px; padding: 0 16px; border-radius: var(--radius-pill); border: 2px solid var(--paper); background: var(--paper); color: var(--ink); font: 16px var(--font-sans); }
.wn-news-form input[type=email]:focus-visible { outline: 2px solid var(--lima); outline-offset: 2px; }
.wn-news .wn-btn { background: var(--lima); color: var(--ink-fixed) !important; border-color: var(--lima); justify-content: center; height: 46px; margin: 0; }
.wn-news .wn-btn:hover { box-shadow: 3px 3px 0 var(--paper); }
.wn-news .wn-btn[disabled] { opacity: .6; }
.wn-news-aceite { display: block; font-size: 13px; line-height: 18px; }
.wn-news-aceite input { margin: 0 6px 0 0; vertical-align: -2px; accent-color: var(--lima); }
.wn-news-aceite a { color: inherit; }
.wn-news-erro { margin: 0 !important; min-height: 18px; font-size: 13px; color: var(--lima); opacity: 1 !important; }
.is-desktop .wn-aside .wn-news { margin: 0 0 var(--space-5); }

.wn-foot-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: 13px; }
.wn-foot-links a { color: var(--ink-muted); }

.wn-news-topo { padding-top: 0; }
.wn-news-topo .wn-news { margin-top: 0; }
.is-desktop .wn-aside .wn-news { margin-top: var(--space-1); }

/* ---------- Página real ---------- */
html, body { margin: 0; background: var(--paper); }
.wn-app.is-page { min-height: 100vh; }
.wn-app.is-page:not(.is-desktop) { max-width: 720px; margin: 0 auto; }
.wn-app.is-page.is-desktop { max-width: 1440px; margin: 0 auto; }
.wn-skip { position: absolute; left: 8px; top: -60px; z-index: 10; background: var(--ink); color: var(--paper); padding: 8px 12px; border-radius: 8px; font: 600 14px var(--font-sans); }
.wn-skip:focus { top: 8px; }

.wn-beta { background: var(--ink); color: var(--paper); font: 12px/16px var(--font-mono); text-align: center; padding: 8px 16px; }
.wn-beta strong { background: var(--lima); color: var(--ink-fixed); padding: 1px 6px; border-radius: 4px; font-weight: 600; }
html, body { overflow-x: hidden; max-width: 100%; }
.wn-app.is-page { overflow-x: clip; }
.wn-tv { min-height: 46px; width: 100%; max-width: 100vw; overflow: hidden; background: var(--paper); border-bottom: 1px solid var(--line); }
.wn-tv .tradingview-widget-container, .wn-tv .tradingview-widget-container__widget, .wn-tv iframe { width: 100% !important; max-width: 100%; }
.wn-tv .tradingview-widget-container { max-width: 1440px; margin: 0 auto; }
.is-desktop .wn-ind-rail { grid-template-columns: repeat(3, minmax(0, 220px)); }

/* Arquivo de edições */
.wn-arq-busca input { width: 100%; height: 44px; padding: 0 16px; border-radius: var(--radius-pill); border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink); font: 15px var(--font-sans); }
.wn-arq-busca input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.wn-arq-tab { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.wn-arq-tab table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; min-width: 640px; }
.wn-arq-tab th { text-align: left; font: 600 11px/14px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); padding: 12px 14px; border-bottom: 1px solid var(--line); }
.wn-arq-tab td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.wn-arq-tab tr:last-child td { border-bottom: 0; }
.wn-arq-tab td a { font-weight: 600; }
.wn-arq-ed h3 a { text-decoration: none; }
.wn-arq-ed h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.wn-arq-lista { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 14px; line-height: 20px; }
.wn-arq-lista li.is-match { background: var(--lima); color: var(--ink-fixed); border-radius: 6px; padding: 2px 6px; }
.wn-arq-lista li.is-match .wn-meta { color: var(--ink-fixed); }
.is-desktop .wn-arq { max-width: 1040px; margin: 0 auto; }
.is-desktop .wn-arq .wn-feed { grid-template-columns: 1fr; }
.wn-arq-ed[hidden] { display: none; }

.wn-cookies { position: fixed; z-index: 50; left: 12px; right: 12px; bottom: 12px; max-width: 560px; margin: 0 auto; background: var(--ink); color: var(--paper); border-radius: 18px; padding: 16px 18px; box-shadow: 0 10px 30px rgba(0,0,0,.25); font: 14px/20px var(--font-sans); }
.wn-cookies p { margin: 0 0 12px; }
.wn-cookies a { color: inherit; }
.wn-cookies-bt { display: flex; gap: 8px; flex-wrap: wrap; }
.wn-cookies button { font: 700 14px var(--font-sans); height: 40px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--paper); background: transparent; color: var(--paper); cursor: pointer; }
.wn-cookies button.wn-c-ok { background: var(--lima); border-color: var(--lima); color: var(--ink-fixed); }
.wn-tv-off { max-width: 1440px; margin: 0 auto; padding: 12px 16px; font: 12px/18px var(--font-mono); color: var(--ink-muted); text-align: center; }
.wn-tv-off button { font: 600 12px var(--font-mono); background: none; border: 1.5px solid var(--line-strong); border-radius: 999px; padding: 2px 10px; color: var(--ink); cursor: pointer; margin-left: 6px; }
.wn-priv { max-width: 720px; margin: 0 auto; padding-bottom: 48px; }
.wn-priv h1 { font-family: var(--font-display); font-weight: 800; font-size: 34px; line-height: 38px; letter-spacing: -0.02em; margin: 8px 0; }
.wn-priv h2 { font-family: var(--font-display); font-weight: 700; font-size: 20px; margin: 24px 0 6px; }
.wn-priv p, .wn-priv li { font-size: 16px; line-height: 24px; }
