@font-face {
  font-family: TocaPixel;
  src: url("assets/fonts/VT323-Latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  --pixel-font: TocaPixel, "Courier New", monospace;
  --ui-font: system-ui, -apple-system, "Segoe UI", sans-serif;
  --panel: #19121d;
  --ink: #fff0ca;
  --edge: #967750;
  --muted: #c0aeb9;
  --line: #735363;
}
body {
  font-family: var(--ui-font);
  font-size: 16px;
  line-height: 1.4;
  color: #f7eef2;
}
h1,
h2,
h3,
.brand,
.footer-brand,
.ticker,
.channel-visual > span {
  font-family: var(--ui-font);
  font-weight: 400;
  letter-spacing: 0;
}
.hero h1 {
  font-size: clamp(82px, 9vw, 126px);
  line-height: 0.98;
  letter-spacing: -1px;
}
h2 {
  font-size: 48px;
  line-height: 1.08;
}
h3 {
  font-size: 36px;
}
.hero-copy > p,
.channel-copy p,
.section-heading > p {
  font-size: 16px;
  line-height: 1.55;
}
.eyebrow,
.brand-sub,
.coordinates,
.scroll,
.art-label,
.art-bottom,
.shorts-link,
.handle,
.handle span,
.social p,
.card-top > span:last-child,
.track > span,
footer {
  font-family: var(--ui-font);
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.5px;
}
.brand-sub {
  font-size: 12px;
}
.hero-art .art-label {
  font-size: 12px;
}
.hero-art .art-bottom {
  font-size: 12px;
  max-width: 100%;
}
nav,
.primary,
.text-link,
#effects,
.music button,
.track strong,
.back-to-site {
  font-family: var(--ui-font);
  font-size: 15px;
  line-height: 1.2;
}
button,
input,
select,
textarea {
  font-family: var(--ui-font);
  border-radius: 0;
}
button,
.primary,
.social,
.music,
.channel-visual,
.vr-icon,
dialog {
  border-radius: 0;
  border-color: var(--edge);
  box-shadow: 3px 3px 0 #0008;
}
button,
.primary {
  min-height: 42px;
}
.primary {
  border: 2px solid #ff8097;
  box-shadow: 4px 4px 0 #751c38;
}
.social {
  border: 2px solid #715263;
  background: #19121d;
  transition:
    border-color 0.15s,
    background-color 0.15s;
  box-shadow: 4px 4px 0 #0008;
}
.social:hover,
.primary:hover {
  transform: none;
  border-color: #ffb86f;
  background: #38202d;
  box-shadow: 4px 4px 0 #0008;
}
.social p {
  font-size: 14px;
}
.handle {
  font-size: 14px;
}
.handle span {
  font-size: 12px;
}
.card-top {
  margin-bottom: 22px;
}
.vr-icon {
  transform: none;
  font-family: var(--ui-font);
}
.channel-visual {
  border: 2px solid #715263;
}
.channel-visual > span {
  font-size: 34px;
}
.music {
  background: #201621;
  border: 2px solid var(--edge);
  backdrop-filter: none;
}
.music #music-play {
  border-radius: 0;
  border: 1px solid #ff9daf;
  min-width: 38px;
  min-height: 38px;
}
.music #next {
  border: 1px solid #967750;
}
.track strong {
  font-size: 14px;
}
.track > span {
  font-size: 12px;
}
.grain {
  display: none;
}
.eyebrow i {
  border-radius: 0;
  box-shadow: none;
}
.orbit-two {
  animation-duration: 100s;
}
.hero h1 em {
  filter: none;
  background: linear-gradient(
    110deg,
    var(--red) 25%,
    #fa4f70 48%,
    var(--red) 72%
  );
  background-size: 220% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  animation: retro-title-shine 10s ease-in-out infinite;
  text-shadow: none;
}
.hero h1 em::after {
  opacity: 0.25;
  animation: retro-title-slice 8s ease-in-out infinite;
}
@keyframes retro-title-shine {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
@keyframes retro-title-slice {
  0%,
  100% {
    transform: translateX(1px);
  }
  50% {
    transform: translateX(-1px);
  }
}
.game-ui,
.game-ui button,
.game-ui small,
.game-ui strong,
.raid-tabs button,
.raid-event,
.raid-manage,
#raid-login,
#raid-login h2,
#raid-login a,
#raid-login button,
.minigame-hub,
.minigame-hub button,
.minigame-hub a,
.minigame-hub h2,
.find-hud,
.tetris-game,
.tetris-game button,
.tetris-game h2,
.tetris-score {
  font-family: var(--ui-font);
  font-weight: 400;
}
.game-top,
.game-help,
.game-status,
.raid-event,
.raid-account,
.raid-auto-status,
.shop-item small,
.raid-tabs button,
.game-ui button,
.game-networks a,
.game-networks small,
#raid-achievements p,
.raid-score small {
  font-size: 13px;
  line-height: 1.25;
}
.game-top strong,
.shop-item strong,
.shop-cost,
.raid-auto-status strong {
  font-size: 15px;
}
.raid-account {
  font-size: 13px;
}
.shop-item {
  border-width: 2px;
}
.shop-item.unaffordable {
  opacity: 1;
  color: #d8c4cd;
  background: #251e2a;
}
.shop-item.unaffordable .shop-cost {
  color: #ff9b9b;
}
.shop-item.affordable {
  background: #3d3032;
  border-color: #ffe09c;
}
.shop-item:disabled {
  opacity: 1;
}
.minigame-hub {
  font-size: 16px;
  border: 2px solid var(--edge);
  background: var(--panel);
}
.minigame-hub h2 {
  font-size: 36px;
}
.minigame-hub button,
.minigame-hub a {
  font-size: 16px;
  min-height: 44px;
}
.minigame-hub nav {
  flex-wrap: wrap;
  gap: 8px;
}
.minigame-hub p {
  overflow-wrap: anywhere;
}
.minigame-hub input {
  font-size: 16px;
  max-width: 100%;
  width: 100%;
  background: #100b13;
  color: var(--ink);
  border: 2px solid var(--edge);
  padding: 10px;
}
.find-hud,
.tetris-game {
  font-size: 15px;
}
.tetris-game h2 {
  font-size: 34px;
}
.tetris-game button {
  font-size: 15px;
}
.tetris-heading .tetris-account,
.tetris-score,
.threat-time {
  font-size: 13px;
}
.tetris-rat-talk p {
  font-size: 15px;
}
.find-target img {
  image-rendering: pixelated;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #ffe09c;
  outline-offset: 4px;
}
canvas:focus,
canvas:focus-visible {
  outline: none;
}
.game-event-notice {
  position: absolute;
  z-index: 8;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 24px);
  padding: 10px 14px;
  background: #29182ff2;
  color: #fff0ca;
  border: 2px solid #c59562;
  box-shadow: 4px 4px #0008;
  font: 20px / 1.2 var(--ui-font);
  text-align: center;
  pointer-events: none;
  overflow-wrap: anywhere;
}
.game-event-notice[hidden] {
  display: none !important;
}
.game-event-notice[data-kind="warning"] {
  border-color: #fb728a;
}
.tetris-heading {
  position: relative;
}
.tetris-heading .game-event-notice {
  top: 100%;
  font-size: 14px;
}
.find-hud .game-event-notice {
  top: calc(100% + 8px);
  font-size: 14px;
}
.raid-event:not(.event-live) {
  color: #d0bbc5;
}
.raid-event.event-live {
  font-size: 13px;
}
@media (max-width: 600px) {
  .hero h1 {
    font-size: clamp(68px, 19vw, 100px);
  }
  .hero-copy > p,
  .channel-copy p {
    font-size: 15px;
  }
  .primary,
  .text-link {
    font-size: 14px;
  }
  .hero-art .art-label {
    font-size: 13px;
  }
  .hero-art .art-bottom {
    font-size: 13px;
  }
  .social p {
    font-size: 14px;
  }
  .handle {
    font-size: 13px;
  }
  .handle span {
    font-size: 12px;
  }
  .music {
    gap: 9px;
  }
  .track strong {
    font-size: 14px;
  }
  .minigame-hub {
    padding: 18px;
  }
  .minigame-hub nav button {
    font-size: 14px;
  }
  .game-event-notice {
    font-size: 14px;
  }
  .coordinates {
    font-size: 12px;
  }
  .channel-copy h2 {
    font-size: 42px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero h1 em,
  .hero h1 em::after {
    animation: none !important;
    transform: none !important;
  }
  .orbit-two {
    animation: none;
  }
  .social,
  .primary {
    transition: none;
  }
}

.game-intro,
.game-invite,
.game-invite small,
.game-intro-note,
.game-name,
.raid-launch-actions button {
  font-family: var(--ui-font);
  font-weight: 400;
}
.game-invite {
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.4px;
}
.game-invite small {
  font-size: 13px;
  line-height: 1.35;
}
.game-intro-note {
  bottom: 42px;
  font-size: 12px;
  line-height: 1.2;
}
.game-name {
  font-size: 13px;
  letter-spacing: 1px;
}
.game-bank {
  font-size: 26px;
}
.raid-launch-actions button {
  font-size: 14px;
}

/* Títulos pixelados; leitura e controles com fonte normal. */
h1,
h2,
h3,
.brand,
.footer-brand,
.ticker,
.channel-visual > span,
.game-name,
.minigame-hub h2,
.tetris-game h2,
#raid-login h2 {
  font-family: var(--pixel-font);
}
body {
  font-size: 16px;
  line-height: 1.55;
}
.hero-copy > p,
.channel-copy p {
  font-size: 16px;
  line-height: 1.7;
}
.game-name {
  font-size: 20px;
}
.brand-sub {
  font-size: 12px;
}
.game-invite {
  font-family: var(--pixel-font);
  font-size: 22px;
}
.game-invite small {
  font-family: var(--ui-font);
  font-size: 13px;
}
.game-intro-note {
  font-size: 12px;
  bottom: 42px;
}
.social p {
  font-size: 14px;
}
.handle {
  font-size: 14px;
}
.handle span {
  font-size: 12px;
}
.eyebrow {
  font-size: 12px;
}
.game-event-notice {
  font: 600 14px / 1.45 var(--ui-font);
}
.tetris-heading .game-event-notice,
.find-hud .game-event-notice {
  font-size: 14px;
}
@media (max-width: 700px) {
  body:not(.effects-on) .hero h1 em,
  body:not(.effects-on) .hero h1 em::after,
  body:not(.effects-on) .orbit-two {
    animation: none !important;
  }
  .hero-art {
    background: none;
  }
  .hero-art .logo-scene > img {
    filter: none;
  }
  .hero-copy > p,
  .channel-copy p {
    font-size: 16px;
  }
  .social,
  .music,
  .primary {
    box-shadow: 2px 2px #0008;
  }
  .social {
    transition: none;
  }
  .track strong {
    font-size: 14px;
  }
}

.cheese-target,
.find-target {
  box-shadow: none !important;
  border: 0;
  background: transparent;
  min-height: 0;
  min-width: 0;
}
.cheese-target img,
.cheese-target.rotten img,
.cheese-target:hover img,
.find-target img {
  filter: none;
}

html {
  overflow-x: clip;
}

img,
svg,
canvas,
.logo-scene {
  -webkit-user-drag: none;
  user-select: none;
}

#embers {
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
header,
main,
footer {
  position: relative;
  z-index: 1;
}

.primary,
.ticker {
  background: #b91635;
  background: color-mix(in srgb, var(--red) 78%, #000);
  color: #fff;
}
@media (prefers-reduced-motion: reduce) {
  .ticker span,
  .equalizer i {
    animation: none !important;
  }
}

#site-credits {
  background: #251a29;
  border: 1px solid var(--edge);
  color: var(--ink);
  padding: 8px 16px;
  font-size: 14px;
}
.credits-dialog {
  width: min(680px, calc(100% - 28px));
  max-height: 88dvh;
  overflow: auto;
  padding: 24px;
  background: #19121d;
  color: #f7eef2;
  border: 2px solid #b08759;
  font: 15px / 1.65 var(--ui-font);
  box-shadow: 6px 6px #0008;
}
.credits-dialog::backdrop {
  background: #09070ceb;
}
.credits-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.credits-heading h2 {
  font: 400 42px / 1.05 var(--pixel-font);
  color: #ffe09c;
}
.credits-close {
  flex: none;
  min-width: 44px;
  min-height: 44px;
  background: #35252b;
  border: 1px solid var(--edge);
  color: #ffe09c;
  font-size: 22px;
}
.credits-intro {
  color: #c9b6c2;
}
.credits-list {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}
.credits-list article {
  border: 1px solid #735363;
  background: #211725;
  padding: 16px 18px;
  box-shadow: 3px 3px #0005;
}
.credits-list h3 {
  font: 400 34px / 1.1 var(--pixel-font);
  color: #ffe09c;
}
.credits-list p {
  margin: 8px 0 0;
  font: 15px / 1.55 var(--ui-font);
}
.credits-list .credits-role {
  font-size: 12px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #efb6c2;
}
.credits-tool {
  color: #d8c3ce;
}
.credits-track {
  border-top: 1px solid #735363;
  padding-top: 16px;
}
.credits-track label {
  display: block;
  color: #ffe09c;
  font-weight: 600;
}
.credits-track p {
  margin: 6px 0 12px;
  font-size: 13px;
  color: #d8c3ce;
}
.credits-track audio {
  display: block;
  width: 100%;
  max-width: 100%;
}
.credits-dialog [role="status"] {
  font-size: 13px;
  color: #ffbdc9;
  min-height: 20px;
}
@media (max-width: 560px) {
  .credits-dialog {
    padding: 18px;
  }
  .credits-heading h2 {
    font-size: 34px;
  }
  .credits-list article {
    padding: 13px;
  }
  .credits-list h3 {
    font-size: 31px;
  }
}

.credits-dialog .credits-heading {
  padding: 0 0 16px;
  margin: 0;
  max-width: none;
  border-bottom: 1px solid #735363;
}

:root {
  --control-bg: #302332;
  --control-hover: #44303e;
  --surface-edge: #81644d;
}
body > header {
  gap: 20px;
  flex-wrap: wrap;
}
body > header nav {
  gap: 14px;
  margin-left: auto;
  flex-wrap: wrap;
}
body > header nav > a,
#site-credits.nav-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 10px;
  border: 0;
  background: transparent;
  box-shadow: none;
  font: 500 14px var(--ui-font);
  color: #f7eef2;
}
body > header nav > a:hover,
#site-credits.nav-action:hover,
#site-credits[aria-expanded="true"] {
  background: #2a1b27;
  color: #ffe09c;
}
.credits-dialog .credits-heading {
  position: sticky;
  top: 0;
  z-index: 3;
  background: #19121d;
}
.credits-heading h2 {
  font-size: 36px;
}
.credits-list {
  margin: 16px 0;
  gap: 10px;
}
.credits-list article {
  padding: 14px 16px;
}
.credits-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.credits-track > strong {
  font-size: 12px;
  color: #ffe09c;
  letter-spacing: 0.6px;
}
.credits-track > p {
  font-size: 12px;
  margin: 0;
  flex-basis: 100%;
  order: 2;
}
.credits-track audio[hidden] {
  display: none;
}
.credits-sound {
  min-height: 44px;
  border: 1px solid var(--edge);
  background: var(--control-bg);
  color: var(--ink);
  padding: 8px 14px;
  font-size: 13px;
}
.game-actions button,
.tetris-controls button,
.find-hud button,
.raid-tabs button,
.minigame-hub button,
.credits-close {
  min-height: 44px;
  border-color: var(--surface-edge);
}
button:not(:disabled):hover {
  border-color: #e5be7c;
}
.game-actions button:hover,
.tetris-controls button:hover,
.find-hud button:hover,
.credits-sound:hover {
  background: var(--control-hover);
}
@media (hover: hover) and (pointer: fine) {
  body {
    cursor:
      url("assets/retro-arrow.svg") 3 2,
      auto;
  }
  a,
  button:not(:disabled),
  [role="button"],
  .shop-item:not(:disabled),
  .cheese-target,
  .find-target {
    cursor:
      url("assets/retro-hand.svg") 11 3,
      pointer;
  }
  input,
  textarea,
  [contenteditable="true"] {
    cursor: text;
  }
  input[type="range"] {
    cursor: ew-resize;
  }
  button:disabled {
    cursor: not-allowed;
  }
}
@media (pointer: coarse) {
  body,
  a,
  button,
  .cheese-target,
  .find-target {
    cursor: auto;
  }
}
@media (max-width: 560px) {
  body > header {
    gap: 12px;
    padding: 16px 20px;
  }
  body > header nav {
    width: 100%;
    margin-left: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }
  body > header nav > a,
  #site-credits.nav-action {
    display: inline-flex !important;
    padding: 8px 3px;
    font-size: 13px;
  }
  body > header #effects {
    font-size: 12px;
    padding: 8px 3px;
  }
  body > header #effects span {
    margin-left: 5px;
  }
  .credits-heading h2 {
    font-size: 31px;
  }
  .credits-list article {
    padding: 12px;
  }
  .credits-list p {
    font-size: 14px;
  }
  .credits-dialog {
    max-height: 90dvh;
  }
  .credits-track {
    gap: 10px;
  }
}

.hub-link {
  color: #ffe09c !important;
}
.hub-play body {
  margin: 0;
}
.hub-play > header,
.hub-play .music,
.hub-play .raid-launch-actions,
.hub-play .back-to-site {
  display: none !important;
}
.hub-gamebar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 70;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 20px;
  background: #19121d;
  border-bottom: 1px solid #967750;
  font: 14px var(--ui-font);
}
.hub-gamebar strong {
  flex: 1;
  color: #ffe09c;
}
.hub-gamebar button {
  min-height: 40px;
  padding: 8px 16px;
  background: #302332;
  color: #fff0ca;
  border: 1px solid #967750;
}
.standalone-game.hub-play .hero {
  padding: 72px 16px 0;
  margin: 0;
  max-width: none;
}
.standalone-game.hub-play .hero-art,
.standalone-game.hub-play .hero-art.game-active {
  height: calc(100dvh - 80px);
  min-height: 0;
  max-width: none;
  width: 100%;
}
.hub-play .game-arena {
  min-height: 0;
}
.hub-play .game-ui {
  inset: 0 0 8px;
}
.hub-play .tetris-game {
  top: 64px;
  padding-bottom: 20px;
}
.hub-play .tetris-game canvas {
  width: min(320px, 65vw, 30vh);
}
.hub-play .find-hud {
  top: 64px;
}
.hub-play .game-intro-note {
  display: none;
}
.hub-play .credits-dialog {
  display: none;
}
.hub-play .game-status:empty {
  display: none;
}
@media (max-width: 560px) {
  body > header nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  body > header nav > .hub-link {
    display: none !important;
  }
}

.standalone-game.hub-embedded .hero {
  padding: 8px 12px 0;
}
.standalone-game.hub-embedded .hero-art,
.standalone-game.hub-embedded .hero-art.game-active {
  height: calc(100dvh - 16px);
}
.hub-embedded .tetris-game {
  top: 0;
}
.hub-embedded .find-hud {
  top: 0;
}

.hub-embedded [data-fullscreen] {
  display: none !important;
}

@font-face {
  font-family: Retro1;
  src: url("assets/fonts/ChakraPetch-Latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
}
:root {
  --pixel-font: Retro1, "Lucida Console", monospace;
}
h1,
h2,
h3,
.brand,
.footer-brand,
.ticker,
.game-name,
.hub-brand,
.hub-card h2,
.hub-welcome h1 {
  font-family: var(--pixel-font);
  font-weight: 600;
}
.hero h1 {
  font-size: clamp(62px, 7.1vw, 106px);
  line-height: 1.08;
}
.brand img {
  border: 2px solid var(--red);
  padding: 2px;
  image-rendering: auto;
}
body > header {
  max-width: 1500px;
  flex-wrap: wrap;
  gap: 18px;
  padding: 20px 28px;
}
body > header nav {
  flex: 1;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}
body > header nav a,
body > header nav button {
  font-size: 13px;
}
.site-preferences {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  width: 100%;
}
.site-preferences button {
  background: #21151d;
  border: 1px solid #775564;
  padding: 8px 12px;
  font-size: 12px;
}
#low-performance span {
  color: #ffc58a;
  margin-left: 8px;
}
.music,
.music button,
.music strong,
.music .track > span,
.music .volume {
  font-family: var(--pixel-font);
  font-size: 14px;
}
.music #next svg {
  width: 24px;
  height: 24px;
  display: block;
}
.music #next {
  display: grid;
  place-items: center;
}
.ticker {
  font-size: clamp(25px, 3vw, 34px);
}
.ticker span {
  animation: rr-marquee 60s linear infinite !important;
}
@keyframes rr-marquee {
  to {
    transform: translateX(-50%);
  }
}
.no-effects .ticker span {
  animation: none !important;
}
body.low-performance .hero-copy *,
body.low-performance .ticker *,
body.low-performance .logo-scene,
body.low-performance .logo-scene *,
body.low-performance .social,
body.low-performance > header *,
body.low-performance .channel-visual * {
  animation: none !important;
  transition: none !important;
  filter: none !important;
}
body.low-performance .grain,
body.low-performance .orbit,
body.low-performance .cross {
  display: none;
}
.game-top {
  position: relative;
}
.game-brand-mark {
  position: absolute;
  width: 46px;
  height: 46px;
  object-fit: contain;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  border: 1px solid #ed3153;
  pointer-events: none;
}
.game-active .logo-scene,
.hero-art:fullscreen .logo-scene {
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
}
.hub-play .game-brand-mark {
  width: 48px;
  height: 48px;
}
.hub-play .game-top {
  padding-top: 62px;
}
.hero-art:fullscreen .game-top {
  padding-top: 62px;
}
.hero-art:fullscreen .game-brand-mark {
  top: 6px;
}
@media (max-width: 700px) {
  body > header nav {
    display: flex !important;
    gap: 8px;
    justify-content: flex-start;
  }
  body > header nav > .hub-link {
    display: inline-flex !important;
  }
  body > header nav a,
  body > header nav button {
    font-size: 12px;
    padding: 8px !important;
  }
  .site-preferences {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .hero h1 {
    font-size: clamp(58px, 12vw, 82px);
  }
  .game-brand-mark {
    width: 30px;
    height: 30px;
    top: 2px;
  }
  .game-top {
    padding-top: 38px;
  }
}

.game-active .logo-scene,
.hero-art:fullscreen .logo-scene {
  translate: 0 0 !important;
}
.hub-play .game-top,
.hero-art:fullscreen .game-top {
  padding-top: 14px;
  min-height: 106px;
}
@media (max-width: 700px) {
  .hub-play .game-top,
  .hero-art:fullscreen .game-top {
    padding-top: 62px;
  }
}

body > header .nav-action {
  background: transparent;
  color: #f7eef2;
  border: 1px solid #735363;
  padding: 9px 12px;
  min-height: 42px;
  font-family: var(--ui-font);
}

#hero-logo {
  height: auto;
  aspect-ratio: 1;
}
#nav-toggle {
  display: none;
}
@media (max-width: 700px) {
  body > header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
  }
  #nav-toggle {
    display: block;
    background: #241a25;
    border: 1px solid #735363;
    color: #fff0ca;
    padding: 9px 12px;
    min-height: 42px;
    font-size: 14px;
  }
  body > header #primary-nav {
    display: none !important;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    margin: 0;
    gap: 8px;
  }
  body > header.mobile-nav-open #primary-nav {
    display: grid !important;
  }
  body > header #primary-nav > a,
  body > header #primary-nav > button {
    font-size: 12px;
    min-height: 42px;
    padding: 8px !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #21151d;
    border: 1px solid #735363;
  }
  .site-preferences {
    grid-column: 1 / -1;
    gap: 8px;
  }
  .site-preferences button {
    font-size: 11px;
    padding: 8px;
  }
}

/* Identidade transparente e acabamentos comuns às duas páginas. */
.brand img,
.game-brand-mark {
  border: 0 !important;
  padding: 0;
  object-fit: contain;
}
.hero-art .logo-scene > img,
.channel-visual img {
  mix-blend-mode: normal !important;
  object-fit: contain;
}
.hero-art {
  background: none;
}
.hero-art .art-label {
  right: 0;
  top: 0;
  max-width: 80%;
  font-size: 11px;
  letter-spacing: 1.5px;
  line-height: 1.5;
  color: #c0a9b4;
}
.hero-art .art-bottom {
  letter-spacing: 1px;
}
.hero-copy > p {
  max-width: 430px;
  line-height: 1.75;
}
.hero-copy h1 {
  margin-top: 24px;
  margin-bottom: 28px;
}
.hero-actions {
  align-items: center;
  flex-wrap: wrap;
  row-gap: 16px;
}
.hero-copy .text-link {
  font-size: 14px;
}
body > header .nav-action,
body > header #primary-nav > a,
body > header #primary-nav > button {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
.settings-wrap {
  position: relative;
}
#settings-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: transparent;
  color: #e9dce3;
  border: 0;
  box-shadow: none;
}
#settings-toggle svg {
  width: 24px;
  height: 24px;
  flex: none;
}
#settings-toggle:hover,
#settings-toggle:focus-visible {
  color: #fff0ca;
  background: #ffffff0c;
}
#settings-toggle:has(+ :popover-open) {
  color: #ffb6c7;
  background: #ed244c14;
}
#site-settings {
  position: fixed;
  inset: 82px 24px auto auto;
  width: min(340px, calc(100vw - 32px));
  margin: 0;
  padding: 22px;
  border: 1px solid #735363;
  background: #201620;
  color: #fff0ca;
  box-shadow: 0 12px 40px #0008;
}
#site-settings::backdrop {
  background: transparent;
}
#site-settings h2 {
  font-size: 18px;
  margin-bottom: 18px;
}
#site-settings .site-preferences {
  display: grid;
  gap: 10px;
  width: 100%;
}
#site-settings button {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
  padding: 12px;
  font-size: 13px;
  width: 100%;
  border: 1px solid #735363;
}
#site-settings button span:last-child {
  margin-left: auto;
  color: #ffbcce;
}
.hero h1 em {
  background-image: linear-gradient(
    110deg,
    #ed244c 8%,
    #ff6584 53%,
    #ffb892 100%
  ) !important;
  background-size: 100% 100% !important;
  color: transparent !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  filter: none !important;
  animation: none !important;
  text-shadow: none !important;
}
.hero h1 em::after {
  display: none !important;
}
@media (prefers-reduced-motion: no-preference) {
  .effects-on:not(.low-performance) .hero h1 em {
    background-size: 220% 100% !important;
    animation: retro-title-shine 6s ease-in-out infinite !important;
  }
}
body:not(.hub-play) {
  background-color: #0b090e;
  background-image:
    linear-gradient(#b6728e07 1px, transparent 1px),
    linear-gradient(90deg, #b6728e07 1px, transparent 1px);
  background-size: 40px 40px;
}
.low-performance:not(.hub-play) {
  background-image: none;
}
body > footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}
body > footer p {
  text-align: center;
  margin: 0;
}
body > footer > a:last-child {
  justify-self: end;
}
.ticker {
  padding: 16px 0;
}
.ticker-track {
  display: flex !important;
  align-items: center;
  width: max-content;
  animation: rr-ticker-loop var(--ticker-duration, 65s) linear infinite !important;
}
.ticker-track > span {
  display: block !important;
  flex: none;
  white-space: nowrap;
  padding-right: 32px;
  animation: none !important;
}
@keyframes rr-ticker-loop {
  to {
    transform: translateX(-50%);
  }
}
.no-effects .ticker-track {
  animation: none !important;
}
.credits-story {
  width: min(680px, calc(100vw - 32px));
  max-height: 90dvh;
  padding: 26px;
  background: #1a131f;
  color: #fff0ca;
  border: 1px solid #967750;
}
.credits-story .credits-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  padding: 0;
  border: 0;
}
.credits-story h2 {
  font: 25px / 1.25 var(--pixel-font);
  margin: 8px 0 18px;
}
.credits-step {
  font: 12px var(--pixel-font);
  color: #ffb6c7;
  letter-spacing: 3px;
}
.credits-content {
  max-height: 52dvh;
  overflow: auto;
  line-height: 1.7;
  font-size: 15px;
}
.credits-content article {
  padding: 14px 0;
  border-bottom: 1px solid #73536366;
}
.credits-content h3 {
  font: 21px var(--pixel-font);
  margin: 8px 0;
}
.credits-content p {
  margin: 10px 0;
}
.credits-content a {
  color: #ffc7a2;
  text-decoration: underline;
}
.credits-navigation {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  padding: 18px 0 8px;
}
.credits-navigation button,
.credits-sound {
  font: 13px var(--ui-font);
  padding: 10px 14px;
  background: #302130;
  border: 1px solid #735363;
  color: #fff0ca;
}
.credits-story .credits-track {
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid #735363;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}
.credits-story .credits-role {
  font: 11px var(--pixel-font);
  color: #d6b389;
  letter-spacing: 1px;
}
@media (max-width: 700px) {
  body > header {
    grid-template-columns: 1fr auto auto;
  }
  .settings-wrap {
    grid-column: 3;
    grid-row: 1;
  }
  #nav-toggle {
    grid-column: 2;
    grid-row: 1;
  }
  body > header #primary-nav {
    grid-column: 1 / -1;
  }
  .hero-copy > p {
    line-height: 1.7;
  }
  .hero-art .art-label {
    font-size: 10px;
    max-width: 90%;
    top: 8px;
  }
  body > footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 16px;
  }
  body > footer > a:last-child {
    justify-self: center;
  }
  .credits-story {
    padding: 20px;
  }
  .credits-story h2 {
    font-size: 21px;
  }
  .credits-content {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none !important;
  }
}
/* A home acompanha a janela sem alterar as telas nativas dos jogos. */
body:not(.standalone-game) .hero-copy {
  min-width: 0;
  container-type: inline-size;
}
body:not(.standalone-game) .hero h1 {
  font-size: clamp(40px, 17cqi, 106px);
}
body:not(.standalone-game) .hero {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: min(760px, calc(100svh - 88px));
  padding-block: clamp(32px, 6vh, 76px) 80px;
}
body:not(.standalone-game) .hero-art {
  min-width: 0;
  height: clamp(300px, 52vh, 460px);
}
@media (max-width: 1000px) {
  body:not(.standalone-game) > header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
  }
  body:not(.standalone-game) #nav-toggle {
    display: block;
    grid-column: 2;
    grid-row: 1;
    padding: 10px 12px;
    min-height: 44px;
    background: #241a25;
    border: 1px solid #735363;
  }
  body:not(.standalone-game) .settings-wrap {
    grid-column: 3;
    grid-row: 1;
  }
  body:not(.standalone-game) > header #primary-nav {
    display: none !important;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
  }
  body:not(.standalone-game) > header.mobile-nav-open #primary-nav {
    display: grid !important;
  }
  body:not(.standalone-game) #primary-nav > a,
  body:not(.standalone-game) #primary-nav > button {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: normal;
  }
}
@media (max-width: 700px) {
  body:not(.standalone-game) .hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 28px;
    gap: 20px;
  }
  body:not(.standalone-game) .hero h1 {
    font-size: clamp(38px, 15cqi, 82px);
  }
  body:not(.standalone-game) .hero-art {
    height: 310px;
  }
}
@media (max-width: 380px) {
  body:not(.standalone-game) > header {
    padding-inline: 16px;
    gap: 8px;
  }
  .brand-sub {
    display: none;
  }
  body:not(.standalone-game) .hero {
    padding-inline: 20px;
  }
}
.latest-video h2 {
  max-width: 100%;
  font-size: clamp(30px, 5vw, 64px);
  line-height: 1.15;
  letter-spacing: clamp(1px, 0.45vw, 5px);
  text-align: center;
  color: #fff1f4;
  text-shadow: 2px 2px 0 #92213d;
}

.hero h1 em {
  display: block;
  font-size: 1.125em;
  line-height: 1.08;
}
.channel-visual > span {
  inset: auto 0 0;
  padding: 48px 24px 24px;
  background: linear-gradient(transparent, #0b090ee8 42%);
  color: #fff8ed;
  text-shadow: 2px 2px 0 #0b090e;
  line-height: 1.12;
}
.latest-video {
  max-width: 1040px;
  margin: 72px auto;
}
.latest-video > .eyebrow {
  text-align: center;
  margin-bottom: 16px;
}
.latest-video iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 1px solid #735363;
  border-radius: 6px;
  background: #100d15;
  box-shadow: 0 10px 32px #0005;
}
.video-title {
  margin: 16px 0 0;
  text-align: center;
  color: #e4d6df;
  font-size: 16px;
  line-height: 1.5;
}
.video-title a {
  text-underline-offset: 4px;
}
@media (max-width: 360px) {
  .hero-art {
    overflow: clip;
  }
  .networks .link-grid {
    grid-template-columns: 1fr;
  }
  .networks h2 {
    font-size: 36px;
    overflow-wrap: anywhere;
  }
  .channel-visual > span {
    font-size: 24px;
    padding-inline: 16px;
  }
}
@keyframes video-title-flow {
  to {
    background-position: -200% center;
  }
}
@media (min-width: 701px) and (prefers-reduced-motion: no-preference) {
  body.effects-on:not(.low-performance) .latest-video h2 {
    background: linear-gradient(
      100deg,
      #fff1f4 20%,
      #ff7393 38%,
      #ffdda6 50%,
      #fff1f4 64%
    );
    background-size: 200% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: none;
    animation: video-title-flow 8s linear infinite;
  }
}
