/* =========================================================
   Surprise — identidade "Sempre à frente"
   preto profundo · vermelho da marca #E10A14 · brilho de brasa
   Títulos condensados e inclinados (eco do wordmark em pincel),
   rótulos espaçados, filetes finos com losango.
   ========================================================= */

:root {
  --bg: #060304;
  --bg-2: #0d0507;
  --paper: #f4eeee;
  --mute: #b8a9ab;
  --red: #e10a14;          /* preenchimentos, bordas vivas, brilho */
  --red-deep: #8f0710;     /* filetes discretos */
  --red-text: #ff4a4a;     /* texto vermelho sobre preto (contraste 6:1) */
  --line: rgba(225, 10, 20, 0.35);
  --line-strong: rgba(225, 10, 20, 0.75);
  --glow: rgba(225, 10, 20, 0.45);
  --danger: #ff9a9a;
  --ok: #7be3a4;
  --gold: #f2c14e;

  --display: "Oswald", "Arial Narrow", Impact, "Segoe UI", sans-serif;
  --font: "Barlow", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --max: 76rem;
  --cut: 12px;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  background: var(--bg);
  color: var(--paper);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
ol,
ul,
dl,
figure {
  margin: 0;
}

[hidden] {
  display: none !important;
}

.on-ink {
  background: var(--bg);
  color: var(--paper);
}

/* Faixa de topo: preto com brasa vermelha no canto */
.on-hero {
  position: relative;
  background:
    radial-gradient(52rem 26rem at 88% -8%, rgba(225, 10, 20, 0.28), transparent 68%),
    radial-gradient(34rem 20rem at 0% 110%, rgba(225, 10, 20, 0.12), transparent 70%),
    linear-gradient(180deg, #120608, var(--bg));
  border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 50px -28px var(--glow);
}

:focus-visible {
  outline: 3px solid var(--red-text);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.6rem 1rem;
  background: var(--paper);
  color: #000;
  font-weight: 700;
}
.skip:focus {
  top: 1rem;
}

/* ---------- Tipografia de marca ---------- */

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--red-text);
}

.h2 {
  font-family: var(--display);
  font-size: clamp(2.1rem, 4.8vw, 3.6rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

/* Filete com losango no centro */
.orn {
  position: relative;
  width: 15rem;
  max-width: 100%;
  height: 0.7rem;
  color: var(--red);
}
.orn::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor 22%, currentColor 78%, transparent);
}
.orn::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--bg);
  border: 1px solid currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
}
.orn--left {
  margin-right: auto;
}

/* Sprite de ícones: fora do fluxo (a CSP do site não permite style inline) */
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Topo ---------- */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
  padding: 1.1rem var(--pad);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}
.brand img,
.brand__icon {
  width: auto;
  height: 2.6rem;
  -webkit-mask-image: radial-gradient(closest-side, #000 90%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 90%, transparent 100%);
}

.topnav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.topnav a {
  text-decoration: none;
}
.topnav a:not(.btn):hover {
  color: var(--red-text);
}

.topbar__user {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-weight: 600;
}
.topbar__who {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.linkbtn {
  padding: 0.4rem 0;
  border: 0;
  background: none;
  color: var(--red-text);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
  cursor: pointer;
}
.linkbtn:hover {
  color: var(--paper);
}

/* ---------- Botões (cantos cortados) ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.7rem;
  border: 0;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  clip-path: polygon(
    0 0,
    calc(100% - var(--cut)) 0,
    100% var(--cut),
    100% 100%,
    var(--cut) 100%,
    0 calc(100% - var(--cut))
  );
  transition: background-color 0.15s, color 0.15s;
}
.btn:focus-visible {
  clip-path: none;
}
.btn--small {
  min-height: 2.5rem;
  padding: 0.45rem 1.1rem;
  font-size: 0.875rem;
  --cut: 9px;
}
.btn--red {
  background: var(--red);
  color: #fff;
}
.btn--red:hover {
  background: #ff2a33;
}
/* Botão só com contorno: fundo vermelho + miolo escuro com o mesmo corte de canto */
.btn--ghost {
  position: relative;
  isolation: isolate;
  background: var(--red);
  color: var(--paper);
}
.btn--ghost::before {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: -1;
  background: var(--bg);
  clip-path: inherit;
  transition: background-color 0.15s;
}
.btn--ghost:hover {
  color: #fff;
}
.btn--ghost:hover::before {
  background: var(--red);
}
.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.textlink {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.9375rem;
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.35em;
}
.textlink:hover {
  color: var(--red-text);
}

.cmd {
  padding: 0.05em 0.5em;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- Hero ---------- */

.hero {
  overflow: hidden;
}

.hero__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) var(--pad) clamp(3.5rem, 7vw, 6rem);
}

.hero__copy > * {
  animation: rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.hero__copy > :nth-child(2) {
  animation-delay: 0.08s;
}
.hero__copy > :nth-child(3) {
  animation-delay: 0.16s;
}
.hero__copy > :nth-child(4) {
  animation-delay: 0.24s;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

.hero__title {
  margin: 1rem 0 0.25rem;
}
.hero__wordmark {
  width: min(100%, 34rem);
  height: auto;
  filter: drop-shadow(0 0 26px var(--glow));
}

.hero__lead {
  max-width: 28rem;
  margin-top: 1rem;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  margin-top: 2.25rem;
}

/* Moldura com "cantos de HUD" */
.frame {
  position: relative;
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 0 7px rgba(225, 10, 20, 0.05), 0 30px 90px -30px var(--glow);
}
.frame::before,
.frame::after {
  content: "";
  position: absolute;
  width: 1.6rem;
  height: 1.6rem;
  border: 2px solid var(--red-text);
  pointer-events: none;
}
.frame::before {
  top: -0.55rem;
  left: -0.55rem;
  border-right: 0;
  border-bottom: 0;
}
.frame::after {
  right: -0.55rem;
  bottom: -0.55rem;
  border-left: 0;
  border-top: 0;
}

.hero__art img {
  width: 100%;
  aspect-ratio: 682 / 432;
  object-fit: cover;
}
.hero__art {
  animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s both;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero__copy > *,
  .hero__art {
    animation: none;
  }
}

/* ---------- Seções da página inicial ---------- */

.section {
  position: relative;
  padding: clamp(4rem, 9vw, 7rem) var(--pad);
  overflow-x: clip; /* brilhos decorativos nunca criam rolagem lateral */
}
.section__inner {
  max-width: var(--max);
  margin: 0 auto;
}
.section--panel {
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section__head {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
}
.section__head .orn {
  margin-top: 0.4rem;
}
.section__head--flush {
  margin-bottom: 0;
}

/* O clã */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.about__text {
  display: grid;
  gap: 1.1rem;
  max-width: 34rem;
  font-size: 1.1875rem;
  color: var(--mute);
}
.about__text strong {
  color: var(--paper);
}
.about__count {
  margin-top: 0.5rem;
  font-family: var(--display);
  font-size: 1.15rem;
  font-style: italic;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red-text);
}

.values {
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(2.5rem, 6vw, 4rem);
  border: 1px solid var(--line);
  background: rgba(225, 10, 20, 0.04);
}
.value {
  display: grid;
  justify-items: start;
  gap: 0.6rem;
  padding: 1.6rem 1.4rem;
}
.value + .value {
  border-left: 1px solid var(--line);
}
.value .icon {
  color: var(--red-text);
}
.value h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.value p {
  color: var(--mute);
  font-size: 1rem;
  line-height: 1.4;
}

/* Como entrar */
.join__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.steps {
  display: grid;
  gap: 1.75rem;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  color: var(--red-text);
  font-family: var(--display);
  font-size: 3rem;
  font-weight: 700;
  font-style: italic;
  line-height: 0.95;
  text-shadow: 0 0 22px var(--glow);
}
.steps strong {
  display: block;
  font-size: 1.3125rem;
  line-height: 1.25;
}
.steps p {
  max-width: 42ch;
  margin-top: 0.25rem;
  color: var(--mute);
}

/* Conversa de exemplo com o bot */
.chat {
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
}
.chat__bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.875rem;
}
.chat__bar img {
  width: auto;
  height: 1.6rem;
}
.chat__log {
  display: grid;
  gap: 0.7rem;
  padding: 1.25rem 1rem;
}
.msg {
  max-width: 88%;
  padding: 0.6rem 0.85rem;
  font-size: 0.9375rem;
  line-height: 1.4;
  white-space: pre-line;
}
.msg--bot {
  justify-self: start;
  background: #1a0d0f;
  border-left: 3px solid var(--red);
  color: var(--paper);
}
.msg--you {
  justify-self: end;
  background: var(--red);
  color: #fff;
  font-weight: 700;
}
.chat__caption {
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--line);
  color: var(--mute);
  font-size: 0.875rem;
}

/* Nosso símbolo */
.symbol__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.symbol__art {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.symbol__art::before {
  content: "";
  position: absolute;
  inset: -12%;
  background: radial-gradient(closest-side, rgba(225, 10, 20, 0.38), transparent 72%);
}
.symbol__art img {
  position: relative;
  width: min(100%, 27rem);
  -webkit-mask-image: radial-gradient(closest-side, #000 97%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 97%, transparent 100%);
}
.symbol__text {
  max-width: 36rem;
  margin: 1.1rem 0 2rem;
  font-size: 1.1875rem;
  color: var(--mute);
}
.meanings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  list-style: none;
  padding: 0;
}
.meaning {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.2rem 1rem;
  align-items: start;
  padding: 1.1rem 1.2rem;
  border-bottom: 1px solid var(--line);
}
.meaning:nth-child(odd) {
  border-right: 1px solid var(--line);
}
.meaning:nth-last-child(-n + 2) {
  border-bottom: 0;
}
.meaning .icon {
  grid-row: span 2;
  width: 2rem;
  height: 2rem;
  color: var(--red-text);
}
.meaning strong {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-text);
}
.meaning span {
  color: var(--mute);
  font-size: 0.9375rem;
  line-height: 1.35;
}

/* Nosso nome */
.name__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.name__text {
  max-width: 34rem;
  margin-top: 1rem;
  font-size: 1.1875rem;
  color: var(--mute);
}
.pillars {
  display: grid;
  gap: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  background: rgba(225, 10, 20, 0.04);
}
.pillar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.2rem 1.1rem;
  padding: 1.25rem 1.4rem;
}
.pillar + .pillar {
  border-top: 1px solid var(--line);
}
.pillar .icon {
  grid-row: span 2;
  color: var(--red-text);
}
.pillar strong {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-text);
}
.pillar span {
  color: var(--paper);
  line-height: 1.4;
}

/* Chamada final */
.cta {
  text-align: center;
  background:
    radial-gradient(40rem 16rem at 50% 120%, rgba(225, 10, 20, 0.35), transparent 70%),
    var(--bg);
  border-top: 1px solid var(--line);
}
.cta__title {
  font-family: var(--display);
  font-size: clamp(2.6rem, 8vw, 6rem);
  font-weight: 700;
  font-style: italic;
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--red-text);
  text-shadow: 0 0 40px var(--glow);
}
.cta .orn {
  margin: 1.5rem auto;
}
.cta p {
  margin-bottom: 2rem;
  color: var(--mute);
}

/* ---------- Rodapé ---------- */

.footer {
  padding: 2.5rem var(--pad);
  border-top: 1px solid var(--line);
  background: #040203;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  max-width: var(--max);
  margin: 0 auto;
  color: var(--mute);
  font-size: 0.9375rem;
}
.footer .brand {
  color: var(--paper);
  font-size: 1.2rem;
}
.footer .brand img {
  height: 2.2rem;
}
.footer__slogan {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red-text);
}

/* ---------- Login ---------- */

.auth {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 100svh;
}

.auth__art {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(34rem 34rem at 50% 55%, rgba(225, 10, 20, 0.32), transparent 70%),
    linear-gradient(180deg, #120608, var(--bg));
}
.auth__art .topbar {
  margin: 0;
  padding-left: var(--pad);
}
.auth__emblem {
  display: grid;
  flex: 1;
  place-items: center;
  padding: 1rem var(--pad);
  filter: drop-shadow(0 0 34px var(--glow));
}
.auth__emblem img {
  width: min(78%, 26rem);
  -webkit-mask-image: radial-gradient(closest-side, #000 97%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 97%, transparent 100%);
  animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s both;
}
.auth__title {
  padding: 0 var(--pad) clamp(1.5rem, 5vh, 3rem);
  display: grid;
  gap: 0.9rem;
}
.auth__title strong {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  text-transform: uppercase;
}
@media (prefers-reduced-motion: reduce) {
  .auth__emblem img {
    animation: none;
  }
}

.auth__panel {
  display: grid;
  place-items: center;
  padding: clamp(2rem, 6vw, 4rem) var(--pad);
}

/* ---------- Formulários ---------- */

.form {
  width: min(100%, 26rem);
}
.form__title {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  text-transform: uppercase;
}
.form__hint {
  margin: 0.75rem 0 2rem;
  color: var(--mute);
}
.field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.field label {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.field input {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.03);
  color: var(--paper);
  font: inherit;
}
.field input:hover {
  border-color: var(--red);
}
.field input:focus-visible {
  border-color: var(--red);
  outline: 3px solid var(--red-text);
  outline-offset: 2px;
}
.field small {
  color: var(--mute);
}
.form__error,
.form__ok {
  margin: 0 0 1.25rem;
  font-weight: 700;
}
.form__error {
  color: var(--danger);
}
.form__ok {
  color: var(--ok);
}
.form__foot {
  margin-top: 1.75rem;
  color: var(--mute);
  font-size: 0.9375rem;
}
.form__foot a {
  color: var(--paper);
}

/* ---------- Área do membro ---------- */

.panelhead {
  position: relative;
  padding: clamp(1.75rem, 4vw, 3rem) var(--pad) clamp(2.25rem, 5vw, 3.75rem);
}
.panelhead__inner {
  max-width: var(--max);
  margin: 0 auto;
}
.panelhead h1 {
  font-family: var(--display);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700;
  font-style: italic;
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.panelhead p {
  max-width: 36rem;
  margin-top: 1rem;
  color: var(--mute);
  font-size: 1.1875rem;
}

.panelmain {
  padding: clamp(2.5rem, 6vw, 4rem) var(--pad) 6rem;
}
.panelgrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 26rem);
  gap: clamp(2rem, 5vw, 4rem);
  max-width: var(--max);
  margin: 0 auto;
  align-items: start;
}
.stack {
  display: grid;
  gap: 3rem;
}
.force .only-dash {
  display: none;
}
.force .panelgrid {
  grid-template-columns: minmax(0, 32rem);
}

.block {
  padding-top: 1.25rem;
  border-top: 2px solid var(--red);
  box-shadow: 0 -18px 30px -24px var(--glow);
}
.block h2 {
  margin-bottom: 1.25rem;
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.1;
  text-transform: uppercase;
}
.block h2 span {
  color: var(--red-text);
}

.facts {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 0.6rem 1.5rem;
}
.facts dt {
  color: var(--mute);
}
.facts dd {
  margin: 0;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.roster {
  max-height: 30rem;
  padding: 0;
  list-style: none;
  overflow-y: auto;
}
.roster li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
}
.roster li strong {
  overflow-wrap: anywhere;
}
.roster li span {
  flex-shrink: 0;
  color: var(--mute);
  font-size: 0.9375rem;
}
.roster__empty {
  color: var(--mute);
}

/* ---------- 404 ---------- */

.notfound {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: var(--pad);
  text-align: center;
  background:
    radial-gradient(36rem 26rem at 50% 40%, rgba(225, 10, 20, 0.26), transparent 70%),
    var(--bg);
}
.notfound div {
  filter: drop-shadow(0 0 30px var(--glow));
}
.notfound img {
  width: min(55vw, 15rem);
  margin: 0 auto 1.5rem;
  -webkit-mask-image: radial-gradient(closest-side, #000 97%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 97%, transparent 100%);
}
.notfound h1 {
  font-family: var(--display);
  font-size: clamp(2.8rem, 9vw, 5.5rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  text-transform: uppercase;
}
.notfound p {
  margin: 1rem 0 2rem;
  font-size: 1.25rem;
  color: var(--mute);
}

/* ---------- Utilitários da área do membro ---------- */

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Etiquetas (cargo, situação) */
.badge {
  display: inline-block;
  padding: 0.05rem 0.55rem;
  border: 1px solid currentColor;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge:empty {
  display: none;
}
.badge--solid {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}
.badge--muted {
  border-color: var(--line);
  color: var(--mute);
  white-space: normal;
}

/* Menu da área do membro */
.subnav {
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
  padding: 0 var(--pad);
  overflow-x: auto;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  scrollbar-width: none;
}
.subnav::-webkit-scrollbar {
  display: none;
}
.subnav a {
  flex-shrink: 0;
  padding: 0.65rem 0;
  border-bottom: 3px solid transparent;
  color: var(--mute);
  text-decoration: none;
  white-space: nowrap;
}
.subnav a:hover {
  color: var(--paper);
  border-bottom-color: var(--red-deep);
}
.subnav a[aria-current="page"] {
  color: var(--paper);
  border-bottom-color: var(--red);
  text-shadow: 0 0 18px var(--glow);
}

.pagewrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
  max-width: var(--max);
  margin: 0 auto;
}
.pagewrap > *,
.stack > *,
.panelgrid > * {
  min-width: 0;
}

.lead {
  max-width: 44rem;
  margin-bottom: 1rem;
}
.hint {
  max-width: 44rem;
  margin: 0.75rem 0 1rem;
  color: var(--mute);
  font-size: 0.9375rem;
}
.bullets {
  display: grid;
  gap: 0.6rem;
  max-width: 44rem;
  padding-left: 1.25rem;
}
.empty {
  color: var(--mute);
}
.empty a {
  color: var(--paper);
}
td.empty {
  padding: 1rem 0;
}
.btnrow {
  margin-top: 1.5rem;
}

/* Tabelas */
.tablewrap {
  position: relative; /* prende o texto .sr (leitor de tela) dentro da rolagem da tabela */
  overflow-x: auto;
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}
.table th,
.table td {
  padding: 0.7rem 1.25rem 0.7rem 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}
.table thead th {
  border-bottom: 2px solid var(--line-strong);
  color: var(--mute);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.table tbody th {
  font-weight: 800;
  overflow-wrap: anywhere;
}
.table .note {
  display: block;
  margin-top: 0.25rem;
  color: var(--mute);
  font-size: 0.875rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
}
td.actions {
  min-width: 11rem;
}

/* Formulários largos, selects, arquivo, checkbox */
.form--wide {
  width: min(100%, 44rem);
  margin: 1.5rem 0 2rem;
}
.field-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  background: #0d0709;
  color: var(--paper);
  font: inherit;
}
.field select:hover,
.field textarea:hover {
  border-color: var(--red);
}
.table select {
  min-height: 2.5rem;
  padding: 0.4rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  background: #0d0709;
  color: var(--paper);
  font: inherit;
  font-weight: 700;
}
.table select:hover {
  border-color: var(--red);
}
.field input[type="file"] {
  padding: 0.6rem;
}
.field input[type="file"]::file-selector-button {
  margin-right: 1rem;
  padding: 0.5rem 1rem;
  border: 0;
  background: var(--red);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.check {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 600;
  cursor: pointer;
}
.check input {
  width: 1.4rem;
  height: 1.4rem;
  min-height: 0;
  margin: 0;
  accent-color: var(--red);
}

/* ---------- Caixa do clã: itens ---------- */

.items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 1.25rem;
}
.item {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0 1.25rem 1.25rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(225, 10, 20, 0.07), transparent 60%);
}
.item h3 {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.item__image {
  width: calc(100% + 2.5rem);
  height: 9rem;
  margin: 0 -1.25rem;
  object-fit: cover;
  background: #0a0507;
}
.item__image--empty {
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
  font-size: 2.5rem;
  filter: grayscale(1) opacity(0.55);
}
.item__desc {
  color: var(--mute);
}
.item__cost {
  margin-top: auto;
  color: var(--red-text);
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
}
.item__cost span {
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.item__meta {
  color: var(--mute);
  font-size: 0.875rem;
}
.item__reason {
  font-weight: 700;
  color: var(--danger);
}
.item .btn {
  align-self: flex-start;
}

.item-thumb {
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  object-fit: cover;
  background: #0a0507;
}
.item-thumb--empty {
  display: grid;
  place-items: center;
  border: 1px dashed var(--line);
  font-size: 1.25rem;
  filter: grayscale(1) opacity(0.55);
}

.imagepick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.imagepick__preview {
  width: 5.5rem;
  height: 5.5rem;
  flex-shrink: 0;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  background: #0a0507;
}
.imagepick__preview--empty {
  display: grid;
  place-items: center;
  font-size: 2rem;
  filter: grayscale(1) opacity(0.55);
}
.imagepick__actions {
  display: grid;
  gap: 0.4rem;
  min-width: 14rem;
}
.imagepick__actions small {
  color: var(--mute);
}

/* ---------- Tigrinho ---------- */

.casino__stage {
  display: grid;
  justify-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}
.reels {
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--line-strong);
  background: radial-gradient(20rem 10rem at 50% 50%, rgba(225, 10, 20, 0.18), transparent 75%), #0a0507;
  box-shadow: 0 0 60px -20px var(--glow);
}
.reel {
  display: grid;
  place-items: center;
  width: 5.5rem;
  height: 5.5rem;
  border: 2px solid var(--red);
  background: #000;
  font-size: 3rem;
  line-height: 1;
}
.reel--spin {
  animation: reelspin 0.08s linear infinite;
}
@keyframes reelspin {
  from {
    transform: translateY(-6%);
  }
  to {
    transform: translateY(6%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .reel--spin {
    animation: none;
  }
}

.casino__result {
  min-height: 1.6em;
  font-size: 1.25rem;
  font-weight: 800;
  text-align: center;
}
.casino__result--win {
  color: var(--gold);
  text-shadow: 0 0 22px rgba(242, 193, 78, 0.45);
}
.casino__result--loss {
  color: var(--danger);
}
.casino__result--push {
  color: var(--paper);
}
.casino__form {
  width: min(100%, 26rem);
  margin: 0 auto;
}
.casino__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin: -0.5rem 0 1.25rem;
}
.casino__balance {
  margin-top: 1rem;
  text-align: center;
  font-weight: 700;
  color: var(--mute);
}
.paytable__cell {
  white-space: nowrap;
}
.casino__net--win {
  color: var(--gold);
  font-weight: 700;
}
.casino__net--loss {
  color: var(--danger);
}

/* ---------- Telas menores ---------- */

@media (max-width: 56rem) {
  .hero__body,
  .about__grid,
  .join__grid,
  .symbol__grid,
  .name__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero__art {
    order: 2;
  }
  .values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .value:nth-child(3) {
    border-left: 0;
  }
  .value:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .auth {
    grid-template-columns: minmax(0, 1fr);
  }
  .auth__art {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .auth__emblem img {
    width: min(48%, 11rem);
  }
  .auth__title {
    padding-bottom: 1.5rem;
  }
  .panelgrid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 40rem) {
  .topnav a:not(.btn) {
    display: none;
  }
  .topbar .btn--small {
    padding: 0.4rem 0.85rem;
    font-size: 0.8125rem;
    letter-spacing: 0.05em;
  }
  .brand {
    font-size: 1.2rem;
  }
  .brand img {
    height: 2.2rem;
  }
  .field-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .topbar__who #who {
    display: none;
  }
  .meanings {
    grid-template-columns: minmax(0, 1fr);
  }
  .meaning:nth-child(odd) {
    border-right: 0;
  }
  .meaning:nth-last-child(2) {
    border-bottom: 1px solid var(--line);
  }
  .values {
    grid-template-columns: minmax(0, 1fr);
  }
  .value + .value {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 26rem) {
  .reel {
    width: 4.25rem;
    height: 4.25rem;
    font-size: 2.25rem;
  }
}
