:root {
  --bg: #0f1115;
  --panel: #171a21;
  --panel-2: #1f232c;
  --line: #2a2f3a;
  --text: #eef0f4;
  --muted: #9097a6;
  --accent: #ff7a1a;
  --live: #ff5d6c;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Inter', system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.55 var(--body); }
a { color: var(--accent); }
img, video { max-width: 100%; display: block; }

.site-head { position: sticky; top: 0; z-index: 5; background: rgba(15, 17, 21, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.head-row { max-width: 960px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 18px; }
.site-head .brand { display: flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; flex: none;
  font-family: var(--display); font-weight: 700; font-size: 20px; text-transform: uppercase; letter-spacing: .02em; }
.menu { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; margin-left: auto; }
.menu::-webkit-scrollbar { display: none; }
.menu a { flex: none; color: var(--muted); text-decoration: none; font-size: 15px; padding: 6px 10px; border-radius: 8px; }
.menu a:hover { color: var(--text); }
.menu a[aria-current="page"] { color: var(--text); background: var(--panel-2); }
@media (max-width: 720px) {
  .head-row { flex-wrap: wrap; row-gap: 6px; padding-bottom: 6px; }
  .menu { margin-left: 0; width: 100%; }
}
.brand em { font-style: normal; color: var(--accent); }
.ball { width: 16px; height: 16px; border-radius: 50%; background: var(--accent); position: relative; box-shadow: inset 0 0 0 2px var(--bg); flex: none; }
.ball::after { content: ''; position: absolute; inset: 45% 0 auto; height: 2px; background: var(--bg); }

.wrap { max-width: 960px; margin: 0 auto; padding: 16px 16px 48px; }
.site-foot { max-width: 960px; margin: 0 auto; padding: 24px 16px 40px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.foot-links { display: flex; gap: 14px; }
.foot-links a { color: var(--muted); }
.page-title { font-family: var(--display); font-size: 36px; line-height: 1.05; text-transform: uppercase; letter-spacing: .01em; margin: 4px 0 16px; }
.crumbs { margin: 0; color: var(--muted); font-size: 14px; }
.crumbs a { color: var(--muted); }
.empty { color: var(--muted); }

/* Placar */
.board { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 16px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); margin-bottom: 16px; }
.board .team { display: grid; justify-items: center; gap: 2px; text-align: center; min-width: 0; }
.board .name { font-family: var(--display); font-weight: 600; font-size: 18px; text-transform: uppercase; line-height: 1.1; }
.board .pts { font-family: var(--display); font-weight: 700; font-size: 52px; line-height: 1; font-variant-numeric: tabular-nums; }
.board .mid { display: grid; justify-items: center; gap: 6px; }
.board .period { color: var(--muted); font-size: 14px; white-space: nowrap; }
.board-title { grid-column: 1 / -1; font-family: var(--display); font-size: 22px; text-transform: uppercase; text-align: center; }
.live-pill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; background: rgba(255, 93, 108, .15); color: var(--live);
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.live-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--live); animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .3; } }

.tabs { display: flex; gap: 6px; margin-bottom: 12px; }
.tabs a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); text-decoration: none; font-size: 15px; }
.tabs a.on { color: var(--text); border-color: var(--accent); }

/* Posts */
.posts { display: grid; gap: 0; }
.post { padding: 18px 0; border-bottom: 1px solid var(--line); }
.post.fresh { animation: fresh 2.5s ease-out; }
@keyframes fresh { from { background: rgba(255, 122, 26, .12); } to { background: transparent; } }
.post-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; font-size: 14px; color: var(--muted); }
.post-meta time { font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.post-meta .score { padding: 1px 8px; border-radius: 6px; background: var(--panel-2); }
.post-meta .del { margin-left: auto; background: none; border: 1px solid var(--line); color: var(--muted); border-radius: 8px; padding: 2px 10px; font: inherit; font-size: 13px; cursor: pointer; }
.post-meta .del:hover { color: var(--live); border-color: var(--live); }
.post-text { white-space: normal; overflow-wrap: anywhere; }
.post-text .tag { color: var(--muted); }
.media { display: grid; gap: 6px; margin-top: 10px; }
.media.n2, .media.n4 { grid-template-columns: 1fr 1fr; }
.media.n3 { grid-template-columns: 1fr 1fr; }
.media.n3 > :first-child { grid-column: 1 / -1; }
.media img, .media video { width: 100%; border-radius: 12px; background: var(--panel-2); object-fit: cover; max-height: 560px; }
.media.n2 img, .media.n3 img, .media.n4 img { aspect-ratio: 1 !important; height: 100%; }

.new-posts { position: sticky; top: 60px; z-index: 4; text-align: center; margin-bottom: 8px; }
.new-posts button { background: var(--accent); color: #1a0d02; border: 0; border-radius: 999px; padding: 8px 16px; font: inherit; font-weight: 600; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.35); }

/* Índice */
.cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.card { display: grid; border-radius: 14px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); color: var(--text); text-decoration: none; }
.card:hover { border-color: var(--accent); }
.card img, .card-ph { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card-ph { background: linear-gradient(135deg, #1f232c, #2a1a10); }
.card-body { display: grid; gap: 2px; padding: 12px; }
.card-body strong { font-family: var(--display); font-size: 20px; text-transform: uppercase; line-height: 1.1; }
.card-date, .card-n { color: var(--muted); font-size: 13px; }
.card-score { font-size: 15px; }
.live-dot { color: var(--live); font-weight: 600; }

/* Galeria */
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.gallery figure { margin: 0; }
.gallery img, .gallery video { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: var(--panel-2); }
.gallery figcaption { color: var(--muted); font-size: 13px; margin-top: 4px; }

@media (max-width: 420px) {
  .page-title { font-size: 30px; }
  .board .pts { font-size: 42px; }
  .board .name { font-size: 15px; }
}

/* ---------- Site principal ---------- */
.game, .posts, .new-posts { max-width: 760px; }
.lede { font-size: 19px; color: #c9ced8; margin: 0 0 18px; max-width: 680px; }
.intro .page-title { font-size: 44px; margin-bottom: 8px; }
.live-hero { margin: 8px 0 24px; }
.live-hero-link { display: grid; gap: 6px; padding: 18px; border-radius: 16px; border: 1px solid var(--live); background: linear-gradient(135deg, rgba(255,93,108,.12), rgba(255,122,26,.08)); color: var(--text); text-decoration: none; }
.live-hero-link strong { font-family: var(--display); font-size: 28px; text-transform: uppercase; line-height: 1.05; }
.hero-score { font-size: 18px; }
.hero-cta { color: var(--accent); font-weight: 600; }
.home-block { margin: 28px 0; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.block-head h2 { font-family: var(--display); font-size: 24px; text-transform: uppercase; margin: 0; }
.block-head a { font-size: 15px; text-decoration: none; }
.promo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.promo-card { display: grid; gap: 2px; padding: 18px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); color: var(--text); text-decoration: none; }
.promo-card:hover { border-color: var(--accent); }
.promo-card strong { font-family: var(--display); font-size: 22px; text-transform: uppercase; }
.promo-card span { color: var(--muted); font-size: 14px; }
@media (max-width: 520px) { .promo { grid-template-columns: 1fr; } .intro .page-title { font-size: 36px; } }
.card-excerpt { color: var(--muted); font-size: 14px; line-height: 1.45; }
.cat { color: var(--accent); font-weight: 600; }
.cats { flex-wrap: wrap; }

/* Artigo e páginas fixas */
.article { max-width: 700px; margin: 0 auto; }
.article-title { font-family: var(--display); font-size: 44px; line-height: 1.05; text-transform: none; margin: 6px 0 12px; }
.byline { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.article-cover { width: 100%; border-radius: 14px; margin: 0 0 22px; }
.prose { font-size: 18px; line-height: 1.7; }
.prose h2 { font-family: var(--display); font-size: 30px; line-height: 1.1; margin: 1.6em 0 .4em; }
.prose h3 { font-size: 21px; margin: 1.4em 0 .4em; }
.prose h4 { font-size: 18px; margin: 1.2em 0 .3em; }
.prose p { margin: 0 0 1.1em; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--accent); color: #d6dae2; font-size: 20px; font-style: italic; }
.prose img { width: 100%; height: auto; border-radius: 12px; margin: 1.2em 0; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; margin: 1.2em 0; }
.prose iframe[src*="spotify"] { aspect-ratio: auto; height: 232px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin: .3em 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose pre { background: var(--panel); padding: 12px; border-radius: 10px; overflow-x: auto; font-size: 14px; }
.draft-banner { background: rgba(255,194,75,.12); border: 1px solid #ffc24b; color: #ffc24b; padding: 8px 12px; border-radius: 10px; font-size: 14px; }
.admin-note { margin-top: 28px; font-size: 14px; }
@media (max-width: 520px) { .article-title { font-size: 34px; } .prose { font-size: 17px; } }

/* Coluna Nas Quadras */
.column-intro { margin-bottom: 18px; }
.column-list { display: grid; gap: 12px; }
.column-card { display: grid; grid-template-columns: 220px 1fr; gap: 0; border-radius: 14px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); color: var(--text); text-decoration: none; }
.column-card:hover { border-color: var(--accent); }
.column-card img, .column-card .card-ph { width: 100%; height: 100%; min-height: 140px; object-fit: cover; aspect-ratio: auto; }
.column-body { display: grid; gap: 4px; padding: 14px 16px; align-content: start; }
.column-body strong { font-family: var(--display); font-size: 24px; line-height: 1.1; }
.column-cta { color: var(--accent); font-size: 14px; font-weight: 600; margin-top: 4px; }
@media (max-width: 560px) {
  .column-card { grid-template-columns: 1fr; }
  .column-card img, .column-card .card-ph { aspect-ratio: 16 / 9; min-height: 0; }
}
