/*
Theme Name: CPU Arena
Theme URI: https://example.com/
Author: CPU Arena
Description: Tema escuro, limpo e quase alienígena para sites de tecnologia. Feito para combinar com o plugin CPU Arena · Comparador de Processadores, mas funciona sozinho como blog.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: xenocore
Tags: dark, blog, one-column, custom-logo, custom-menu, featured-images, threaded-comments, block-styles, wide-blocks
*/

/* Layout: cabeçalho de vidro fixo, faixas de largura total com conteúdo em coluna de 1200px,
   texto longo em coluna de leitura de ~70 caracteres. Tema escuro por escolha (um só visual). */
:root {
  --xc-void: #07061a;
  --xc-deep: #0e0c2a;
  --xc-glass: rgba(120, 110, 255, 0.07);
  --xc-line: rgba(160, 150, 255, 0.16);
  --xc-text: #ecebff;
  --xc-mute: #9a97c4;
  --xc-ion: #4ff3e6;
  --xc-plasma: #ff4fd8;
  --xc-sol: #ffc35a;
  --xc-amd: #ff6b6b;
  --xc-intel: #6aa8ff;
  --xc-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --xc-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --xc-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --t-head: 68px;
  --t-max: 1200px;
  --t-read: 780px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--t-head) + 20px); }
body {
  margin: 0;
  background: var(--xc-void);
  color: var(--xc-text);
  font: 17px/1.65 var(--xc-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--xc-void); }
img, video, iframe { max-width: 100%; height: auto; }
a { color: var(--xc-ion); text-underline-offset: 3px; }
a:hover { color: #b3fff7; }
:focus-visible { outline: 2px solid var(--xc-ion); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--xc-display); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; text-wrap: balance; color: var(--xc-text); margin: 0 0 .6em; }
p { margin: 0 0 1.1em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.screen-reader-text:focus { clip: auto; width: auto; height: auto; z-index: 100; top: 12px; left: 12px; padding: 10px 16px; background: var(--xc-deep); color: var(--xc-text); border-radius: 10px; }
.skip-link { position: absolute; }

/* Fundo vivo */
.t-cosmos { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.t-cosmos canvas { width: 100%; height: 100%; display: block; }
.t-cosmos::before, .t-cosmos::after { content: ""; position: absolute; border-radius: 50%; filter: blur(100px); }
.t-cosmos::before { width: 60vmax; height: 60vmax; left: -22vmax; top: -28vmax; background: radial-gradient(circle, rgba(79,243,230,.22), transparent 65%); }
.t-cosmos::after { width: 55vmax; height: 55vmax; right: -24vmax; bottom: -20vmax; background: radial-gradient(circle, rgba(255,79,216,.18), transparent 65%); }

.t-wrap { width: 100%; max-width: var(--t-max); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* Cabeçalho */
.t-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.admin-bar .t-head { top: 32px; }
@media (max-width: 782px) { .admin-bar .t-head { top: 46px; } }
.t-head.is-scrolled, .t-head.is-open { background: color-mix(in srgb, var(--xc-void) 80%, transparent); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--xc-line); }
.t-head .t-wrap { display: flex; align-items: center; gap: 20px; min-height: var(--t-head); }
.t-brand { display: flex; flex-shrink: 0; align-items: center; gap: 12px; color: var(--xc-text); text-decoration: none; font-family: var(--xc-display); font-weight: 700; font-size: 16px; letter-spacing: .1em; text-transform: uppercase; min-width: 0; }
.t-brand:hover { color: var(--xc-text); }
.t-brand svg { width: 34px; height: 34px; flex-shrink: 0; }
.t-brand .custom-logo { max-height: 40px; width: auto; display: block; }
.t-brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.t-nav { margin-left: auto; }
.t-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.t-nav li { position: relative; }
.t-nav a { display: block; color: var(--xc-mute); text-decoration: none; padding: 8px 14px; border-radius: 999px; font-size: 15px; white-space: nowrap; }
.t-nav a:hover, .t-nav .current-menu-item > a, .t-nav .current_page_item > a { color: var(--xc-text); background: var(--xc-glass); }
.t-nav .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; flex-direction: column; padding: 8px; background: var(--xc-deep); border: 1px solid var(--xc-line); border-radius: 16px; box-shadow: 0 24px 60px -20px #000; }
.t-nav li:hover > .sub-menu, .t-nav li:focus-within > .sub-menu { display: flex; }
.t-tools { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.xc-langs { display: flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid var(--xc-line); background: var(--xc-glass); font: 600 11.5px/1 var(--xc-mono, monospace); letter-spacing: .08em; }
.xc-langs a, .xc-langs span { display: block; padding: 8px 9px; border-radius: 999px; color: var(--xc-mute); text-decoration: none; }
.xc-langs a:hover { color: var(--xc-text); background: rgba(255,255,255,.06); }
.xc-langs .on { color: #07061a; background: var(--xc-ion); }
@media (max-width: 760px) {
  .t-tools { gap: 6px; }
  .t-tools .t-icon { width: 38px; height: 38px; }
  .xc-langs { font-size: 10.5px; padding: 2px; }
  .xc-langs a, .xc-langs span { padding: 7px 6px; }
  .t-brand { gap: 8px; font-size: 14px; letter-spacing: .06em; }
  .t-brand svg { width: 28px; height: 28px; }
}
@media (max-width: 360px) { .t-brand span { display: none; } }
.t-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--xc-line); background: var(--xc-glass); color: var(--xc-text); cursor: pointer; padding: 0; }
.t-icon:hover { border-color: var(--xc-ion); }
.t-icon svg { width: 18px; height: 18px; }
.t-menu-btn { display: none; }

/* Busca sobreposta */
.t-search { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: start center; padding: calc(14vh + env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-right, 0px)) 20px max(20px, env(safe-area-inset-left, 0px)); background: rgba(4,3,16,.86); backdrop-filter: blur(10px); }
.t-search[hidden] { display: none; }
.t-search .t-search-in { width: min(720px, 100%); }
.t-search p { color: var(--xc-mute); font-size: 14px; margin-top: 14px; }

/* Formulário de busca */
.search-form { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 20px; border-radius: 999px; border: 1px solid transparent; background-image: linear-gradient(rgba(14,12,42,.95), rgba(14,12,42,.95)), linear-gradient(110deg, var(--xc-ion), var(--xc-plasma), var(--xc-sol)); background-origin: border-box; background-clip: padding-box, border-box; box-shadow: 0 20px 60px -24px rgba(255,79,216,.45); }
.search-form label { flex: 1; min-width: 0; display: flex; }
.search-form .search-field { flex: 1; min-width: 0; width: 100%; border: 0; background: transparent; color: var(--xc-text); font: 500 17px/1.2 var(--xc-body); padding: 14px 0; outline: none; }
.search-form .search-field::placeholder { color: var(--xc-mute); }
.search-form .search-submit { flex-shrink: 0; }

/* Botões */
.t-btn, .wp-block-button__link, .search-submit, input[type="submit"], button.t-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 12px 22px; font: 600 15px/1 var(--xc-body); text-decoration: none; cursor: pointer; border: 1px solid var(--xc-line); background: var(--xc-glass); color: var(--xc-text); white-space: nowrap; transition: border-color .2s, background-position .5s, transform .2s; }
.t-btn:hover, .wp-block-button__link:hover { border-color: var(--xc-ion); color: var(--xc-text); }
.t-btn.pri, .search-submit, input[type="submit"], .wp-block-button:not(.is-style-outline) .wp-block-button__link { border: 0; color: #0b0820; background: linear-gradient(110deg, var(--xc-ion), #b3fff7 50%, var(--xc-plasma)); background-size: 200% 100%; }
.t-btn.pri:hover, .search-submit:hover, input[type="submit"]:hover, .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background-position: 100% 0; color: #0b0820; }

/* Rótulos */
.t-kicker { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1.4 var(--xc-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--xc-ion); margin-bottom: 16px; }
.t-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 12px currentColor; animation: t-pulse 2.4s ease-in-out infinite; }
.t-kicker.plasma { color: var(--xc-plasma); }
@keyframes t-pulse { 50% { opacity: .35; transform: scale(.7); } }

/* Início */
.t-hero { padding-block: clamp(56px, 10vw, 120px) clamp(40px, 6vw, 72px); position: relative; overflow-x: clip; }
.t-hero h1 { font-size: clamp(38px, 7.2vw, 92px); font-weight: 700; max-width: 14ch; margin-bottom: 22px; }
.t-hero h1 em { font-style: normal; background: linear-gradient(100deg, var(--xc-ion) 10%, var(--xc-plasma) 55%, var(--xc-sol)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.t-hero .lede { font-size: clamp(17px, 2vw, 20px); color: var(--xc-mute); max-width: 58ch; }
.t-hero .search-form { max-width: 720px; margin-top: 30px; }
.t-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.t-orbit { position: absolute; right: 0; top: 40px; width: min(470px, 38vw); aspect-ratio: 1; max-width: 100%; pointer-events: none; opacity: .9; }
.t-orbit svg { width: 100%; height: 100%; overflow: visible; }
.t-orbit .spin { transform-origin: 260px 260px; animation: t-spin 60s linear infinite; }
.t-orbit .spin2 { transform-origin: 260px 260px; animation: t-spin 90s linear infinite reverse; }
@keyframes t-spin { to { transform: rotate(360deg); } }

.t-band { padding-block: clamp(48px, 7vw, 84px); }
.t-band-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; }
.t-band-h h2 { font-size: clamp(26px, 3.6vw, 42px); margin: 0; }
.t-band-h p { color: var(--xc-mute); margin: 8px 0 0; max-width: 56ch; }

.t-duels { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.t-duel { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: 22px; border: 1px solid var(--xc-line); background: linear-gradient(160deg, rgba(30,26,80,.5), rgba(10,9,32,.6)); text-decoration: none; color: var(--xc-text); position: relative; overflow: hidden; transition: transform .25s, border-color .25s; }
.t-duel:hover { transform: translateY(-3px); border-color: rgba(79,243,230,.5); color: var(--xc-text); }
.t-duel .vs { font: 600 12px var(--xc-mono); letter-spacing: .2em; color: var(--xc-plasma); }
.t-duel .side { display: flex; align-items: center; gap: 10px; font-family: var(--xc-display); font-size: 16px; font-weight: 600; line-height: 1.25; }
.t-duel .side i { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.t-duel .side.a i { background: var(--xc-ion); box-shadow: 0 0 10px var(--xc-ion); }
.t-duel .side.b i { background: var(--xc-plasma); box-shadow: 0 0 10px var(--xc-plasma); }
.t-duel .go { margin-top: auto; color: var(--xc-mute); font-size: 14px; }

.t-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.t-chipcard { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-radius: 18px; border: 1px solid var(--xc-line); background: rgba(7,6,26,.55); text-decoration: none; color: var(--xc-text); transition: border-color .2s; }
.t-chipcard:hover { border-color: var(--xc-ion); color: var(--xc-text); }
.t-chipcard b { font-family: var(--xc-display); font-weight: 600; font-size: 15px; line-height: 1.3; }
.t-chipcard span { font-size: 13px; color: var(--xc-mute); }
.t-badge { display: inline-flex; width: fit-content; font: 600 11px/1 var(--xc-mono); letter-spacing: .08em; text-transform: uppercase; padding: 5px 8px; border-radius: 6px; }
.t-badge.A { color: var(--xc-amd); background: rgba(255,107,107,.12); }
.t-badge.I { color: var(--xc-intel); background: rgba(106,168,255,.13); }

.t-cta { border-radius: 30px; padding: clamp(28px, 5vw, 56px); border: 1px solid var(--xc-line); background: radial-gradient(700px 300px at 0% 0%, rgba(79,243,230,.16), transparent 70%), radial-gradient(600px 300px at 100% 100%, rgba(255,79,216,.16), transparent 70%), rgba(14,12,42,.7); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.t-cta h2 { font-size: clamp(24px, 3.4vw, 38px); margin: 0 0 8px; max-width: 22ch; }
.t-cta p { color: var(--xc-mute); margin: 0; max-width: 52ch; }

/* Cards de posts */
.t-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.t-post { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; border: 1px solid var(--xc-line); background: rgba(7,6,26,.55); transition: transform .25s, border-color .25s; min-width: 0; }
.t-post:hover { transform: translateY(-3px); border-color: rgba(79,243,230,.45); }
.t-post-media { aspect-ratio: 16 / 9; max-width: 100%; display: block; overflow: hidden; background: linear-gradient(135deg, #1a1450, #07061a); position: relative; }
.t-post-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.t-post:hover .t-post-media img { transform: scale(1.04); }
.t-post-media .ph { position: absolute; inset: 0; background: radial-gradient(circle at 30% 30%, hsla(var(--h), 95%, 62%, .5), transparent 55%), radial-gradient(circle at 75% 70%, hsla(calc(var(--h) + 120), 95%, 62%, .35), transparent 50%); }
.t-post-media .ph::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(160,150,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(160,150,255,.12) 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%); -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%); }
.t-post-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.t-post-meta { font: 500 12px/1.4 var(--xc-mono); letter-spacing: .06em; color: var(--xc-mute); text-transform: uppercase; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.t-post-meta a { color: var(--xc-plasma); text-decoration: none; }
.t-post h2, .t-post h3 { font-size: 19px; margin: 0; line-height: 1.3; }
.t-post h2 a, .t-post h3 a { color: var(--xc-text); text-decoration: none; }
.t-post h2 a:hover, .t-post h3 a:hover { color: var(--xc-ion); }
.t-post p { color: var(--xc-mute); font-size: 15px; margin: 0; }
.t-post .more { margin-top: auto; font-size: 14px; font-weight: 600; text-decoration: none; }

/* Arquivo / busca */
.t-archive-h { padding-block: clamp(48px, 8vw, 96px) 28px; }
.t-archive-h h1 { font-size: clamp(32px, 5.4vw, 64px); margin-bottom: 12px; }
.t-archive-h p, .t-archive-h .archive-description { color: var(--xc-mute); max-width: 60ch; }
.t-archive-h .search-form { max-width: 640px; margin-top: 22px; }
.t-empty { padding: 40px; border: 1px dashed var(--xc-line); border-radius: 22px; color: var(--xc-mute); text-align: center; }

.navigation.pagination { margin-top: 40px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.page-numbers { min-width: 44px; height: 44px; display: inline-grid; place-items: center; padding: 0 14px; border-radius: 999px; border: 1px solid var(--xc-line); color: var(--xc-text); text-decoration: none; font: 600 14px var(--xc-mono); }
.page-numbers.current { background: linear-gradient(110deg, var(--xc-ion), var(--xc-plasma)); color: #0b0820; border: 0; }
a.page-numbers:hover { border-color: var(--xc-ion); color: var(--xc-text); }

/* Leitura */
.t-progress { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; height: 3px; width: 100%; z-index: 70; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--xc-ion), var(--xc-plasma), var(--xc-sol)); box-shadow: 0 0 14px var(--xc-plasma); pointer-events: none; }
.admin-bar .t-progress { top: 32px; }
.t-article-h { padding-block: clamp(48px, 8vw, 96px) 28px; max-width: calc(var(--t-read) + 40px); }
.t-article-h h1 { font-size: clamp(32px, 5.4vw, 60px); margin-bottom: 18px; }
.t-article-h .t-post-meta { font-size: 13px; }
.t-article-h .lede { color: var(--xc-mute); font-size: 19px; max-width: 60ch; }
.t-cover { margin: 0 auto 40px; max-width: var(--t-max); }
.t-cover img { width: 100%; border-radius: 26px; display: block; border: 1px solid var(--xc-line); }

.t-prose { max-width: var(--t-read); margin: 0 auto; font-size: 18px; line-height: 1.75; }
.t-prose > * { margin-top: 0; margin-bottom: 1.2em; }
.t-prose h2 { font-size: 30px; margin-top: 1.8em; }
.t-prose h3 { font-size: 23px; margin-top: 1.6em; }
.t-prose h4 { font-size: 19px; margin-top: 1.4em; }
.t-prose a { color: var(--xc-ion); }
.t-prose strong { color: #fff; }
.t-prose ul, .t-prose ol { padding-left: 1.3em; }
.t-prose li { margin-bottom: .45em; }
.t-prose li::marker { color: var(--xc-plasma); }
.t-prose blockquote, .t-prose .wp-block-quote { margin-left: 0; margin-right: 0; padding: 18px 24px; border-left: 3px solid var(--xc-plasma); background: rgba(255,79,216,.06); border-radius: 0 16px 16px 0; font-size: 20px; color: var(--xc-text); }
.t-prose blockquote cite { display: block; margin-top: 8px; font-size: 14px; color: var(--xc-mute); font-style: normal; }
.t-prose code { font-family: var(--xc-mono); font-size: .88em; background: rgba(160,150,255,.12); padding: .15em .4em; border-radius: 6px; }
.t-prose pre { font-family: var(--xc-mono); font-size: 14px; background: #050414; border: 1px solid var(--xc-line); border-radius: 16px; padding: 18px; overflow-x: auto; }
.t-prose pre code { background: none; padding: 0; }
.t-prose hr, .t-prose .wp-block-separator { border: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--xc-line), transparent); margin: 2.4em 0; }
.t-prose img { border-radius: 18px; }
.t-prose figcaption, .wp-element-caption { font-size: 14px; color: var(--xc-mute); text-align: center; margin-top: 8px; }
.t-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.t-prose .wp-block-table { overflow-x: auto; }
.t-prose th, .t-prose td { padding: 10px 12px; border-bottom: 1px solid var(--xc-line); text-align: left; }
.t-prose th { font-family: var(--xc-display); font-size: 13px; font-weight: 600; }
.t-prose .alignwide { max-width: min(1100px, calc(100vw - 40px)); margin-left: 50%; transform: translateX(-50%); width: min(1100px, calc(100vw - 40px)); }
.t-prose .alignfull { max-width: 100vw; width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.t-prose .alignleft { float: left; margin: .3em 1.4em 1em 0; max-width: 50%; }
.t-prose .alignright { float: right; margin: .3em 0 1em 1.4em; max-width: 50%; }
.t-prose .aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.t-prose::after { content: ""; display: table; clear: both; }

.t-tags { max-width: var(--t-read); margin: 30px auto 0; display: flex; flex-wrap: wrap; gap: 8px; }
.t-tags a { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--xc-line); color: var(--xc-text); text-decoration: none; }
.t-tags a:hover { border-color: var(--xc-ion); }
.t-postnav { max-width: var(--t-read); margin: 50px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.t-postnav a { display: block; padding: 18px; border-radius: 18px; border: 1px solid var(--xc-line); text-decoration: none; color: var(--xc-text); min-width: 0; }
.t-postnav a:hover { border-color: var(--xc-ion); color: var(--xc-text); }
.t-postnav span { display: block; font: 500 12px var(--xc-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--xc-mute); margin-bottom: 6px; }
.t-postnav .next { text-align: right; }

/* Comentários */
.t-comments { max-width: var(--t-read); margin: 60px auto 0; }
.t-comments h2 { font-size: 24px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 30px; }
.comment-list .children { list-style: none; padding-left: 24px; border-left: 1px solid var(--xc-line); }
.comment-body { padding: 18px 0; border-bottom: 1px solid var(--xc-line); }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: 13px; }
.comment-metadata a { color: var(--xc-mute); }
.comment-form label { display: block; font-size: 14px; color: var(--xc-mute); margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea, .wpcf7 input, .wpcf7 textarea { width: 100%; background: var(--xc-deep); border: 1px solid var(--xc-line); border-radius: 14px; padding: 12px 14px; color: var(--xc-text); font: 16px var(--xc-body); }
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--xc-ion); outline: none; }
.comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; }
.comment-form-cookies-consent label { display: inline; }

/* Rodapé */
.t-foot { margin-top: clamp(60px, 9vw, 120px); border-top: 1px solid var(--xc-line); padding-block: 48px calc(40px + env(safe-area-inset-bottom, 0px)); color: var(--xc-mute); font-size: 15px; }
.t-foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; }
.t-foot .t-brand { margin-bottom: 14px; }
.t-foot p { max-width: 46ch; }
.t-foot ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; }
.t-foot ul a { color: var(--xc-text); text-decoration: none; }
.t-foot ul a:hover { color: var(--xc-ion); }
.t-foot-base { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--xc-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; }

/* 404 */
.t-404 { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 60px; }
.t-404 .code { font: 700 clamp(90px, 22vw, 220px)/1 var(--xc-display); background: linear-gradient(100deg, var(--xc-ion), var(--xc-plasma), var(--xc-sol)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 40px rgba(255,79,216,.35)); }
.t-404 h1 { font-size: clamp(24px, 3.4vw, 36px); margin-top: 10px; }
.t-404 p { color: var(--xc-mute); }
.t-404 .search-form { max-width: 560px; margin: 26px auto 0; }

/* Página comum */
.t-page-h { padding-block: clamp(48px, 8vw, 90px) 24px; }
.t-page-h h1 { font-size: clamp(32px, 5.2vw, 58px); margin: 0; }

/* Integração com o plugin Xenocore */
.xct-app .xc { background: transparent; }
.xct-app .xc-bg { display: none; }
.xct-app .xc-top .xc-logo { display: none; }
.xct-app .xc-top { top: calc(var(--t-head) + env(safe-area-inset-top, 0px)); background: color-mix(in srgb, var(--xc-void) 70%, transparent); }
.admin-bar.xct-app .xc-top { top: calc(var(--t-head) + 32px); }
.xct-app .xc-top .xc-nav { margin-left: 0; }
.xct-app .xc-top .xc-mode { margin-left: auto; }
.xct-app .t-foot { margin-top: 0; }

/* Widgets e blocos comuns */
.wp-block-image img { border-radius: 18px; }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; border: 1px solid var(--xc-ion); color: var(--xc-ion); }
.has-text-align-center { text-align: center; }
.sticky .t-post { border-color: rgba(255,195,90,.5); }
.bypostauthor > .comment-body .fn::after { content: " · autor"; color: var(--xc-plasma); font-weight: 400; font-size: 13px; }
.gallery-caption, .wp-caption-text { font-size: 14px; color: var(--xc-mute); }
.wp-caption { max-width: 100%; }

@media (max-width: 900px) {
  .t-menu-btn { display: grid; }
  .t-nav { position: fixed; left: 0; right: 0; top: calc(var(--t-head) + env(safe-area-inset-top, 0px)); bottom: 0; background: rgba(7,6,26,.97); backdrop-filter: blur(14px); padding: 24px max(20px, env(safe-area-inset-right, 0px)) 40px max(20px, env(safe-area-inset-left, 0px)); overflow-y: auto; display: none; margin: 0; }
  .admin-bar .t-nav { top: calc(var(--t-head) + 46px); }
  .t-head.is-open .t-nav { display: block; }
  .t-nav ul { flex-direction: column; gap: 2px; }
  .t-nav a { font-family: var(--xc-display); font-size: 22px; color: var(--xc-text); padding: 14px 6px; border-radius: 12px; }
  .t-nav .sub-menu { display: flex; position: static; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 16px; }
  .t-nav .sub-menu a { font-size: 17px; font-family: var(--xc-body); }
  .t-tools { margin-left: auto; }
  .t-orbit { opacity: .35; width: 80vw; right: -30vw; }
  .t-foot-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .t-postnav { grid-template-columns: minmax(0, 1fr); }
  .t-postnav .next { text-align: left; }
  .t-prose { font-size: 17px; }
  .search-form .search-submit { padding: 12px 16px; }
  .t-brand span { max-width: 52vw; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Páginas de processador, duelo e grupo */
.t-crumbs { font-size: 13px; color: var(--xc-mute); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.t-crumbs a { color: var(--xc-mute); text-decoration: none; }
.t-crumbs a:hover { color: var(--xc-ion); }
.t-cpu .t-article-h { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.t-cpu .t-article-h h1 { margin: 0; }
.t-prose-wide { max-width: 900px; }
.t-prose .xcp-table table { font-size: 15px; }
.t-prose small { color: var(--xc-mute); font-size: 13px; }

/* Teste de velocidade: o painel sai da coluna de texto e usa a largura larga */
.t-prose .xs { width: min(1120px, calc(100vw - 32px)); max-width: none; margin-left: 50%; transform: translateX(-50%); font-size: 16px; line-height: 1.5; }
.t-prose .xs h3 { margin-top: 0; }
