:root {
  color-scheme: dark;
  --black: #070604;
  --charcoal: #14110d;
  --coal: #1d1a16;
  --ash: #2b2924;
  --bone: #eee6d4;
  --paper: #d7cdb9;
  --muted: #a9a091;
  --red: #9f121a;
  --red-dark: #5c070b;
  --brass: #b89455;
  --steel: #77736a;
  --line: rgba(238, 230, 212, 0.18);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.48);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(135deg, rgba(159, 18, 26, 0.14), transparent 36%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    var(--black);
  background-size: auto, 64px 64px, 64px 64px, auto;
  color: var(--bone);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", "Oswald", "Roboto Condensed", Arial, sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.42;
  background:
    repeating-linear-gradient(11deg, rgba(238, 230, 212, 0.035) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(96deg, rgba(0, 0, 0, 0.32) 0 1px, transparent 1px 9px);
  mix-blend-mode: screen;
}

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

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 6, 4, 0.88);
  backdrop-filter: blur(14px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 32px, var(--max));
  min-height: 74px;
  margin: 0 auto;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  text-decoration: none;
}

.brand-mark img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6));
}

.brand-text {
  display: grid;
  gap: 0.08rem;
  min-width: 0;
  text-transform: uppercase;
  line-height: 1;
}

.brand-title {
  overflow: hidden;
  color: var(--bone);
  font-size: clamp(1.16rem, 2.4vw, 1.7rem);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-subtitle {
  color: var(--brass);
  font-family: Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(238, 230, 212, 0.05);
  color: var(--bone);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  content: "";
}

.nav-toggle span {
  margin-block: 5px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.site-nav a {
  position: relative;
  min-height: 40px;
  padding: 0.75rem 0.7rem 0.65rem;
  color: var(--paper);
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav a::after {
  position: absolute;
  right: 0.7rem;
  bottom: 0.35rem;
  left: 0.7rem;
  height: 2px;
  background: var(--red);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 160ms ease, transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: calc(100vh - 74px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(7, 6, 4, 0.88), rgba(7, 6, 4, 0.45) 48%, rgba(7, 6, 4, 0.76)),
    linear-gradient(0deg, rgba(7, 6, 4, 0.96), transparent 45%),
    var(--hero-image) center / cover no-repeat;
}

.hero::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 4px),
    linear-gradient(0deg, rgba(159, 18, 26, 0.14), transparent 32%);
  mix-blend-mode: overlay;
}

.hero--home {
  --hero-image: url("../img/sinners-hero-outlaw.png");
}

.hero--charter,
.hero--roster,
.hero--kuttes,
.hero--join {
  --hero-image: url("../img/sinners-hero-outlaw.png");
  min-height: 68vh;
}

.hero-shell {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: clamp(2.25rem, 7vw, 6rem) 0;
}

.hero-content {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  max-width: 770px;
}

.hero-logo {
  width: clamp(116px, 18vw, 190px);
  height: auto;
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.7));
}

.eyebrow {
  color: var(--brass);
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
.page-title {
  max-width: 11ch;
  color: var(--bone);
  font-size: clamp(3.9rem, 13vw, 9.5rem);
  line-height: 0.78;
  text-transform: uppercase;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.72);
}

.page-title {
  max-width: 13ch;
  font-size: clamp(3.5rem, 10vw, 8rem);
}

.hero-copy {
  max-width: 640px;
  color: var(--paper);
  font-family: Arial, sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 700;
  line-height: 1.55;
}

.hero-actions,
.split-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.9rem 1.1rem 0.8rem;
  border: 1px solid var(--bone);
  border-radius: 4px;
  background: var(--bone);
  color: var(--black);
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 1000;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--red {
  border-color: var(--red);
  background: var(--red);
  color: var(--bone);
}

.button--ghost {
  background: rgba(7, 6, 4, 0.35);
  color: var(--bone);
}

.button--wide {
  width: 100%;
}

.section {
  padding: clamp(3.2rem, 8vw, 6.5rem) 0;
}

.section--tight {
  padding: clamp(2.4rem, 6vw, 4.25rem) 0;
}

.section--redline {
  border-top: 1px solid rgba(159, 18, 26, 0.55);
  border-bottom: 1px solid rgba(159, 18, 26, 0.35);
  background:
    linear-gradient(90deg, rgba(92, 7, 11, 0.24), transparent 48%, rgba(184, 148, 85, 0.08)),
    #100d0a;
}

.section--paper {
  background:
    linear-gradient(0deg, rgba(7, 6, 4, 0.13), rgba(7, 6, 4, 0.13)),
    var(--paper);
  color: var(--charcoal);
}

.shell {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.52fr);
  gap: clamp(1.25rem, 5vw, 4rem);
  align-items: end;
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
}

.section-title {
  color: inherit;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.section-lede,
.body-copy,
.card p,
.list-copy,
.form-note,
.footer-meta,
.timeline-copy {
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-weight: 700;
  line-height: 1.65;
}

.section--paper .section-lede,
.section--paper .body-copy,
.section--paper .card p,
.section--paper .list-copy {
  color: #4c453b;
}

.patch-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.patch-strip__item {
  display: grid;
  min-height: 132px;
  padding: clamp(1.1rem, 3vw, 1.5rem);
  border-right: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(238, 230, 212, 0.07), transparent 55%),
    var(--charcoal);
}

.patch-strip__item:last-child {
  border-right: 0;
}

.patch-number {
  color: var(--red);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 0.8;
}

.patch-label {
  align-self: end;
  color: var(--paper);
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.58fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.split--reverse {
  grid-template-columns: minmax(320px, 0.58fr) minmax(0, 0.92fr);
}

.feature-image {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #0d0b09;
  box-shadow: var(--shadow);
}

.feature-image img {
  width: 100%;
  min-height: 320px;
  object-fit: cover;
}

.feature-image--logo {
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: clamp(1.5rem, 5vw, 3rem);
  background:
    linear-gradient(135deg, rgba(238, 230, 212, 0.08), transparent 54%),
    #080705;
}

.feature-image--logo img {
  width: min(100%, 520px);
  min-height: 0;
  object-fit: contain;
}

.caption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  max-width: min(320px, calc(100% - 2rem));
  padding: 0.55rem 0.7rem 0.5rem;
  border: 1px solid rgba(238, 230, 212, 0.22);
  border-radius: 4px;
  background: rgba(7, 6, 4, 0.78);
  color: var(--paper);
  font-family: Arial, sans-serif;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.content-stack {
  display: grid;
  gap: 1.15rem;
}

.rule-list,
.timeline,
.rank-list {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rule-list li,
.timeline li,
.rank-list li {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(238, 230, 212, 0.04);
}

.section--paper .rule-list li,
.section--paper .timeline li,
.section--paper .rank-list li {
  border-color: rgba(20, 17, 13, 0.18);
  background: rgba(255, 255, 255, 0.36);
}

.list-title,
.timeline-title {
  color: var(--bone);
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.section--paper .list-title,
.section--paper .timeline-title {
  color: var(--charcoal);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  min-height: 100%;
  padding: clamp(1.1rem, 3vw, 1.45rem);
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(238, 230, 212, 0.075), transparent 48%),
    rgba(20, 17, 13, 0.86);
}

.section--paper .card {
  border-color: rgba(20, 17, 13, 0.18);
  background: rgba(255, 255, 255, 0.38);
}

.card h3 {
  margin-bottom: 0.65rem;
  color: var(--bone);
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.section--paper .card h3 {
  color: var(--charcoal);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.48rem 0.62rem 0.4rem;
  border: 1px solid rgba(184, 148, 85, 0.5);
  border-radius: 4px;
  color: var(--brass);
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.rank-table {
  display: grid;
  gap: 0.7rem;
}

.rank-row {
  display: grid;
  grid-template-columns: minmax(160px, 0.38fr) minmax(0, 1fr) minmax(116px, 0.22fr);
  gap: 1rem;
  align-items: center;
  min-height: 74px;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: 6px;
  background: rgba(238, 230, 212, 0.045);
}

.rank-name,
.rank-status {
  font-family: Arial, sans-serif;
  font-weight: 1000;
  text-transform: uppercase;
}

.rank-name {
  color: var(--bone);
}

.rank-desc {
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-weight: 700;
  line-height: 1.45;
}

.rank-status {
  justify-self: end;
  color: var(--brass);
  font-size: 0.72rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
}

.gallery-tile {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--charcoal);
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.gallery-tile--logo {
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 5vw, 3rem);
  background:
    linear-gradient(135deg, rgba(184, 148, 85, 0.16), transparent 54%),
    #090805;
}

.gallery-tile--logo img {
  width: min(100%, 430px);
  height: auto;
  min-height: 0;
  object-fit: contain;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.58fr);
  gap: clamp(1.5rem, 5vw, 3rem);
  align-items: start;
}

.application-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(20, 17, 13, 0.78);
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 0.42rem;
}

.field label {
  color: var(--paper);
  font-family: Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid rgba(238, 230, 212, 0.24);
  border-radius: 4px;
  background: rgba(7, 6, 4, 0.76);
  color: var(--bone);
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}

.field input,
.field select {
  min-height: 46px;
  padding: 0 0.8rem;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
  padding: 0.75rem 0.8rem;
}

.form-note {
  min-height: 1.5rem;
  color: var(--brass);
  font-size: 0.9rem;
}

.footer {
  border-top: 1px solid var(--line);
  background: #060503;
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 1.5rem 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.footer-title {
  color: var(--bone);
  font-size: 1.6rem;
  line-height: 0.9;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.8rem;
}

.footer-links a {
  color: var(--paper);
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-grid;
    place-content: center;
  }

  .site-nav {
    position: absolute;
    top: 74px;
    right: 0;
    left: 0;
    display: none;
    grid-template-columns: 1fr;
    padding: 0.45rem 16px 1rem;
    border-bottom: 1px solid var(--line);
    background: rgba(7, 6, 4, 0.97);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    min-height: 46px;
    border-bottom: 1px solid rgba(238, 230, 212, 0.1);
  }

  .hero {
    min-height: 84vh;
    background-position: center top;
  }

  .hero--charter,
  .hero--roster,
  .hero--kuttes,
  .hero--join {
    min-height: 62vh;
  }

  .section-head,
  .split,
  .split--reverse,
  .gallery-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .split--reverse .feature-image {
    order: -1;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .patch-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .patch-strip__item:nth-child(2) {
    border-right: 0;
  }

  .patch-strip__item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .nav-shell,
  .shell,
  .hero-shell,
  .footer-shell {
    width: min(100% - 24px, var(--max));
  }

  .brand-title {
    max-width: 10ch;
  }

  .brand-subtitle {
    display: none;
  }

  .hero {
    min-height: 82vh;
    background-position: 60% top;
  }

  .hero-shell {
    padding-bottom: 3.2rem;
  }

  h1,
  .page-title {
    font-size: clamp(3.25rem, 19vw, 5.8rem);
  }

  .hero-actions,
  .split-actions,
  .form-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .card-grid,
  .patch-strip {
    grid-template-columns: 1fr;
  }

  .patch-strip__item,
  .patch-strip__item:nth-child(2) {
    border-right: 0;
  }

  .patch-strip__item {
    border-bottom: 1px solid var(--line);
  }

  .patch-strip__item:last-child {
    border-bottom: 0;
  }

  .rank-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .rank-status {
    justify-self: start;
  }

  .feature-image img,
  .gallery-tile,
  .gallery-tile img {
    min-height: 260px;
  }

  .feature-image--logo {
    min-height: 320px;
  }

  .footer-shell {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

.hero--members {
  --hero-image: url("../img/sinners-hero-outlaw.png");
  min-height: 58vh;
}

.login-layout {
  display: grid;
  place-items: start center;
}

.login-panel,
.tool-panel {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(238, 230, 212, 0.075), transparent 48%),
    rgba(20, 17, 13, 0.9);
  box-shadow: var(--shadow);
}

.login-panel {
  display: grid;
  gap: 1rem;
  max-width: 460px;
  padding: clamp(1.2rem, 4vw, 2rem);
}

.member-band {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(92, 7, 11, 0.22), transparent 52%),
    rgba(7, 6, 4, 0.72);
}

.member-topbar,
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.member-title {
  max-width: none;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.member-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.62fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.tool-panel {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.35rem);
}

.tool-panel h2,
.identity-panel h2 {
  color: var(--bone);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.member-facts {
  display: grid;
  gap: 0.65rem;
  margin: 0;
}

.member-facts div,
.ledger-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(238, 230, 212, 0.12);
}

.member-facts dt,
.member-facts dd,
.ledger-item span,
.notice-item span,
.run-item span,
.warning-item span,
.notice-item small,
.run-item small,
.warning-item small,
.empty-state,
.credential-box em {
  margin: 0;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
}

.member-facts dd {
  color: var(--paper);
  text-align: right;
  text-transform: uppercase;
}

.notice-list,
.run-list,
.warning-list,
.ledger-list {
  display: grid;
  gap: 0.75rem;
}

.notice-item,
.run-item,
.warning-item {
  display: grid;
  gap: 0.35rem;
  padding: 0.9rem;
  border: 1px solid rgba(238, 230, 212, 0.14);
  border-radius: 6px;
  background: rgba(7, 6, 4, 0.46);
}

.notice-item h3,
.run-item h3,
.warning-item h3 {
  color: var(--bone);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.notice-item p,
.run-item p,
.warning-item p {
  color: var(--paper);
  font-family: Arial, sans-serif;
  font-weight: 700;
  line-height: 1.5;
}

.warning-item {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  border-left: 4px solid var(--red);
}

.warning-actions {
  display: flex;
  gap: 0.45rem;
}

.compact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(238, 230, 212, 0.12);
}

.roster-form {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.compact-form input,
.compact-form textarea,
.compact-form select {
  width: 100%;
  border: 1px solid rgba(238, 230, 212, 0.24);
  border-radius: 4px;
  background: rgba(7, 6, 4, 0.76);
  color: var(--bone);
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}

.compact-form input,
.compact-form select {
  min-height: 44px;
  padding: 0 0.7rem;
}

.compact-form textarea {
  min-height: 94px;
  resize: vertical;
  padding: 0.7rem;
}

.compact-form textarea,
.compact-form .button,
.roster-form textarea,
.roster-form .button {
  grid-column: 1 / -1;
}

.check-field {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  color: var(--paper);
  font-family: Arial, sans-serif;
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid rgba(238, 230, 212, 0.12);
  border-radius: 6px;
}

.data-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
}

.data-table th,
.data-table td {
  padding: 0.85rem 0.8rem;
  border-bottom: 1px solid rgba(238, 230, 212, 0.1);
  color: var(--paper);
  font-size: 0.86rem;
  text-align: left;
  vertical-align: top;
}

.data-table th {
  color: var(--brass);
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.data-table td strong,
.data-table td span {
  display: block;
}

.data-table td strong {
  color: var(--bone);
  text-transform: uppercase;
}

.data-table td span {
  color: var(--muted);
  font-size: 0.78rem;
}

.status-pill,
.ledger-total {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.35rem 0.5rem 0.3rem;
  border: 1px solid rgba(184, 148, 85, 0.48);
  border-radius: 4px;
  color: var(--brass);
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.mini-button {
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(238, 230, 212, 0.08);
  color: var(--bone);
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.mini-button--danger {
  border-color: rgba(159, 18, 26, 0.8);
  color: #f0b7b7;
}

.status-select {
  width: min(150px, 100%);
  min-height: 34px;
  border: 1px solid rgba(184, 148, 85, 0.48);
  border-radius: 4px;
  background: rgba(7, 6, 4, 0.82);
  color: var(--brass);
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.credential-box {
  display: grid;
  gap: 0.35rem;
  padding: 0.9rem;
  border: 1px solid rgba(184, 148, 85, 0.45);
  border-radius: 6px;
  background: rgba(184, 148, 85, 0.1);
  color: var(--paper);
  font-family: Arial, sans-serif;
  font-weight: 800;
}

.credential-box strong {
  color: var(--bone);
  text-transform: uppercase;
}

.credential-box code {
  color: var(--bone);
  font-weight: 1000;
}

.ledger-item b {
  color: var(--bone);
  font-family: Arial, sans-serif;
}

.is-hidden {
  display: none !important;
}

@media (max-width: 920px) {
  .member-grid,
  .compact-form,
  .roster-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .member-topbar,
  .panel-head {
    display: grid;
  }
}
