/* Bola na Rede · maqueta de redesenho v2 (mobile primeiro) — depois da crítica /impeccable de 30 set
   v4 · tipografia Montserrat (títulos, a letra do logótipo e já usada no site atual) + Work Sans (texto), par «Geometric Modern» do ui-ux-pro-max;
   cor a partir do azul-celeste do logótipo (#4d9bcb) com gradientes «aurora» em azul-noite → azul → celeste. */

:root {
  --navy: #06172e;
  --navy-2: #0b2748;
  --brand: #1f79b2;          /* botões: 4,9:1 com branco */
  --sky: #4d9bcb;            /* azul do logótipo (decorativo / texto grande) */
  --cyan: #5cc8f2;
  --ink: #0c1624;
  --ink-2: #243246;
  --muted: #4f5e71;          /* 6,6:1 sobre branco */
  --link: #145f93;           /* 6,8:1 */
  --bg: #eef3f8;
  --paper: #ffffff;
  --line: #dbe4ee;
  --red: #dc1839;
  --ad-bg: #f5f7fa;

  --grad: linear-gradient(135deg, #06172e 0%, #0d3564 42%, #1f79b2 78%, #4dbbe8 100%);
  --aurora:
    radial-gradient(60% 90% at 88% 0%, rgba(92, 200, 242, .38) 0%, rgba(92, 200, 242, 0) 60%),
    radial-gradient(70% 120% at 0% 100%, rgba(31, 121, 178, .75) 0%, rgba(31, 121, 178, 0) 65%),
    radial-gradient(50% 80% at 55% 55%, rgba(13, 53, 100, .9) 0%, rgba(13, 53, 100, 0) 70%),
    linear-gradient(160deg, #06172e, #0b2748);
  --shade: linear-gradient(180deg, rgba(6, 23, 46, .45) 0, rgba(6, 23, 46, 0) 20%, rgba(6, 23, 46, 0) 38%, rgba(6, 23, 46, .66) 62%, rgba(6, 23, 46, .96) 100%);
  --net: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Cpath d='M0 0l22 22M22 0L0 22' stroke='%23fff' stroke-opacity='.07'/%3E%3C/svg%3E");

  --f-display: "Montserrat", system-ui, sans-serif;
  --f-text: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-s: 8px;
  --r-m: 14px;
  --r-l: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --t: 200ms;
  --top-h: 60px;
  --nav-h: 62px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --wrap: 1040px;

  --z-sticky: 20;
  --z-nav: 30;
  --z-sheet: 60;
  --z-story: 80;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 12px); }
body {
  margin: 0; color: var(--ink); font: 400 16px/1.55 var(--f-text);
  background: linear-gradient(180deg, #e6f0f9 0, var(--bg) 520px) no-repeat, var(--bg);
  -webkit-font-smoothing: antialiased; touch-action: manipulation;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; }
h1, h2, h3, h4 { margin: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.on-dark :focus-visible, .story :focus-visible { outline-color: #ffd23f; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 12px 16px; border-radius: var(--r-s); }
.skip:focus { top: 12px; }

.icon { width: 24px; height: 24px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; transition: background var(--t) var(--ease), transform 120ms var(--ease); }
.icon-btn:hover { background: rgba(12, 22, 36, .06); }
.icon-btn:active { transform: scale(.92); }
.on-dark .icon-btn:hover { background: rgba(255, 255, 255, .14); }

/* ───────── cabeçalho ───────── */
.topbar {
  position: sticky; top: 0; z-index: var(--z-sticky); color: #fff;
  background: var(--net), var(--grad);
  transition: transform 260ms var(--ease);
  box-shadow: 0 6px 20px -12px rgba(0, 0, 0, .7);
}
.topbar.is-hidden { transform: translateY(-100%); }
.topbar-in { height: var(--top-h); display: flex; align-items: center; gap: 4px; padding: 0 8px 0 16px; }
.topbar .logo { display: block; flex: none; margin-right: auto; }
.topbar .logo img { height: 36px; width: auto; }
.topnav, .top-lbl { display: none; }
.rel { position: relative; }
.dot { position: absolute; top: 10px; right: 10px; width: 9px; height: 9px; border-radius: 50%; background: #ff5a6e; box-shadow: 0 0 0 2px #0d3564; }
.progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--cyan), #b8f0ff); }

/* ───────── banda «aurora» com os resumos ───────── */
.band { position: relative; overflow: hidden; color: #fff; background: var(--net), var(--aurora); }
.band::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 26px; background: linear-gradient(180deg, rgba(230, 240, 249, 0), #e6f0f9); pointer-events: none; }
.stories-h { position: relative; z-index: 1; display: flex; align-items: baseline; justify-content: space-between; padding: 18px 16px 0; }
.stories-h h2 { font: 700 22px/1 var(--f-display); letter-spacing: -.01em; }
.stories-h span { font-size: 14px; color: rgba(255, 255, 255, .8); }
.stories { position: relative; z-index: 1; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 12px 16px 34px; scroll-snap-type: x proximity; scroll-padding-inline: 16px; }
.stories::-webkit-scrollbar { display: none; }
.cromo {
  position: relative; flex: none; width: 108px; height: 146px; border-radius: 16px; overflow: hidden;
  scroll-snap-align: start; background: var(--navy-2); color: #fff; text-align: left;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .22), 0 12px 24px -12px rgba(0, 0, 0, .6);
  transition: transform 150ms var(--ease), box-shadow var(--t) var(--ease);
}
.cromo:hover { box-shadow: 0 0 0 2px rgba(255, 255, 255, .6), 0 12px 24px -12px rgba(0, 0, 0, .6); }
.cromo:active { transform: scale(.95); }
.cromo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.cromo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 23, 46, 0) 38%, rgba(6, 23, 46, .9)); }
.cromo-name { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 20px 10px 10px; font: 700 14px/1.1 var(--f-display); border-bottom: 4px solid var(--c); }
.cromo-n { position: absolute; z-index: 1; top: 8px; left: 8px; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; display: grid; place-items: center; background: var(--c); font: 600 13px/1 var(--f-text); box-shadow: 0 0 0 2px rgba(255, 255, 255, .5); }
.cromo.is-seen img { filter: grayscale(1) brightness(.75); }
.cromo.is-seen .cromo-name { border-bottom-color: #8894a5; }
.cromo.is-seen .cromo-n { background: #5b6678; }

/* ───────── filtros ───────── */
.tabs { display: flex; gap: 8px; padding: 4px 12px 4px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 42px; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--paper);
  font: 500 15px/1 var(--f-text); color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 6px;
  transition: background var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.chip:hover { border-color: #b9c8d8; }
.chip[aria-pressed="true"] { background: var(--navy-2); color: #fff; border-color: var(--navy-2); }
.chip .icon { width: 18px; height: 18px; }

/* ───────── feed e cartões ───────── */
.feed { padding: 4px 12px 8px; }
.post {
  margin: 14px 0; border-radius: var(--r-l); overflow: hidden; background: var(--paper);
  box-shadow: 0 0 0 1px var(--line), 0 14px 30px -22px rgba(0, 0, 0, .55);
}
.av {
  flex: none; width: 34px; height: 38px; display: grid; place-items: center; padding-bottom: 4px;
  background: var(--c, var(--brand)); color: #fff; font: 700 12px/1 var(--f-display); letter-spacing: .02em;
  clip-path: polygon(0 0, 100% 0, 100% 64%, 50% 100%, 0 64%);
}
.post-media { position: relative; display: block; overflow: hidden; background: var(--navy-2); aspect-ratio: 4 / 5; }
.post-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 30%); transition: transform 700ms var(--ease); }
.post-media:hover img { transform: scale(1.03); }
.post-media::after { content: ""; position: absolute; inset: 0; background: var(--shade); }
.post-media::before { content: ""; position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--c, var(--brand)) 0 45%, var(--cyan)); }
.tag-club {
  position: absolute; z-index: 1; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 8px;
  padding-right: 14px; height: 38px; border-radius: 0 999px 999px 0; color: #fff; font: 500 14px/1 var(--f-text);
  background: rgba(6, 23, 46, .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.tag-club .av { height: 38px; width: 36px; }
.post-over { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 0 18px 22px; color: #fff; }
.post-over h2 { font: 700 clamp(22px, 6.2vw, 28px)/1.16 var(--f-display); letter-spacing: -.02em; text-wrap: balance; }
.post-over h2 q { quotes: "«" "»"; }
.kicker { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; font: 600 12px/1 var(--f-text); letter-spacing: .1em; text-transform: uppercase; }
.kicker .pill { background: var(--red); color: #fff; padding: 7px 10px; border-radius: 999px; }
.kicker .pill.blue { background: var(--brand); }
.kicker .pill.dark { background: rgba(255, 255, 255, .18); backdrop-filter: blur(6px); }
.burst { position: absolute; left: 50%; top: 42%; z-index: 3; width: 96px; height: 96px; margin: -48px 0 0 -48px; color: #fff; opacity: 0; transform: scale(.4); pointer-events: none; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .35)); }
.burst.go { animation: burst 700ms var(--ease) forwards; }
@keyframes burst { 0% { opacity: 0; transform: scale(.4); } 25% { opacity: 1; transform: scale(1.08); } 60% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }

.post-body { padding: 14px 16px 6px; }
.post-meta { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 14px; color: var(--muted); }
.post-meta b { color: var(--ink); font-weight: 600; }
.face { flex: none; width: 28px; height: 28px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--sky); }
.face-i { display: inline-grid; place-items: center; background: var(--brand); color: #fff; font: 600 11px/1 var(--f-display); letter-spacing: .02em; }
.post-body .lead { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.post-body .lead.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.topics { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; }
.topics a { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 11px; border-radius: 999px; background: #eef4fa; color: var(--ink-2); font: 500 13px/1 var(--f-text); transition: background var(--t) var(--ease); }
.topics a::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--brand)); }
.topics a:hover { background: #dfeaf5; }
.post-foot { display: flex; align-items: center; gap: 2px; margin: 10px -8px 0 0; border-top: 1px solid var(--line); padding-top: 4px; }
.read-link { flex: 1; display: inline-flex; align-items: center; gap: 10px; min-height: 50px; font: 600 16px/1 var(--f-display); color: var(--ink); }
.read-link .go { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--c, var(--brand)); color: #fff; transition: transform var(--t) var(--ease); }
.read-link .go .icon { width: 18px; height: 18px; }
.read-link:hover .go { transform: translateX(3px); }
.post-foot .wa { color: #128c4b; }
.btn-save[aria-pressed="true"] .icon { fill: currentColor; }
.btn-save[aria-pressed="true"] { color: var(--brand); }
.pop { animation: pop 300ms var(--ease); }
@keyframes pop { 40% { transform: scale(1.25); } }

/* opinião / entrevista: cartão de citação */
.post-media.is-quote img { opacity: .45; filter: grayscale(.3); }
.post-media.is-quote::after { background: linear-gradient(180deg, rgba(6, 23, 46, .3), rgba(6, 23, 46, .94) 72%); }
.post-media.is-opinion { background: var(--net), var(--aurora); }
.post-media.is-opinion::after { display: none; }
.post-media.is-quote .post-over { top: 0; display: flex; flex-direction: column; justify-content: flex-end; }
.post-media.is-quote .qmark { font: 700 110px/.55 var(--f-display); margin-bottom: 18px; color: var(--cyan); }
.post-media.is-quote h2 { font-size: clamp(21px, 5.8vw, 26px); font-weight: 600; }

/* ───────── publicidade ───────── */
.ad { background: var(--paper); }
.post.ad { padding-bottom: 12px; }
.ad-label { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 8px; font: 600 12px/1 var(--f-text); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ad-slot {
  position: relative; margin: 0 auto; display: grid; place-items: center; align-content: center; gap: 6px; text-align: center;
  background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(12, 22, 36, .025) 14px 28px), var(--ad-bg);
  border: 1px dashed #bfcad7; color: var(--muted); font: 500 14px/1.4 var(--f-text);
}
.ad-slot small { display: block; font-size: 13px; }
.ad-slot.s-336 { width: min(336px, calc(100% - 32px)); height: 280px; }
.ad-slot.s-300x600 { width: 300px; height: 600px; }
.ad-slot.s-native { width: 100%; aspect-ratio: 4 / 5; border-left: 0; border-right: 0; }
.ad-in { margin: 28px -16px; padding: 4px 0 18px; border-block: 1px solid var(--line); }

/* ───────── cartões especiais ───────── */
.card { margin: 16px 0; border-radius: var(--r-l); padding: 22px 20px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.card-dismiss { float: right; margin: -10px -10px 0 0; color: var(--muted); }
.card-h { font: 700 22px/1.2 var(--f-display); letter-spacing: -.01em; margin: 0 0 8px; }
.card p { margin: 0 0 16px; color: var(--ink-2); }
.g-logo { width: 34px; height: 34px; margin-bottom: 12px; }
.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 50px; padding: 0 18px; border-radius: 999px;
  font: 600 16px/1 var(--f-text);
  transition: filter var(--t) var(--ease), transform 120ms var(--ease), box-shadow var(--t) var(--ease), background var(--t) var(--ease);
}
.btn:active { transform: scale(.98); }
.btn + .btn { margin-top: 10px; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: #17679a; }
.btn-dark { background: var(--navy-2); color: #fff; }
.btn-dark:hover { background: #0d3564; }
.btn-ghost { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px #b9c8d8; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #e8f3fb; }
.btn-outline-light { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); }
.btn .icon { width: 20px; height: 20px; }
.btn[disabled] { opacity: .5; cursor: default; }

.card-google { background: linear-gradient(160deg, #e3f1fb 0%, #fff 60%); box-shadow: 0 0 0 1px #cfe2f1; }
.card-google .note { font-size: 14px; color: var(--muted); margin: 12px 0 0; }

.card-top { color: #fff; padding: 22px 0 10px; background: var(--net), var(--aurora); box-shadow: none; overflow: hidden; }
.card-top .card-h { padding: 0 20px; }
.card-top .sub { padding: 0 20px; color: rgba(255, 255, 255, .8); font-size: 15px; margin: 0 0 14px; }
.rail { display: flex; gap: 12px; overflow-x: auto; padding: 0 20px 14px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rank { flex: none; width: 76%; max-width: 300px; scroll-snap-align: start; display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-m); overflow: hidden; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.rank-img { position: relative; aspect-ratio: 16 / 10; }
.rank-img img { width: 100%; height: 100%; object-fit: cover; }
.rank-n { position: absolute; left: 12px; bottom: -16px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); font: 700 20px/1 var(--f-display); box-shadow: 0 0 0 3px #0d3564; }
.rank-t { display: block; padding: 26px 14px 16px; font: 600 16px/1.3 var(--f-display); }

.card-news { color: #fff; background: var(--net), linear-gradient(135deg, #0d3564 0%, #1f79b2 65%, #3aa6dc 100%); box-shadow: none; }
.card-news p { color: rgba(255, 255, 255, .92); }
.card-news .icon { width: 26px; height: 26px; margin-bottom: 8px; }
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field label { font-weight: 600; font-size: 15px; }
.field input[type="email"] { min-height: 50px; padding: 0 16px; border-radius: var(--r-m); border: 0; background: #fff; color: var(--ink); }
.field input:focus { outline: 3px solid #ffd23f; outline-offset: 1px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin-bottom: 14px; min-height: 44px; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: #fff; flex: none; }
.check a { text-decoration: underline; font-weight: 600; }
.ok-msg { display: none; font-weight: 600; margin: 10px 0 0; }
.ok-msg.show { display: flex; gap: 8px; align-items: center; }

.load-more { margin: 8px 12px 24px; }
.end-note { text-align: center; color: var(--muted); font-size: 14px; margin: 0 16px 20px; }

/* ───────── navegação inferior (telemóvel) ───────── */
.bottom-nav {
  position: fixed; left: 10px; right: 10px; bottom: calc(8px + var(--safe-b)); z-index: var(--z-nav); max-width: 520px; margin: 0 auto;
  height: var(--nav-h); display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 22px;
  background: rgba(6, 23, 46, .9); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.bottom-nav a, .bottom-nav button { display: grid; justify-items: center; align-content: center; gap: 4px; font: 500 12px/1 var(--f-text); color: rgba(255, 255, 255, .78); position: relative; isolation: isolate; }
.bottom-nav .icon { width: 24px; height: 24px; }
.bottom-nav [aria-current="page"] { color: #fff; }
.bottom-nav [aria-current="page"]::before { content: ""; position: absolute; top: 6px; left: 50%; width: 48px; height: 30px; margin-left: -24px; border-radius: 999px; background: linear-gradient(135deg, var(--brand), #2f97d0); z-index: -1; }
.badge-n { position: absolute; top: 6px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #c8102e; color: #fff; font: 700 11px/18px var(--f-text); text-align: center; }
.badge-n:empty { display: none; }

/* ───────── folhas ───────── */
.scrim { position: fixed; inset: 0; z-index: var(--z-sheet); background: rgba(6, 23, 46, .55); opacity: 0; pointer-events: none; transition: opacity 220ms var(--ease); }
.scrim.open { opacity: 1; pointer-events: auto; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: calc(var(--z-sheet) + 1); max-height: 88dvh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--paper); border-radius: var(--r-l) var(--r-l) 0 0; padding: 8px 20px calc(24px + var(--safe-b));
  transform: translateY(105%); transition: transform 300ms var(--ease); visibility: hidden;
}
.sheet.open { transform: none; visibility: visible; }
.sheet-grab { width: 44px; height: 5px; border-radius: 3px; background: #cbd5e1; margin: 4px auto 10px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.sheet-head h2 { font: 700 26px/1.1 var(--f-display); }
.sheet p { color: var(--ink-2); margin: 0 0 14px; }
.sheet h3 { font: 600 12px/1 var(--f-text); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 22px 0 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.search { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 16px; border-radius: 999px; background: #eef4fa; }
.search input { flex: 1; min-width: 0; border: 0; background: none; min-height: 48px; font-size: 16px; }
.search input:focus { outline: none; }
.search:focus-within { box-shadow: 0 0 0 3px var(--brand); }
.share-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 8px 0 4px; }
.share-grid a, .share-grid button { display: grid; justify-items: center; gap: 8px; padding: 8px 0; font-size: 13px; font-weight: 500; border-radius: var(--r-m); }
.share-grid a:hover, .share-grid button:hover { background: #eef4fa; }
.share-grid .circ { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #eef4fa; }
.share-grid .circ.wa { background: #25d366; color: #fff; }
.saved-list { display: grid; gap: 12px; }
.mini { display: grid; grid-template-columns: 84px 1fr; gap: 12px; align-items: center; min-height: 64px; }
.mini img { width: 84px; height: 64px; object-fit: cover; border-radius: var(--r-s); }
.mini b { font: 600 16px/1.2 var(--f-display); display: block; }
.mini span { font-size: 13px; color: var(--muted); }
.empty { text-align: center; color: var(--muted); padding: 20px 0; }
.empty .icon { width: 40px; height: 40px; margin: 0 auto 8px; }
.toast {
  position: fixed; left: 50%; bottom: calc(var(--nav-h) + var(--safe-b) + 22px); z-index: 59; display: flex; align-items: center; gap: 14px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 500; font-size: 15px;
  transition: opacity 200ms var(--ease), transform 200ms var(--ease); white-space: nowrap;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.has-act.show { pointer-events: auto; padding-right: 8px; }
.toast-act { color: #9fdcff; font-weight: 600; min-height: 36px; padding: 0 10px; border-radius: 999px; }
.toast-act:hover { background: rgba(255, 255, 255, .12); }

/* ───────── visualizador de resumos ───────── */
.story { position: fixed; inset: 0; z-index: var(--z-story); background: var(--navy); color: #fff; display: none; }
.story.open { display: block; animation: storyIn 240ms var(--ease); }
@keyframes storyIn { from { opacity: 0; transform: scale(.96); } }
.story-frame { position: absolute; inset: 0; margin: 0 auto; max-width: 480px; overflow: hidden; background: #000; border-bottom: 6px solid var(--c, var(--brand)); }
.story-frame img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(6, 23, 46, .6) 0, rgba(6, 23, 46, 0) 22%, rgba(6, 23, 46, 0) 40%, rgba(6, 23, 46, .94) 80%); }
.story-bars { position: absolute; z-index: 3; top: 10px; left: 10px; right: 10px; display: flex; gap: 4px; }
.story-bars span { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .35); overflow: hidden; }
.story-bars i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #fff, #b8f0ff); transform-origin: 0 50%; transform: scaleX(0); }
.story-bars .done i { transform: scaleX(1); }
.story-bars .now i { animation: fill var(--dur, 6s) linear forwards; }
.story.paused .story-bars .now i { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.story-head { position: absolute; z-index: 3; top: 22px; left: 12px; right: 4px; display: flex; align-items: center; gap: 10px; }
.story-head b { font-size: 15px; font-weight: 600; }
.story-head small { color: rgba(255, 255, 255, .8); font-size: 14px; margin-left: 4px; }
.story-head .sp { flex: 1; }
.story-tap { position: absolute; z-index: 2; top: 76px; bottom: 120px; }
.story-tap.prev { left: 0; width: 32%; }
.story-tap.next { right: 0; width: 68%; }
.story-body { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 0 20px calc(22px + var(--safe-b)); }
.story-body h2 { font: 700 clamp(26px, 7.4vw, 34px)/1.12 var(--f-display); letter-spacing: -.02em; text-wrap: balance; margin-bottom: 12px; }
.story-body p { margin: 0 0 18px; color: rgba(255, 255, 255, .88); font-size: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.story-slide { animation: slideIn 260ms var(--ease); }
@keyframes slideIn { from { opacity: .3; } }

/* ───────── artigo ───────── */
.art-head { color: #fff; background: var(--net), var(--aurora); padding: 20px 16px 26px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.crumbs a { min-height: 32px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); font: 500 13px/1 var(--f-text); letter-spacing: .04em; }
.crumbs a:hover { background: rgba(255, 255, 255, .24); }
.crumbs a.red { background: var(--red); box-shadow: none; }
.art-head h1 { font: 700 clamp(27px, 7.4vw, 42px)/1.14 var(--f-display); letter-spacing: -.025em; text-wrap: balance; }
.art-head .standfirst { font: 400 19px/1.45 var(--f-text); color: rgba(255, 255, 255, .9); margin: 14px 0 0; text-wrap: pretty; }
.author-row { display: flex; align-items: center; gap: 12px; margin: 20px 0 0; }
.author-row .face { width: 46px; height: 46px; font-size: 15px; box-shadow: 0 0 0 2px #0d3564, 0 0 0 4px var(--cyan); }
.author-row .face-i { background: linear-gradient(135deg, #7ad7fa, #d4f3ff); color: var(--navy); }
.author-row .who b { display: block; font-size: 16px; font-weight: 600; }
.author-row .who small { font-size: 14px; color: rgba(255, 255, 255, .82); }

.art { padding: 0 16px; background: var(--paper); }
.hero { margin: 0 -16px; }
.hero-img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--navy-2); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 30%); }
.hero figcaption { padding: 8px 16px 0; font-size: 13px; color: var(--muted); }

.gfollow {
  display: flex; align-items: center; gap: 12px; margin: 18px 0 0; padding: 10px 10px 10px 14px; border-radius: var(--r-m);
  background: linear-gradient(100deg, #e3f1fb, #fff 75%); box-shadow: inset 0 0 0 1px #cfe2f1;
}
.gfollow svg { width: 26px; height: 26px; flex: none; }
.gfollow p { margin: 0; flex: 1; font-size: 15px; line-height: 1.3; }
.gfollow p b { display: block; font-weight: 600; }
.gfollow p span { color: var(--muted); font-size: 14px; }
.gfollow a { flex: none; min-height: 44px; padding: 0 18px; border-radius: 999px; background: linear-gradient(135deg, #0d3564, var(--brand)); color: #fff; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; }
.gfollow a:hover { filter: brightness(1.1); }
.gfollow a .icon { width: 18px; height: 18px; }

.art-actions { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; margin: 14px 0 0; }
.art-actions .chip { min-height: 44px; justify-content: center; padding: 8px 10px; }
.art-actions .chip.wa { background: #25d366; border-color: #25d366; color: #06341a; }
.art-actions .chip .icon { width: 20px; height: 20px; }

.prose { margin-top: 24px; font-size: 18px; line-height: 1.7; color: #17202c; }
.prose p { margin: 0 0 1.1em; max-width: 68ch; text-wrap: pretty; }
.prose h2 { font: 600 25px/1.2 var(--f-display); margin: 1.5em 0 .5em; }
.prose p.ask { font: 600 17px/1.5 var(--f-text); color: var(--link); margin-top: 1.8em; }
.prose p.ask span { display: block; font: 600 12px/1 var(--f-text); letter-spacing: .12em; text-transform: uppercase; color: var(--link); margin-bottom: 6px; }
.prose p strong { font-weight: 600; color: var(--ink); }
.prose blockquote { margin: 1.4em 0; padding: 0; font: 500 23px/1.3 var(--f-display); }
.prose blockquote::before { content: "«"; display: block; font: 700 56px/.6 var(--f-display); color: var(--brand); margin-bottom: 10px; }
.has-dropcap .prose > p:first-of-type:not(.ask):not(.lede)::first-letter { float: left; font: 700 62px/.82 var(--f-display); margin: 8px 10px 0 0; color: var(--brand); }

.tagrow { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; }
.tagrow a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; background: #eef4fa; color: var(--link); font-weight: 500; }
.tagrow a:hover { background: #dfeaf5; }
.author-box { display: flex; gap: 14px; align-items: center; margin: 28px 0 0; padding: 18px; border-radius: var(--r-l); background: linear-gradient(135deg, #e3f1fb, #f6fafd); }
.author-box .face { width: 60px; height: 60px; font-size: 18px; }
.author-box b { font: 600 20px/1.1 var(--f-display); display: block; margin-bottom: 4px; }
.author-box p { margin: 0; font-size: 15px; color: var(--muted); }
.author-box a { color: var(--link); font-weight: 600; }
.art-after { padding: 4px 12px 0; }
.section-h { display: flex; align-items: baseline; justify-content: space-between; margin: 28px 4px 0; }
.section-h h2 { font: 700 26px/1 var(--f-display); letter-spacing: -.01em; }
.section-h small { color: var(--muted); font-size: 14px; }

/* ───────── rodapé ───────── */
.site-foot { position: relative; overflow: hidden; margin-top: 24px; color: #fff; background: var(--net), var(--aurora); padding: 36px 20px calc(var(--nav-h) + var(--safe-b) + 36px); }
.site-foot::before { content: ""; position: absolute; right: -90px; top: -60px; width: 340px; height: 340px; background: url("../img/icone-branco.png") center / contain no-repeat; opacity: .07; pointer-events: none; }
.foot-top { position: relative; display: grid; gap: 26px; }
.foot-brand img { height: 48px; width: auto; }
.foot-brand p { margin: 12px 0 18px; max-width: 34ch; color: rgba(255, 255, 255, .84); font-size: 16px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); transition: background var(--t) var(--ease), transform var(--t) var(--ease); }
.socials a:hover { background: rgba(255, 255, 255, .22); transform: translateY(-2px); }
.socials .icon { width: 21px; height: 21px; }
.foot-cta { padding: 20px; border-radius: var(--r-l); background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.foot-cta h3 { font: 600 21px/1.2 var(--f-display); margin-bottom: 6px; }
.foot-cta p { margin: 0 0 16px; color: rgba(255, 255, 255, .84); font-size: 15px; }
.foot-cols { position: relative; margin-top: 26px; border-top: 1px solid rgba(255, 255, 255, .16); }
.foot-cols details { border-bottom: 1px solid rgba(255, 255, 255, .16); }
.foot-cols summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 56px; cursor: pointer; font: 600 17px/1 var(--f-display); }
.foot-cols summary::-webkit-details-marker { display: none; }
.foot-cols summary .icon { width: 20px; height: 20px; transition: transform var(--t) var(--ease); }
.foot-cols details[open] summary .icon { transform: rotate(45deg); }
.foot-cols ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.foot-cols li a { display: flex; align-items: center; min-height: 44px; color: rgba(255, 255, 255, .86); font-size: 15px; }
.foot-cols li a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 22px; font-size: 14px; color: rgba(255, 255, 255, .78); }

/* mais lidas com imagem (coluna da direita) */
.toplist { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.toplist a { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.toplist li:first-child a { border-top: 0; }
.toplist .th { position: relative; width: 76px; height: 76px; border-radius: 12px; overflow: hidden; }
.toplist .th img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.toplist a:hover .th img { transform: scale(1.06); }
.toplist .n { position: absolute; left: 6px; bottom: 6px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-2); color: #fff; font: 700 14px/1 var(--f-display); box-shadow: 0 0 0 2px #fff; }
.toplist .t { font: 600 15px/1.3 var(--f-display); }
.toplist a:hover .t { color: var(--link); }
.card-top-desk h3, .card-top-desk .card-h { display: flex; align-items: center; gap: 10px; }
.card-top-desk h3::before, .card-top-desk .card-h::before { content: ""; width: 8px; height: 26px; border-radius: 4px; background: linear-gradient(180deg, var(--cyan), var(--brand)); }

/* ───────── ecrã largo ───────── */
.shell { display: block; }
.rightrail { display: none; }

@media (min-width: 768px) {
  .feed-col { max-width: 620px; margin: 0 auto; }
  .feed { padding-inline: 0; }
  .stories-h, .stories { padding-inline: max(16px, calc((100% - 620px) / 2)); }
  .stories { scroll-padding-inline: max(16px, calc((100% - 620px) / 2)); }
  .art-col { max-width: 720px; margin: 20px auto 0; border-radius: var(--r-l); overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(0, 0, 0, .5); }
  .art-head { padding: 34px 40px; }
  .art { padding: 0 40px 8px; }
  .hero { margin-inline: -40px; }
  .ad-in { margin-inline: -40px; }
  .art-after { max-width: 720px; margin: 0 auto; padding-inline: 0; }
  .foot-top { grid-template-columns: 1.2fr 1fr; align-items: start; }
  .foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 24px; border-top: 0; }
  .foot-cols details { border-bottom: 0; }
  .foot-cols summary { pointer-events: none; min-height: 48px; }
  .foot-cols summary .icon { display: none; }
  .foot-cols ul { grid-template-columns: 1fr; }
  .foot-cols li a { min-height: 34px; }
}

@media (min-width: 1080px) {
  :root { --top-h: 72px; }
  .bottom-nav { display: none; }
  .feed { padding-bottom: 24px; }
  .toast { bottom: 24px; }
  .site-foot { padding: 56px 24px 40px; }
  .site-foot > * { max-width: var(--wrap); margin-inline: auto; }

  .topbar-in { max-width: var(--wrap); margin: 0 auto; padding: 0; gap: 8px; }
  .topbar .logo { margin-right: 18px; }
  .topbar .logo img { height: 44px; }
  .topnav { display: flex; gap: 2px; margin-right: auto; }
  .topnav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 11px; white-space: nowrap; border-radius: 999px; font: 500 15px/1 var(--f-text); color: rgba(255, 255, 255, .88); transition: background var(--t) var(--ease), color var(--t) var(--ease); }
  .topnav a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
  .topnav a[aria-current="page"] { background: rgba(255, 255, 255, .18); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
  .top-act { width: auto; padding: 0 14px 0 12px; gap: 8px; border-radius: 999px; display: inline-flex; align-items: center; }
  .top-search .top-lbl { display: inline; font: 500 15px/1 var(--f-text); }
  .top-search { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); min-width: 150px; padding-right: 18px; }
  .top-act:not(.top-search) { width: 44px; padding: 0; justify-content: center; }
  .top-search .top-lbl { color: rgba(255, 255, 255, .85); }
  .dot { top: 9px; right: 9px; }
  .tabs { display: none; }
  .feed { padding-top: 6px; }

  .stories-h, .stories { padding-inline: max(24px, calc((100% - var(--wrap)) / 2)); }
  .stories { scroll-padding-inline: max(24px, calc((100% - var(--wrap)) / 2)); }
  .stories-h { padding-top: 26px; }
  .stories-h h2 { font-size: 26px; }
  .cromo { width: 136px; height: 180px; }
  .cromo-name { font-size: 16px; }

  .shell { display: grid; grid-template-columns: minmax(0, 660px) 340px; gap: 40px; justify-content: center; align-items: start; max-width: var(--wrap); margin: 0 auto; }
  .feed-col { max-width: none; margin: 0; }
  .tabs { padding-inline: 0; }
  /* a coluna desce com a página; só o anúncio fica preso até ao fim do feed */
  .rightrail { display: flex; flex-direction: column; gap: 16px; align-self: stretch; padding: 18px 0 24px; }
  .rightrail .card { margin: 0; }
  .rightrail .ad { position: sticky; top: calc(var(--top-h) + 16px); border-radius: var(--r-l); box-shadow: 0 0 0 1px var(--line); padding-bottom: 12px; }
  .topbar.is-hidden { transform: none; }   /* no desktop o cabeçalho fica sempre visível */
  .art-shell .art-col { margin: 20px 0 0; max-width: none; }
  .art-shell .art-after { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .story-bars .now i { animation: none; transform: scaleX(.5); }
}
.top-saved { display: none !important; }
@media (min-width: 1080px) { .top-saved { display: inline-flex !important; } }
.gi { width: 22px; height: 22px; flex: none; }

/* ═════════ v2 · depois da crítica ═════════ */

/* «Ao minuto»: jogos, resultados, última hora e o resumo do dia */
.strip .mt {
  position: relative; flex: none; width: 232px; min-height: 150px; border-radius: 16px; overflow: hidden;
  scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; text-align: left;
  background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); color: #fff;
  transition: background var(--t) var(--ease), transform 150ms var(--ease);
}
.strip .mt:hover { background: rgba(255, 255, 255, .16); }
.strip .mt:active { transform: scale(.97); }
.mt-top { display: flex; justify-content: space-between; gap: 8px; font: 500 12.5px/1.2 var(--f-text); color: rgba(255, 255, 255, .82); }
.mt-when { font-weight: 600; color: #fff; white-space: nowrap; }
.mt-when.is-next { color: #9fdcff; }
.mt-teams { display: grid; gap: 6px; }
.mt-team { display: flex; align-items: center; gap: 10px; font: 600 16px/1 var(--f-display); }
.mt-team .av { width: 26px; height: 30px; font-size: 9px; }
.mt-name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mt-score { font: 700 22px/1 var(--f-display); font-variant-numeric: tabular-nums; }
.mt-res .mt-team:not(.won) { color: rgba(255, 255, 255, .7); }
.mt-note { margin-top: auto; display: flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255, 255, 255, .82); }
.mt-note .icon { width: 15px; height: 15px; }
.mt-ultima { background: linear-gradient(160deg, rgba(220, 24, 57, .9), rgba(150, 10, 35, .92)) !important; box-shadow: none !important; }
.mt-ultima .mt-top { color: #fff; font-weight: 600; justify-content: flex-start; align-items: center; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .3); }
.mt-head { font: 600 16px/1.3 var(--f-display); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.mt-resumo { padding: 0 !important; justify-content: flex-end; }
.mt-resumo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mt-resumo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 23, 46, .1) 20%, rgba(6, 23, 46, .92)); }
.mt-play { position: absolute; z-index: 1; top: 12px; left: 12px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--navy); }
.mt-play .icon { width: 16px; height: 16px; fill: currentColor; stroke: none; margin-left: 2px; }
.mt-rtxt { position: relative; z-index: 1; padding: 12px 14px; display: grid; gap: 2px; }
.mt-rtxt b { font: 700 17px/1.1 var(--f-display); }
.mt-rtxt small { font-size: 13px; color: rgba(255, 255, 255, .85); }
.mt-resumo.is-seen img { filter: grayscale(.8) brightness(.8); }

/* notícia corrente em linha compacta */
.post.is-row { display: grid; grid-template-columns: 1fr auto; align-items: start; border-left: 0; }
.row-link { display: grid; grid-template-columns: 108px 1fr; gap: 12px; padding: 12px 0 12px 12px; min-width: 0; }
.row-img { width: 108px; height: 108px; border-radius: 12px; overflow: hidden; background: var(--navy-2); }
.row-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform 500ms var(--ease); }
.row-link:hover .row-img img { transform: scale(1.05); }
.row-txt { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.row-cat { display: flex; align-items: center; gap: 6px; font: 600 12.5px/1 var(--f-text); color: var(--muted); }
.row-cat .av { width: 20px; height: 23px; font-size: 7px; padding-bottom: 3px; }
.row-title { font: 700 16.5px/1.28 var(--f-display); letter-spacing: -.01em; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.row-link:hover .row-title { color: var(--link); }
.row-meta { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tiny-pill { display: inline-block; vertical-align: 2px; padding: 3px 6px; border-radius: 4px; background: var(--red); color: #fff; font: 700 10px/1 var(--f-text); letter-spacing: .08em; text-transform: uppercase; }
.row-act { padding: 4px 2px 0 0; }

/* crónica: cartão de texto, sem espaço vazio */
.post.is-opinion-card { color: #fff; background: var(--net), var(--aurora); box-shadow: none; }
.op-link { display: block; padding: 18px 18px 6px; }
.op-top { display: flex; align-items: center; gap: 8px; font: 500 14px/1 var(--f-text); color: rgba(255, 255, 255, .88); }
.op-top .av { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.is-opinion-card .qmark { display: block; font: 700 80px/.5 var(--f-display); color: var(--cyan); margin: 26px 0 4px; }
.is-opinion-card h2 { font: 700 clamp(22px, 6vw, 27px)/1.2 var(--f-display); letter-spacing: -.02em; text-wrap: balance; }
.is-opinion-card p { margin: 12px 0 0; color: rgba(255, 255, 255, .88); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.op-by { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.op-by .face { box-shadow: 0 0 0 2px #0d3564, 0 0 0 3.5px var(--cyan); }
.op-by b { display: block; font-weight: 600; }
.op-by small { font-size: 13px; color: rgba(255, 255, 255, .8); }
.op-foot { margin: 6px 0 0; padding: 4px 8px 4px 18px; border-top-color: rgba(255, 255, 255, .16); }
.op-foot .read-link { color: #fff; }
.op-foot .icon-btn { color: #fff; }
.op-foot .go { background: var(--cyan) !important; color: var(--navy) !important; }

/* grelha do feed: 1 coluna no telemóvel, 2 no desktop */
.feed-grid { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 16px; }
.feed-grid > * { margin: 7px 0; }
.feed-grid > .post.is-big, .feed-grid > .is-wide { margin: 14px 0; }
.ad-slot.s-native { aspect-ratio: 1 / 1; max-height: 380px; }
.ad-end { margin-bottom: 0 !important; }

/* folhas */
.sheet.is-tall { height: 86dvh; }
.cat-groups details { border-bottom: 1px solid var(--line); }
.cat-groups summary { list-style: none; display: flex; align-items: center; gap: 8px; min-height: 52px; cursor: pointer; font: 600 17px/1 var(--f-display); }
.cat-groups summary::-webkit-details-marker { display: none; }
.cat-groups summary span { font: 500 13px/1 var(--f-text); color: var(--muted); margin-right: auto; }
.cat-groups summary .icon { width: 20px; height: 20px; transition: transform var(--t) var(--ease); }
.cat-groups details[open] summary .icon { transform: rotate(45deg); }
.cat-groups .chips { padding-bottom: 16px; }
.note-s { font-size: 13.5px; color: var(--muted) !important; margin: 12px 0 0 !important; }

/* newsletter: erros junto ao campo */
.field-err { margin: 4px 0 8px !important; padding: 8px 12px; border-radius: 10px; background: #fff; color: #a3001b !important; font-size: 14px; font-weight: 600; }
.field-err::before { content: "! "; font-weight: 800; }
.card-news input[aria-invalid="true"] { outline: 3px solid #ffb4c0; outline-offset: 1px; }

/* artigo: o texto chega ao primeiro ecrã */
.art-head { padding: 16px 16px 18px; }
.art-head .crumbs { margin-bottom: 10px; }
.art-head h1 { font-size: clamp(25px, 6.8vw, 40px); }
.author-row { margin: 14px 0 0; font-size: 14px; }
.author-row .face { width: 36px; height: 36px; font-size: 13px; }
.author-row .who { display: grid; gap: 1px; line-height: 1.25; }
.author-row .who b { font-size: 15px; }
.author-row .who small { font-size: 13.5px; }
.hero-img { aspect-ratio: 16 / 9; }
.gfollow { margin: 12px 0 0; padding: 6px 6px 6px 12px; gap: 10px; }
.gfollow .gi { width: 22px; height: 22px; }
.gfollow span { flex: 1; font-size: 14.5px; font-weight: 500; line-height: 1.25; }
.gfollow a { min-height: 40px; padding: 0 14px; font-size: 14px; background: var(--brand); }
.gfollow a:hover { background: #17679a; filter: none; }
.prose { margin-top: 18px; }
.prose p.lede { font: 500 19px/1.55 var(--f-text); color: var(--ink); }
.desk-only { display: none !important; }
.art-bar {
  position: fixed; left: 10px; right: 10px; bottom: calc(8px + var(--safe-b)); z-index: var(--z-nav); max-width: 520px; margin: 0 auto;
  height: var(--nav-h); display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 22px;
  background: rgba(6, 23, 46, .92); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.art-bar a, .art-bar button { display: grid; justify-items: center; align-content: center; gap: 4px; font: 500 12px/1 var(--f-text); color: rgba(255, 255, 255, .85); }
.art-bar .icon { width: 23px; height: 23px; }
.art-bar a:hover, .art-bar button:hover { color: #fff; }
.art-bar .btn-save[aria-pressed="true"] { color: #9fdcff; }
.art-after .feed-grid { margin-top: 8px; }

@media (min-width: 768px) {
  .art-head { padding: 30px 40px 26px; }
}

@media (min-width: 1080px) {
  .feed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row dense; }
  .feed-grid > .post.is-big, .feed-grid > .is-wide, .feed-grid > .post.is-opinion-card { grid-column: 1 / -1; }
  .feed-grid > .post.is-big .post-media { aspect-ratio: 16 / 10; }
  .feed-grid > .post.is-big .post-over h2 { font-size: 30px; }
  .post.is-row { grid-template-columns: 1fr; position: relative; }
  .row-link { grid-template-columns: 1fr; padding: 0 0 14px; gap: 12px; }
  .row-img { width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 0; }
  .row-txt { padding: 0 16px; }
  .row-title { font-size: 18px; }
  .row-act { position: absolute; top: 8px; right: 8px; }
  .row-act .icon-btn { background: rgba(255, 255, 255, .92); }
  .art-bar { display: none; }
  .desk-only { display: grid !important; }
  .stories-h span { font-size: 14px; }
  .strip .mt { width: 250px; }
}
.stories-h h2 { white-space: nowrap; }

/* ═════════ «Ao minuto» com dados ao vivo ═════════ */
.stories-h { gap: 12px; align-items: center; }
.stories-h #aominuto-estado { margin-left: auto; text-align: right; font-size: 13px; color: rgba(255, 255, 255, .8); }
.strip-arrows { display: none; gap: 6px; }
.strip-arrows .icon-btn { width: 40px; height: 40px; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); color: #fff; }
.strip-arrows .icon-btn:hover:not(:disabled) { background: rgba(255, 255, 255, .22); }
.strip-arrows .icon-btn:disabled { opacity: .35; cursor: default; }
.strip-arrows .icon { width: 20px; height: 20px; }
@media (hover: hover) and (pointer: fine) {
  .strip { cursor: grab; }
  .strip-arrows { display: inline-flex; }
}
.strip.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.strip.is-dragging .mt { pointer-events: none; }
.strip img { -webkit-user-drag: none; user-select: none; }
.strip { user-select: none; -webkit-user-select: none; }
/* «As mais lidas»: a mesma faixa, com setas no canto e arrastar com o rato */
.card-top { position: relative; }
.card-top .strip-arrows { position: absolute; top: 20px; right: 20px; z-index: 1; }
.strip-arrows[hidden] { display: none; }
@media (hover: hover) and (pointer: fine) { .rail { cursor: grab; } }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.is-dragging .rank { pointer-events: none; }
.rail img { -webkit-user-drag: none; user-select: none; }
.rail { user-select: none; -webkit-user-select: none; }

/* «Ao minuto»: o título fica na coluna, os cartões ocupam a largura do ecrã.
   Se não chegam para a encher, ficam centrados (as margens automáticas valem 0 quando há excesso).
   Se são demais, o resumo do dia fica fixo à esquerda e os outros deslizam por baixo dele. */
.strip > :first-child { margin-left: auto; }
.strip > :last-child { margin-right: auto; }
.strip.is-curta { cursor: auto; }
@media (min-width: 768px) {
  .strip { --strip-pad: 24px; --mt-w: 232px; padding-inline: var(--strip-pad); scroll-padding-inline: calc(var(--strip-pad) + var(--mt-w) + 10px) var(--strip-pad); clip-path: inset(0 0 0 var(--strip-pad)); }
  .strip .mt-resumo { position: sticky; left: 0; z-index: 2; } /* o sticky já conta com a margem interior da faixa */
  .strip:not(.is-curta) .mt-resumo { box-shadow: 14px 0 22px -14px rgba(0, 0, 0, .7); }
}
@media (min-width: 1080px) {
  .strip { --mt-w: 250px; }
}

.mt-crest { flex: none; width: 30px; height: 30px; border-radius: 8px; background: #fff; display: grid; place-items: center; }
.mt-crest img { width: 24px; height: 24px; object-fit: contain; }
.mt-team { gap: 9px; }
.mt-comp { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mt-when.is-live { display: inline-flex; align-items: center; gap: 6px; color: #fff; background: var(--red); padding: 3px 8px; border-radius: 999px; margin: -3px -4px 0 0; }
.mt-live { box-shadow: inset 0 0 0 2px rgba(220, 24, 57, .85) !important; }
.mt-skel { background: linear-gradient(100deg, rgba(255, 255, 255, .08) 30%, rgba(255, 255, 255, .18) 50%, rgba(255, 255, 255, .08) 70%) 0 0 / 300% 100% !important; animation: skel 1.4s linear infinite; }
@keyframes skel { to { background-position: -150% 0; } }
@media (prefers-reduced-motion: reduce) { .mt-skel { animation: none; } }

/* ═════════ comentários ═════════ */
.coms { padding: 24px 16px 8px; border-top: 1px solid var(--line); background: var(--paper); }
.coms-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.coms-head h2 { font: 700 24px/1.1 var(--f-display); letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; }
.coms-n { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 9px; border-radius: 999px; background: #eef4fa; color: var(--link); font: 600 15px/1 var(--f-text); }
.coms-sort { display: inline-flex; padding: 3px; border-radius: 999px; background: #eef4fa; }
.coms-sort button { min-height: 38px; padding: 0 14px; border-radius: 999px; font: 500 14px/1 var(--f-text); color: var(--ink-2); }
.coms-sort button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); font-weight: 600; }

.com-form { display: grid; grid-template-columns: 40px 1fr; gap: 12px; margin: 18px 0 8px; }
.com-form .com-av { margin-top: 4px; }
.com-form-in { display: grid; gap: 10px; min-width: 0; }
.com-form textarea {
  width: 100%; min-height: 50px; max-height: 320px; resize: vertical; padding: 13px 16px; border-radius: var(--r-m);
  border: 1.5px solid var(--line); background: #f7fafc; font: 400 16px/1.45 var(--f-text); color: var(--ink);
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease), min-height var(--t) var(--ease);
}
.com-form textarea:focus { outline: none; border-color: var(--brand); background: var(--paper); min-height: 110px; }
.com-form input[type="text"], .com-form input[type="email"] { width: 100%; min-height: 46px; padding: 0 14px; border-radius: var(--r-m); border: 1.5px solid var(--line); background: #f7fafc; font: 400 16px/1 var(--f-text); color: var(--ink); }
.com-form input:focus { outline: none; border-color: var(--brand); background: var(--paper); }
.com-form .com-campos { display: grid; gap: 10px; }
.com-form .com-extra { display: none; }
.com-form.is-open .com-extra, .com-form:focus-within .com-extra { display: grid; }
.com-form .com-envio { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.com-form .com-envio small { color: var(--muted); font-size: 13px; }
.com-form .btn { width: auto; min-height: 44px; padding: 0 20px; }
.com-form .field-err { margin: 0 !important; background: #fdecee; }
.com-av {
  flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; overflow: hidden;
  background: var(--av, var(--brand)); color: #fff; font: 600 14px/1 var(--f-display); letter-spacing: .02em;
}
.com-av img { width: 100%; height: 100%; object-fit: cover; }

.com-list, .com-list .children { list-style: none; margin: 0; padding: 0; }
.com { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.com-list > .com:first-child { border-top: 0; }
.com .children { grid-column: 2; margin-top: 4px; }
.com .children .com { grid-template-columns: 32px 1fr; padding: 12px 0 4px; border-top: 0; }
.com .children .com-av { width: 32px; height: 32px; font-size: 12px; }
.com-body { min-width: 0; }
.com-meta { margin: 0; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.com-meta b { color: var(--ink); font-weight: 600; font-size: 15px; }
.com-meta .com-autor { font: 600 11px/1 var(--f-text); letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--brand); padding: 4px 7px; border-radius: 999px; }
.com-txt { margin: 4px 0 0; font-size: 16px; line-height: 1.55; color: #17202c; overflow-wrap: anywhere; }
.com-txt p { margin: 0 0 .6em; }
.com-txt p:last-child { margin-bottom: 0; }
.com-espera { margin: 6px 0 0; font-size: 13px; color: var(--muted); font-style: italic; }
.com-act { display: flex; align-items: center; gap: 4px; margin: 6px 0 0 -10px; }
.com-act button, .com-act a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 10px; border-radius: 999px; font: 500 14px/1 var(--f-text); color: var(--muted); }
.com-act button:hover, .com-act a:hover { background: #eef4fa; color: var(--ink); }
.com-act .icon { width: 18px; height: 18px; }
.com-like[aria-pressed="true"] { color: var(--brand); }
.com-like[aria-pressed="true"] .icon { fill: currentColor; fill-opacity: .18; }
.com-like.pop .icon { animation: pop 300ms var(--ease); }
.com-report { margin-left: auto; }
.com.is-reported > .com-body > .com-txt { color: var(--muted); font-style: italic; }
.com-reply-form { margin: 8px 0 4px; grid-template-columns: 32px 1fr; }
.com-reply-form .com-av { width: 32px; height: 32px; font-size: 12px; }
.com-new { animation: comNovo 1.6s var(--ease); }
@keyframes comNovo { from { background: #e3f1fb; } }
.com-more { margin: 8px 0 12px; }
.com-regras { margin: 8px 0 16px; font-size: 13.5px; color: var(--muted); }
.com-regras a { color: var(--link); }
.com-vazio { padding: 18px 0 6px; color: var(--muted); }

/* contagem nos cartões */
.post-foot .com-link { display: inline-flex; align-items: center; gap: 4px; width: auto; padding: 0 10px; border-radius: 999px; font: 600 14px/1 var(--f-text); color: var(--ink-2); }
.post-foot .com-link:hover { background: rgba(12, 22, 36, .06); }
.op-foot .com-link { color: #fff; }
.row-com { display: inline-flex; align-items: center; gap: 3px; }
.row-com .icon { width: 14px; height: 14px; }
.art-bar.has-com { grid-template-columns: repeat(5, 1fr); }
.art-bar .n-com { position: absolute; top: 6px; left: calc(50% + 4px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--cyan); color: var(--navy); font: 700 11px/18px var(--f-text); text-align: center; }
.art-bar a, .art-bar button { position: relative; }
@media (min-width: 768px) { .coms { padding: 28px 40px 8px; } }

/* emblemas dos clubes (no lugar do escudo com a sigla, quando existem) */
.crest { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #fff; box-shadow: inset 0 0 0 1px rgba(12, 22, 36, .08); }
.crest img { width: 76%; height: 76%; object-fit: contain; }
.tag-club.has-crest { padding-left: 4px; border-radius: 999px; gap: 8px; }
.tag-club .crest { width: 30px; height: 30px; border-radius: 50%; }
.row-cat .crest { width: 22px; height: 22px; border-radius: 6px; }
.story-head .crest { width: 36px; height: 36px; border-radius: 10px; }
.arch-kicker .crest { width: 32px; height: 32px; }

/* o atributo hidden ganha sempre (a .btn e outras classes têm display próprio) */
[hidden] { display: none !important; }

/* ═════════ mega menu (computador): os subitens do menu do cabeçalho num painel a toda a largura ═════════ */
@media (min-width: 1080px) {
  .topnav { align-self: stretch; align-items: center; }
  /* o item ocupa a barra de alto a baixo: o rato desce para o painel sem sair dele */
  .nav-item { display: flex; align-items: center; align-self: stretch; }
  .topnav .nav-top .icon { width: 16px; height: 16px; margin: 0 -3px 0 5px; opacity: .75; transition: transform var(--t) var(--ease); }
  .nav-item.is-in > .nav-top { background: rgba(255, 255, 255, .18); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
  .nav-item:hover > .nav-top, .nav-item:focus-within > .nav-top, .nav-item.is-open > .nav-top { background: rgba(255, 255, 255, .12); color: #fff; }
  .nav-item:hover > .nav-top .icon, .nav-item:focus-within > .nav-top .icon, .nav-item.is-open > .nav-top .icon { transform: rotate(180deg); }

  .mega {
    display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 1; color: #fff;
    background: var(--net), linear-gradient(180deg, #0c2f59 0%, #06172e 100%);
    border-top: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 28px 44px -20px rgba(0, 0, 0, .7);
    opacity: 0; transform: translateY(-6px);
    transition: opacity 160ms var(--ease), transform 160ms var(--ease), display 160ms allow-discrete;
  }
  /* abre com um pequeno atraso: atravessar a barra com o rato não faz piscar painéis */
  .nav-item:hover > .mega, .nav-item:focus-within > .mega, .nav-item.is-open > .mega { display: block; opacity: 1; transform: none; transition-delay: 90ms; }
  @starting-style { .nav-item:hover > .mega, .nav-item:focus-within > .mega, .nav-item.is-open > .mega { opacity: 0; transform: translateY(-6px); } }
  .nav-item.is-shut > .mega { display: none !important; } /* fechado com Escape */
  .mega-in { max-width: var(--wrap); margin: 0 auto; padding: 20px 0 26px; }
  .mega-h { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 10px 10px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .mega-t { font: 700 20px/1.2 var(--f-display); letter-spacing: -.01em; }
  .topnav .mega-all { min-height: 44px; padding: 0 14px; gap: 6px; font: 600 14px/1 var(--f-text); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
  .topnav .mega-all .icon { width: 16px; height: 16px; }
  .mega-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px 6px; }
  .topnav .mega-list a { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 6px 10px; border-radius: 12px; white-space: normal; font: 500 15px/1.2 var(--f-text); color: rgba(255, 255, 255, .92); }
  .topnav .mega-list a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
  .topnav .mega-list a[aria-current="page"] { background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
  .mega-list .crest { width: 30px; height: 30px; border-radius: 8px; }
  .mega-list .av { width: 30px; height: 34px; font-size: 9px; }
}
@media (min-width: 1080px) and (prefers-reduced-motion: reduce) { .mega { transition: none; transform: none; } }
