/* GO v104: author card layout refinement + ficha do game contrast fixes. */

:root {
  --go-v104-blue: #2817f1;
  --go-v104-lime: #c7f000;
  --go-v104-light-text: #0b0f19;
  --go-v104-light-muted: #606b7d;
  --go-v104-light-line: rgba(15, 23, 42, 0.12);
  --go-v104-light-surface: rgba(255, 255, 255, 0.66);
  --go-v104-dark-text: #f6f7fb;
  --go-v104-dark-muted: #b7bfcc;
  --go-v104-dark-line: rgba(255, 255, 255, 0.13);
  --go-v104-dark-surface: rgba(255, 255, 255, 0.035);
}

/* Ficha do game inserted inside singles: fix washed out values in light mode. */
html:not(.dark):not(.go-root-dark-mode):not([data-theme="dark"]) body.single:not(.wp-admin):not(.newsx-dark-mode):not(.dark):not(.dark-mode):not(.is-dark-theme) .go-inline-brief {
  --go-inline-brief-bg: transparent !important;
  --go-inline-brief-panel: rgba(255, 255, 255, 0.72) !important;
  --go-inline-brief-panel-strong: rgba(248, 250, 252, 0.94) !important;
  --go-inline-brief-line: rgba(15, 23, 42, 0.12) !important;
  --go-inline-brief-line-strong: rgba(40, 23, 241, 0.24) !important;
  --go-inline-brief-text: var(--go-v104-light-text) !important;
  --go-inline-brief-soft: var(--go-v104-light-muted) !important;
  --go-inline-brief-link: var(--go-v104-blue) !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,255,255,0.52)) !important;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.045) !important;
}

html:not(.dark):not(.go-root-dark-mode):not([data-theme="dark"]) body.single:not(.wp-admin):not(.newsx-dark-mode):not(.dark):not(.dark-mode):not(.is-dark-theme) .go-inline-brief__kicker,
html:not(.dark):not(.go-root-dark-mode):not([data-theme="dark"]) body.single:not(.wp-admin):not(.newsx-dark-mode):not(.dark):not(.dark-mode):not(.is-dark-theme) .go-inline-brief__label {
  color: var(--go-v104-blue) !important;
}

html:not(.dark):not(.go-root-dark-mode):not([data-theme="dark"]) body.single:not(.wp-admin):not(.newsx-dark-mode):not(.dark):not(.dark-mode):not(.is-dark-theme) .go-inline-brief__title {
  color: var(--go-v104-light-text) !important;
  opacity: 1 !important;
}

html:not(.dark):not(.go-root-dark-mode):not([data-theme="dark"]) body.single:not(.wp-admin):not(.newsx-dark-mode):not(.dark):not(.dark-mode):not(.is-dark-theme) .go-inline-brief__fact {
  border-color: rgba(15, 23, 42, 0.09) !important;
  background: rgba(255, 255, 255, 0.38) !important;
  box-shadow: none !important;
}

html:not(.dark):not(.go-root-dark-mode):not([data-theme="dark"]) body.single:not(.wp-admin):not(.newsx-dark-mode):not(.dark):not(.dark-mode):not(.is-dark-theme) .go-inline-brief__fact strong {
  color: #667085 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

html:not(.dark):not(.go-root-dark-mode):not([data-theme="dark"]) body.single:not(.wp-admin):not(.newsx-dark-mode):not(.dark):not(.dark-mode):not(.is-dark-theme) .go-inline-brief__fact span {
  color: #111827 !important;
  opacity: 1 !important;
  text-shadow: none !important;
  font-weight: 750 !important;
}

html:not(.dark):not(.go-root-dark-mode):not([data-theme="dark"]) body.single:not(.wp-admin):not(.newsx-dark-mode):not(.dark):not(.dark-mode):not(.is-dark-theme) .go-inline-brief__link {
  color: var(--go-v104-blue) !important;
  text-decoration-color: rgba(40, 23, 241, 0.26) !important;
}

html:not(.dark):not(.go-root-dark-mode):not([data-theme="dark"]) body.single:not(.wp-admin):not(.newsx-dark-mode):not(.dark):not(.dark-mode):not(.is-dark-theme) .go-inline-brief__link--primary {
  border-color: rgba(40, 23, 241, 0.18) !important;
  background: rgba(40, 23, 241, 0.055) !important;
  color: var(--go-v104-blue) !important;
}

/* Dark mode keeps the Game Overdrive lime accent and strong contrast. */
html.dark body.single:not(.wp-admin) .go-inline-brief,
html.go-root-dark-mode body.single:not(.wp-admin) .go-inline-brief,
html[data-theme="dark"] body.single:not(.wp-admin) .go-inline-brief,
body.newsx-dark-mode.single:not(.wp-admin) .go-inline-brief,
body.dark.single:not(.wp-admin) .go-inline-brief,
body.dark-mode.single:not(.wp-admin) .go-inline-brief,
body.is-dark-theme.single:not(.wp-admin) .go-inline-brief {
  --go-inline-brief-panel: rgba(255, 255, 255, 0.045) !important;
  --go-inline-brief-panel-strong: rgba(255, 255, 255, 0.065) !important;
  --go-inline-brief-line: rgba(255, 255, 255, 0.12) !important;
  --go-inline-brief-line-strong: rgba(199, 240, 0, 0.30) !important;
  --go-inline-brief-text: var(--go-v104-dark-text) !important;
  --go-inline-brief-soft: var(--go-v104-dark-muted) !important;
  --go-inline-brief-link: var(--go-v104-lime) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  background: rgba(255, 255, 255, 0.025) !important;
}

html.dark body.single:not(.wp-admin) .go-inline-brief__kicker,
html.go-root-dark-mode body.single:not(.wp-admin) .go-inline-brief__kicker,
html[data-theme="dark"] body.single:not(.wp-admin) .go-inline-brief__kicker,
body.newsx-dark-mode.single:not(.wp-admin) .go-inline-brief__kicker,
body.dark-mode.single:not(.wp-admin) .go-inline-brief__kicker {
  color: var(--go-v104-lime) !important;
}

html.dark body.single:not(.wp-admin) .go-inline-brief__fact strong,
html.go-root-dark-mode body.single:not(.wp-admin) .go-inline-brief__fact strong,
html[data-theme="dark"] body.single:not(.wp-admin) .go-inline-brief__fact strong,
body.newsx-dark-mode.single:not(.wp-admin) .go-inline-brief__fact strong,
body.dark-mode.single:not(.wp-admin) .go-inline-brief__fact strong {
  color: #aeb8c8 !important;
  opacity: 1 !important;
}

html.dark body.single:not(.wp-admin) .go-inline-brief__fact span,
html.go-root-dark-mode body.single:not(.wp-admin) .go-inline-brief__fact span,
html[data-theme="dark"] body.single:not(.wp-admin) .go-inline-brief__fact span,
body.newsx-dark-mode.single:not(.wp-admin) .go-inline-brief__fact span,
body.dark-mode.single:not(.wp-admin) .go-inline-brief__fact span {
  color: #f6f7fb !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

/* Single games ficha/sidebar facts: same contrast rules. */
html:not(.dark):not(.go-root-dark-mode):not([data-theme="dark"]) body.single-games:not(.wp-admin):not(.newsx-dark-mode):not(.dark-mode):not(.is-dark-theme) .go-gs-page :is(.go-gs-spec-label, .go-gs-fact span) {
  color: #667085 !important;
  opacity: 1 !important;
}

html:not(.dark):not(.go-root-dark-mode):not([data-theme="dark"]) body.single-games:not(.wp-admin):not(.newsx-dark-mode):not(.dark-mode):not(.is-dark-theme) .go-gs-page :is(.go-gs-spec-value, .go-gs-spec-value *, .go-gs-fact strong, .go-gs-fact strong *) {
  color: #111827 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

html.dark body.single-games:not(.wp-admin) .go-gs-page :is(.go-gs-spec-value, .go-gs-spec-value *, .go-gs-fact strong, .go-gs-fact strong *),
html.go-root-dark-mode body.single-games:not(.wp-admin) .go-gs-page :is(.go-gs-spec-value, .go-gs-spec-value *, .go-gs-fact strong, .go-gs-fact strong *),
body.newsx-dark-mode.single-games:not(.wp-admin) .go-gs-page :is(.go-gs-spec-value, .go-gs-spec-value *, .go-gs-fact strong, .go-gs-fact strong *),
body.dark-mode.single-games:not(.wp-admin) .go-gs-page :is(.go-gs-spec-value, .go-gs-spec-value *, .go-gs-fact strong, .go-gs-fact strong *) {
  color: #f6f7fb !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

/* Author block: cleaner editorial layout, better spacing and color hierarchy. */
html body:not(.wp-admin) .go-single-author-card,
html body:not(.wp-admin) .go-article .go-single-author-card,
html body:not(.wp-admin) .go-review-single-page .go-single-author-card,
html body:not(.wp-admin) .go-review-single-main .go-single-author-card,
html body:not(.wp-admin) .go-article__footer .go-single-author-card {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  width: min(100%, 760px) !important;
  max-width: 760px !important;
  margin: clamp(30px, 4vw, 48px) 0 !important;
  padding: 24px 0 24px !important;
  border: 0 !important;
  border-top: 1px solid var(--go-v104-light-line) !important;
  border-bottom: 1px solid var(--go-v104-light-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--go-v104-light-text) !important;
}

html body:not(.wp-admin) .go-single-author-card::before {
  content: 'Escrito por' !important;
  position: absolute !important;
  left: 0 !important;
  top: -10px !important;
  display: inline-flex !important;
  align-items: center !important;
  min-height: 20px !important;
  padding: 0 9px 0 0 !important;
  background: var(--go-mode-bg, #f7f8fb) !important;
  color: var(--go-v104-blue) !important;
  font-size: 0.72rem !important;
  font-weight: 850 !important;
  letter-spacing: 0.08em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

html body:not(.wp-admin) .go-single-author-card::after {
  content: none !important;
  display: none !important;
}

html body:not(.wp-admin) .go-single-author-card__avatar {
  flex: 0 0 64px !important;
  width: 64px !important;
  max-width: 64px !important;
  height: 64px !important;
  max-height: 64px !important;
  min-width: 64px !important;
  min-height: 64px !important;
  border: 2px solid var(--go-v104-blue) !important;
  box-shadow: 0 0 0 4px rgba(40, 23, 241, 0.10) !important;
}

html body:not(.wp-admin) .go-single-author-card__body {
  display: grid !important;
  gap: 8px !important;
  min-width: 0 !important;
}

html body:not(.wp-admin) .go-single-author-card__head {
  display: flex !important;
  align-items: baseline !important;
  flex-wrap: wrap !important;
  gap: 7px 10px !important;
  margin: 0 !important;
}

html body:not(.wp-admin) .go-single-author-card__name {
  color: var(--go-v104-light-text) !important;
  font-size: clamp(1.35rem, 1.8vw, 1.75rem) !important;
  font-weight: 900 !important;
  line-height: 0.98 !important;
  letter-spacing: -0.05em !important;
}

html body:not(.wp-admin) .go-single-author-card__eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 24px !important;
  padding: 0 9px !important;
  border-radius: 999px !important;
  background: rgba(40, 23, 241, 0.07) !important;
  color: var(--go-v104-blue) !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

html body:not(.wp-admin) .go-single-author-card p {
  max-width: 66ch !important;
  color: #4f5b6f !important;
  opacity: 1 !important;
  font-size: clamp(0.94rem, 1vw, 1rem) !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
}

html body:not(.wp-admin) .go-single-author-card__link {
  width: max-content !important;
  margin-top: 2px !important;
  color: var(--go-v104-blue) !important;
  font-size: 0.82rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.04em !important;
}

html body:not(.wp-admin) .go-single-author-card__link::after {
  content: '→' !important;
  margin-left: 8px !important;
  line-height: 1 !important;
}

html.dark body:not(.wp-admin) .go-single-author-card,
html.go-root-dark-mode body:not(.wp-admin) .go-single-author-card,
html[data-theme="dark"] body:not(.wp-admin) .go-single-author-card,
html[class*="dark"] body:not(.wp-admin) .go-single-author-card,
body.newsx-dark-mode:not(.wp-admin) .go-single-author-card,
body.dark:not(.wp-admin) .go-single-author-card,
body.dark-mode:not(.wp-admin) .go-single-author-card,
body.is-dark-theme:not(.wp-admin) .go-single-author-card {
  border-top-color: var(--go-v104-dark-line) !important;
  border-bottom-color: var(--go-v104-dark-line) !important;
  color: var(--go-v104-dark-text) !important;
}

html.dark body:not(.wp-admin) .go-single-author-card::before,
html.go-root-dark-mode body:not(.wp-admin) .go-single-author-card::before,
html[data-theme="dark"] body:not(.wp-admin) .go-single-author-card::before,
body.newsx-dark-mode:not(.wp-admin) .go-single-author-card::before,
body.dark-mode:not(.wp-admin) .go-single-author-card::before,
body.is-dark-theme:not(.wp-admin) .go-single-author-card::before {
  background: var(--go-mode-bg, #1f1d2b) !important;
  color: var(--go-v104-lime) !important;
}

html.dark body:not(.wp-admin) .go-single-author-card__avatar,
html.go-root-dark-mode body:not(.wp-admin) .go-single-author-card__avatar,
html[data-theme="dark"] body:not(.wp-admin) .go-single-author-card__avatar,
body.newsx-dark-mode:not(.wp-admin) .go-single-author-card__avatar,
body.dark-mode:not(.wp-admin) .go-single-author-card__avatar,
body.is-dark-theme:not(.wp-admin) .go-single-author-card__avatar {
  border-color: var(--go-v104-lime) !important;
  box-shadow: 0 0 0 4px rgba(199, 240, 0, 0.12) !important;
}

html.dark body:not(.wp-admin) .go-single-author-card__name,
html.go-root-dark-mode body:not(.wp-admin) .go-single-author-card__name,
html[data-theme="dark"] body:not(.wp-admin) .go-single-author-card__name,
body.newsx-dark-mode:not(.wp-admin) .go-single-author-card__name,
body.dark-mode:not(.wp-admin) .go-single-author-card__name,
body.is-dark-theme:not(.wp-admin) .go-single-author-card__name {
  color: var(--go-v104-dark-text) !important;
}

html.dark body:not(.wp-admin) .go-single-author-card__eyebrow,
html.go-root-dark-mode body:not(.wp-admin) .go-single-author-card__eyebrow,
html[data-theme="dark"] body:not(.wp-admin) .go-single-author-card__eyebrow,
body.newsx-dark-mode:not(.wp-admin) .go-single-author-card__eyebrow,
body.dark-mode:not(.wp-admin) .go-single-author-card__eyebrow,
body.is-dark-theme:not(.wp-admin) .go-single-author-card__eyebrow {
  background: rgba(199, 240, 0, 0.10) !important;
  color: var(--go-v104-lime) !important;
}

html.dark body:not(.wp-admin) .go-single-author-card p,
html.go-root-dark-mode body:not(.wp-admin) .go-single-author-card p,
html[data-theme="dark"] body:not(.wp-admin) .go-single-author-card p,
body.newsx-dark-mode:not(.wp-admin) .go-single-author-card p,
body.dark-mode:not(.wp-admin) .go-single-author-card p,
body.is-dark-theme:not(.wp-admin) .go-single-author-card p {
  color: var(--go-v104-dark-muted) !important;
}

html.dark body:not(.wp-admin) .go-single-author-card__link,
html.go-root-dark-mode body:not(.wp-admin) .go-single-author-card__link,
html[data-theme="dark"] body:not(.wp-admin) .go-single-author-card__link,
body.newsx-dark-mode:not(.wp-admin) .go-single-author-card__link,
body.dark-mode:not(.wp-admin) .go-single-author-card__link,
body.is-dark-theme:not(.wp-admin) .go-single-author-card__link {
  color: var(--go-v104-lime) !important;
}

@media (max-width: 720px) {
  html body:not(.wp-admin) .go-single-author-card,
  html body:not(.wp-admin) .go-article .go-single-author-card,
  html body:not(.wp-admin) .go-review-single-page .go-single-author-card {
    align-items: flex-start !important;
    gap: 13px !important;
    width: 100% !important;
    padding: 22px 0 !important;
  }

  html body:not(.wp-admin) .go-single-author-card__avatar {
    flex-basis: 54px !important;
    width: 54px !important;
    max-width: 54px !important;
    height: 54px !important;
    max-height: 54px !important;
    min-width: 54px !important;
    min-height: 54px !important;
  }

  html body:not(.wp-admin) .go-single-author-card__name {
    font-size: 1.22rem !important;
    letter-spacing: -0.035em !important;
  }
}
