@font-face {
  font-family: GuildSerif;
  src: url("/fonts/cormorant-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: GuildSerif;
  src: url("/fonts/cormorant-italic-600.ttf") format("truetype");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: GuildSans;
  src: url("/fonts/manrope-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: GuildSans;
  src: url("/fonts/manrope-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: GuildSans;
  src: url("/fonts/manrope-700.ttf") format("truetype");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --bg: #080e18;
  --panel: #101927;
  --panel-light: #142034;
  --border: #26303e;
  --gold: #c9a568;
  --gold-light: #e4c894;
  --text: #ece5d8;
  --muted: #9ba8b8;
  --blue: #345880;
  --serif: GuildSerif, Georgia, serif;
  --sans: GuildSans, Arial, sans-serif;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
svg {
  flex-shrink: 0;
  vertical-align: middle;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.025em;
}
h3 {
  font-size: 16px;
  line-height: 1.35;
}
p {
  color: var(--muted);
}
em {
  color: var(--gold-light);
  font-weight: 600;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
.calendar-panel:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}
button {
  color: inherit;
}
::selection {
  background: #c9a56844;
  color: white;
}
.wrap {
  width: min(1240px, calc(100% - 96px));
  margin-inline: auto;
}
.gold {
  color: var(--gold);
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 12px;
}
.capitalize {
  text-transform: capitalize;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
  line-height: 1.5;
}
.tiny-rule {
  display: inline-block;
  vertical-align: middle;
  width: 28px;
  height: 1px;
  background: var(--gold);
  margin-right: 13px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: none;
  padding: 0;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.text-link:hover {
  color: var(--gold-light);
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 23px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  border-radius: 3px;
  transition:
    background 0.2s,
    transform 0.2s,
    color 0.2s;
  white-space: nowrap;
}
.button:hover {
  transform: translateY(-1px);
}
.button-gold {
  background: var(--gold);
  color: #111820;
  border-color: var(--gold);
}
.button-gold:hover {
  background: var(--gold-light);
}
.button-outline {
  background: transparent;
  border-color: #394555;
  color: var(--text);
}
.button-outline:hover {
  background: #ffffff07;
  border-color: #68717e;
}
.button-glass {
  background: #0b162566;
  border-color: #ffffff35;
  backdrop-filter: blur(8px);
}
.button-small {
  min-height: 36px;
  padding: 7px 14px;
  font-size: 12px;
}
.button-discord {
  background: #5865f2;
  color: white;
}
.button-discord:hover {
  background: #4752c4;
}
.button-danger {
  background: #593638;
  border-color: #89565a;
  color: #f5ced0;
}
.danger-text {
  color: #eca6a5;
  background: none;
  border: 0;
  padding: 0;
  font-size: 12px;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: none;
  border: 1px solid transparent;
  border-radius: 4px;
}
.icon-button:hover {
  background: #ffffff08;
  border-color: var(--border);
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 15px;
  background: var(--gold);
  color: #111;
  padding: 12px;
  z-index: 1000;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  height: 88px;
  border-bottom: 1px solid #ffffff0b;
  background: #080e18fa;
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
}
.nav-wrap {
  width: min(1360px, calc(100% - 64px));
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.2;
  white-space: nowrap;
}
.wordmark small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.17em;
  font-weight: 600;
  color: var(--muted);
  margin-top: 7px;
}
.crest-small {
  width: 34px;
  height: 40px;
  object-fit: contain;
}
.crest {
  width: 76px;
  height: 88px;
  object-fit: contain;
}
.desktop-nav {
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: 33px;
}
.desktop-nav > a {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #b3bdcc;
  font-weight: 600;
}
.desktop-nav > a:hover,
.desktop-nav > a.active {
  color: var(--text);
}
.desktop-nav > a.active:after {
  content: "";
  position: absolute;
  height: 2px;
  width: 22px;
  background: var(--gold);
  bottom: 17px;
  left: 0;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.account-menu {
  position: relative;
}
.account-menu summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}
.account-menu summary::-webkit-details-marker {
  display: none;
}
.avatar {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #203349;
  border: 1px solid #3a4e66;
  color: #d3c8ac;
  font-size: 12px;
  border-radius: 50%;
  font-weight: 700;
}
.avatar-small {
  width: 30px;
  height: 30px;
  font-size: 12px;
}
.dropdown {
  position: absolute;
  right: 0;
  top: 46px;
  min-width: 210px;
  background: #131f30;
  border: 1px solid #3b4656;
  padding: 7px;
  box-shadow: 0 15px 40px #0009;
  border-radius: 5px;
}
.dropdown a,
.dropdown button {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  font-size: 12px;
  background: none;
  border: 0;
  width: 100%;
  border-radius: 3px;
}
.dropdown a:hover,
.dropdown button:hover {
  background: #ffffff08;
}
.mobile-toggle {
  display: none;
  background: none;
  border: 0;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
}
.mobile-nav {
  background: #111c2d;
  border-bottom: 1px solid var(--border);
  padding: 12px 24px;
  display: grid;
}
.mobile-nav > a {
  padding: 12px 0;
}
.preview-banner {
  font-size: 12px;
  line-height: 1.5;
  min-height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  background: #12243a;
  border-bottom: 1px solid #24384e;
  color: #a6b8d0;
  padding: 7px 20px;
}
.preview-banner button {
  color: #cdd8e7;
  background: none;
  border: 0;
  padding: 0;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.status-dot {
  width: 5px;
  height: 5px;
  background: #96abc3;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}
.hero {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background: #0b1525;
}
.hero-art {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      90deg,
      #060d19e8 0%,
      #061020aa 30%,
      #07102125 62%,
      #07102110
    ),
    linear-gradient(0deg, #080e18 0%, transparent 25%, #080e1810 95%),
    url("/art/alliance-hero.webp");
  background-size: cover;
  background-position: center 48%;
  z-index: -2;
}
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 0 65%, #13365c33, transparent 70%);
}
.hero-content {
  padding: 65px 0 45px;
}
.hero-eyebrow {
  font-size: 10px;
  letter-spacing: 0.2em;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(56px, 5.7vw, 85px);
  line-height: 1.03;
  max-width: 800px;
  color: #f5efe2;
  text-shadow: 0 3px 30px #0003;
}
.hero h1 em {
  font-style: italic;
  color: #d7b981;
}
.hero-description {
  font-size: 15px;
  line-height: 1.8;
  color: #c3cbd5;
  margin-top: 27px;
}
.hero-buttons {
  display: flex;
  gap: 13px;
  margin-top: 34px;
}
.hero-bottom {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 59px;
  color: #d0c6b4;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
}
.hero-bottom small {
  display: block;
  color: #8d9ba9;
  font-size: 12px;
  letter-spacing: 0;
  font-weight: 400;
  margin-top: 4px;
}
.hero-bottom .crest-small {
  width: 28px;
  height: 34px;
}
.hero-caption {
  position: absolute;
  right: 25px;
  bottom: 24px;
  color: #a5b1c06b;
  font-size: 10px;
  letter-spacing: 0.15em;
}
.launch-strip {
  background: #111b29;
  border-top: 1px solid #364458;
  border-bottom: 1px solid #273346;
}
.launch-strip .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  gap: 20px;
}
.launch-strip .wrap > div {
  display: flex;
  align-items: center;
  gap: 16px;
}
.launch-mark {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid #6c573f;
  color: var(--gold);
}
.launch-strip .eyebrow {
  font-size: 10px;
  margin-bottom: 3px;
}
.launch-strip strong {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
}
.launch-time {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #b7c1cd;
  font-size: 12px;
}
.launch-strip a {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 12px;
  color: var(--gold-light);
  font-weight: 600;
}
.section {
  padding-top: 70px;
  padding-bottom: 70px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 28px;
}
.section-heading .eyebrow {
  margin-bottom: 8px;
}
.section-heading h2 {
  font-size: 42px;
}
.section-heading > a {
  color: var(--muted);
  padding-bottom: 4px;
}
.raid-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.raid-card {
  display: block;
  border: 1px solid #2b3544;
  background: #101824;
  border-radius: 4px;
  overflow: hidden;
  transition:
    transform 0.25s,
    border-color 0.25s;
}
.raid-card:hover {
  transform: translateY(-4px);
  border-color: #83704f;
}
.raid-art {
  height: 186px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.raid-art:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #0b1426b0, transparent 70%);
  pointer-events: none;
}
.raid-art-launch {
  background-image: url("/art/alliance-hero.webp");
  background-position: 60% 55%;
}
.raid-art-summit {
  background-image: url("/art/hyjal-concept.webp");
  background-position: center;
}
.raid-art-deeps {
  background-image: url("/art/barrow-concept.webp");
  background-position: center;
}
.badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e0d4bf;
  background: #0a1224d9;
  border: 1px solid #bd9e6445;
  padding: 5px 9px;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.raid-art > .badge {
  position: absolute;
  left: 17px;
  top: 17px;
  z-index: 1;
}
.raid-card-date {
  position: absolute;
  right: 17px;
  top: 17px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #0a1224d9;
  border: 1px solid #ffffff22;
  border-radius: 3px;
  width: 47px;
  padding: 5px 0;
  font-size: 12px;
  line-height: 1.4;
  text-transform: uppercase;
  color: #c2c7cf;
}
.raid-card-date strong {
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1.1;
  color: var(--text);
}
.raid-card-body {
  padding: 23px 21px 0;
}
.raid-card-body .eyebrow {
  font-size: 10px;
}
.raid-card-body h3 {
  font-family: var(--serif);
  font-size: 27px;
  margin: 8px 0 13px;
}
.raid-card-body p {
  font-size: 14px;
  display: flex;
  gap: 7px;
  align-items: center;
}
.raid-card-bottom {
  border-top: 1px solid #ffffff0c;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 17px 0;
  margin-top: 23px;
  font-size: 12px;
  color: #adb8c6;
}
.raid-card-bottom span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.guild-story {
  background: #101823;
  border-block: 1px solid #26303c;
  padding: 68px 0;
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 85px;
  align-items: center;
}
.story-visual {
  min-height: 413px;
  border: 1px solid #6b573739;
  background:
    radial-gradient(circle at 70% 45%, #22406466, transparent 70%),
    linear-gradient(135deg, #13233a, #0e1622);
  position: relative;
  overflow: hidden;
  padding: 38px;
}
.story-visual:before,
.story-visual:after {
  content: "";
  position: absolute;
  border: 1px solid #c9a56814;
  width: 270px;
  height: 350px;
  right: -55px;
  top: 22px;
  transform: rotate(35deg);
}
.story-visual:after {
  right: -20px;
  transform: rotate(35deg) scale(0.9);
}
.story-visual .crest {
  width: 48px;
  height: 56px;
  margin-bottom: 34px;
}
.story-visual > p {
  font-family: var(--serif);
  font-size: 49px;
  line-height: 1.01;
  letter-spacing: -0.02em;
  color: #ece5d8;
  position: relative;
  z-index: 1;
}
.story-visual > p em {
  font-style: italic;
}
.story-nine {
  position: absolute;
  right: 8px;
  top: 19px;
  font-family: var(--serif);
  font-size: 250px;
  line-height: 1.2;
  color: #c9a5680d;
  font-weight: 600;
}
.story-coordinate {
  position: absolute;
  bottom: 21px;
  left: 38px;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: #98a9bc;
}
.story-copy h2 {
  font-size: 47px;
  margin: 13px 0 22px;
}
.story-copy > p:not(.eyebrow) {
  font-size: 12px;
  line-height: 1.9;
  max-width: 470px;
}
.values-list {
  display: grid;
  gap: 21px;
  margin: 26px 0;
}
.values-list > div {
  display: flex;
  gap: 15px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.values-list svg {
  width: 20px;
  color: var(--gold);
}
.values-list strong {
  display: block;
  color: #e1dacb;
  font-size: 12px;
}
.community-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 60px;
  align-items: start;
}
.community-grid .section-heading h2 {
  font-size: 36px;
}
.community-grid .section-heading {
  margin-bottom: 28px;
}
.community-grid .section-heading .text-link {
  font-size: 12px;
}
.home-thread {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 23px 0;
  border-top: 1px solid #25303e;
}
.home-thread:hover h3 {
  color: var(--gold-light);
}
.thread-symbol {
  display: inline-flex;
  width: 42px;
  height: 42px;
  background: #162335;
  border: 1px solid #30415a;
  justify-content: center;
  align-items: center;
  color: #899eb8;
  border-radius: 3px;
  flex-shrink: 0;
}
.home-thread .eyebrow {
  font-size: 10px;
  letter-spacing: 0.1em;
}
.home-thread h3 {
  font-size: 13px;
  margin: 6px 0 7px;
}
.home-thread p {
  font-size: 14px;
}
.reply-count {
  margin-left: auto;
  display: flex;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
}
.discord-card {
  padding: 31px;
  background:
    radial-gradient(ellipse at 100% 0%, #313b6360, transparent 60%), #131f30;
  border: 1px solid #34415d;
  border-radius: 5px;
}
.discord-card > svg {
  color: #a4afe9;
  margin-bottom: 24px;
}
.discord-card .eyebrow {
  font-size: 10px;
  color: #a8b4d1;
}
.discord-card h2 {
  font-size: 38px;
  margin-top: 13px;
  margin-bottom: 16px;
}
.discord-card > p:not(.eyebrow) {
  font-size: 11px;
  line-height: 1.9;
}
.discord-features {
  display: grid;
  gap: 10px;
  margin: 23px 0 28px;
  color: #c2c9d5;
  font-size: 12px;
}
.discord-features > span {
  display: flex;
  align-items: center;
  gap: 10px;
}
.discord-features svg {
  color: #91a1c1;
}
.discord-card .button {
  width: 100%;
}
.recruit-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background:
    radial-gradient(ellipse at 100% 50%, #2e4f7145, transparent 70%), #101b2b;
  border: 1px solid #3b4552;
  border-top: 2px solid #9d8359;
  border-radius: 4px;
  padding: 36px 45px;
  margin-bottom: 75px;
}
.recruit-banner h2 {
  font-size: 44px;
  margin-top: 9px;
}
.recruit-banner .eyebrow {
  font-size: 10px;
}
.site-footer {
  background: #080d15;
  border-top: 1px solid #222b37;
  padding-top: 48px;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 45px;
  padding-bottom: 40px;
}
.footer-main .wordmark {
  font-size: 16px;
}
.footer-main .wordmark img {
  width: 27px;
  height: 33px;
}
.footer-main p {
  font-size: 14px;
  line-height: 1.9;
  margin-top: 18px;
}
.footer-main > div:not(:first-child):not(:last-child) {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-main .eyebrow {
  font-size: 10px;
  margin-bottom: 9px;
}
.footer-main a:not(.wordmark) {
  font-size: 12px;
  color: #a0adbd;
}
.footer-main a:hover {
  color: var(--gold-light);
}
.footer-discord > svg {
  color: #8898b9;
}
.footer-discord h3 {
  font-size: 12px;
  margin-top: 13px;
}
.footer-discord p {
  margin-top: 6px;
}
.footer-discord a {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  color: var(--gold) !important;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #202734;
  padding: 23px 0;
  color: #738090;
  font-size: 12px;
}
.page-shell {
  padding-top: 54px;
  padding-bottom: 80px;
  min-height: 65vh;
}
.page-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-bottom: 36px;
}
.page-intro h1 {
  font-size: 58px;
  margin: 13px 0 14px;
}
.page-intro > div > p:not(.eyebrow) {
  font-size: 12px;
  max-width: 660px;
  line-height: 1.9;
}
.page-intro .eyebrow {
  font-size: 10px;
}
.info-strip {
  background: #142238;
  border: 1px solid #2b405d;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 15px 19px;
  font-size: 12px;
  color: #c1cddd;
  border-radius: 4px;
  margin-bottom: 30px;
}
.info-strip > svg {
  color: #c9a568;
}
.info-strip .muted {
  margin-left: auto;
  font-size: 12px;
}
.info-strip strong {
  color: #e0cda9;
}
.raid-toolbar,
.forum-toolbar,
.roster-toolbar {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 22px;
}
.segmented {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  background: #111b2a;
  border: 1px solid #303c4e;
  border-radius: 4px;
}
.segmented button {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 13px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: #a2aec1;
  font-size: 12px;
}
.segmented button.selected {
  background: #2e415a;
  color: #f0e5cf;
}
.search-field {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #0e1725;
  border: 1px solid #303c4e;
  border-radius: 3px;
  padding: 0 13px;
  min-height: 42px;
  color: #7f90a7;
  flex: 1;
  max-width: 340px;
}
.search-field input {
  border: 0;
  background: none;
  padding: 10px 0;
  width: 100%;
  outline: 0 !important;
  font-size: 12px;
  min-width: 0;
}
.search-field:focus-within {
  border-color: var(--gold);
}
input,
textarea,
select {
  border: 1px solid #344155;
  background: #0c1524;
  color: #e9e5dc;
  border-radius: 3px;
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  font-size: 12px;
  max-width: 100%;
}
input::placeholder,
textarea::placeholder {
  color: #708096;
}
textarea {
  resize: vertical;
  line-height: 1.7;
}
select {
  appearance: auto;
  cursor: pointer;
}
.raid-toolbar > label:not(.search-field):not(.checkbox-label) {
  max-width: 190px;
}
.checkbox-label {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: #b4becc;
  white-space: nowrap;
}
.checkbox-label input {
  width: 15px;
  height: 15px;
  min-height: auto;
  accent-color: var(--gold);
  padding: 0;
}
.raid-toolbar .checkbox-label {
  margin-left: auto;
}
.raid-list {
  border: 1px solid #2e394a;
  border-radius: 5px;
  overflow: hidden;
}
.event-row {
  display: flex;
  align-items: center;
  gap: 22px;
  width: 100%;
  padding: 19px 24px;
  background: #101927;
  border: 0;
  border-bottom: 1px solid #2b3544;
  text-align: left;
  transition: background 0.2s;
}
.event-row:last-child {
  border-bottom: 0;
}
.event-row:hover {
  background: #172337;
}
.event-thumb {
  width: 105px;
  height: 85px;
  background-size: cover;
  border-radius: 3px;
  flex-shrink: 0;
  border: 1px solid #3e4b5c;
}
.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 48px;
  line-height: 1.2;
  flex-shrink: 0;
}
.event-date > span {
  font-size: 12px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.event-date strong {
  font-family: var(--serif);
  font-size: 36px;
  margin: 3px 0;
}
.event-date small {
  color: #95a3b5;
  font-size: 12px;
}
.event-title {
  flex: 1;
  min-width: 0;
}
.event-title > .eyebrow {
  font-size: 10px;
}
.event-title h2 {
  font-size: 28px;
  margin: 6px 0 10px;
}
.event-title > span:not(.eyebrow) {
  font-size: 10px;
  color: #a8b4c4;
  display: flex;
  align-items: center;
  gap: 7px;
}
.event-capacity {
  width: 110px;
  flex-shrink: 0;
  text-align: left;
}
.event-capacity > span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}
.event-capacity strong {
  font-weight: 700;
}
.event-capacity small {
  font-size: 12px;
  color: #97a5b9;
}
.capacity-track {
  height: 3px;
  background: #29364a;
  width: 90px;
  margin-top: 8px;
  border-radius: 4px;
  overflow: hidden;
}
.capacity-track span {
  display: block;
  background: var(--gold);
  height: 100%;
}
.event-cta {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--gold);
  margin-left: 10px;
}
.cancelled {
  opacity: 0.55;
}
.badge-danger {
  border-color: #9b5559;
  color: #ecc0bd;
}
.raid-bottom-callout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  padding: 32px 15px;
  font-size: 12px;
  color: #95a1c7;
}
.raid-bottom-callout p strong {
  display: block;
  color: #d8ddea;
  font-size: 14px;
  font-weight: 600;
}
.raid-bottom-callout p span {
  display: block;
  font-size: 14px;
  margin-top: 4px;
}
.calendar-panel {
  border: 1px solid #344055;
  border-radius: 5px;
  overflow: hidden;
  background: #101927;
}
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #344055;
}
.calendar-header h2 {
  font-size: 29px;
}
.calendar-header > div {
  display: flex;
  gap: 7px;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.calendar-weekday {
  text-align: center;
  color: #98a6b8;
  font-size: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #2c3746;
}
.calendar-cell {
  min-height: 118px;
  border-right: 1px solid #253040;
  border-bottom: 1px solid #253040;
  padding: 9px;
  font-size: 12px;
}
.calendar-cell:nth-child(7n) {
  border-right: 0;
}
.calendar-cell.outside {
  background: #0b1220;
}
.calendar-cell > span {
  color: #a7b2c3;
}
.calendar-cell button {
  display: block;
  background: #263b55;
  border: 1px solid #38516e;
  border-left: 2px solid var(--gold);
  width: 100%;
  padding: 7px 6px;
  margin-top: 7px;
  border-radius: 2px;
  font-size: 12px;
  text-align: left;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.calendar-cell button > span {
  display: block;
  font-size: 12px;
  color: #c3cbd7;
}
.modal {
  position: fixed;
  inset: 0;
  margin: auto;
  background: #101b2b;
  border: 1px solid #4b5361;
  border-top: 2px solid var(--gold);
  border-radius: 6px;
  color: var(--text);
  width: min(560px, calc(100% - 32px));
  max-height: min(88vh, 1000px);
  padding: 0;
  box-shadow: 0 30px 100px #000c;
  overflow-y: auto;
}
.modal-wide {
  width: min(880px, calc(100% - 32px));
}
.modal::backdrop {
  background: #020713cc;
  backdrop-filter: blur(7px);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 19px 24px;
  border-bottom: 1px solid #2f3a4a;
  position: sticky;
  top: 0;
  background: #101b2bfa;
  z-index: 2;
}
.modal-header h2 {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0;
}
.modal-body {
  padding: 25px;
}
.detail-art {
  min-height: 206px;
  background-size: cover;
  position: relative;
  padding: 70px 26px 25px;
  isolation: isolate;
  border: 1px solid #3c4b5d;
  border-radius: 3px;
}
.detail-art:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #071324f0, transparent 100%);
  z-index: -1;
}
.detail-art > .badge {
  position: absolute;
  left: 26px;
  top: 20px;
}
.detail-art h2 {
  font-size: 39px;
  text-shadow: 0 2px 15px #0009;
}
.detail-art p {
  font-size: 14px;
  color: #cbd2d8;
  margin-top: 9px;
}
.detail-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  padding: 21px 0;
  color: #c2cbd7;
  font-size: 12px;
  border-bottom: 1px solid #303b4b;
}
.detail-meta > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.detail-meta svg {
  color: var(--gold);
}
.prose-text {
  white-space: pre-wrap;
  font-size: 14px;
  line-height: 1.9;
  padding: 22px 0;
}
.detail-summary {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 21px;
  background: #152338;
  border: 1px solid #2c415c;
  border-radius: 4px;
  font-size: 12px;
  margin-bottom: 21px;
  flex-wrap: wrap;
}
.detail-summary > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.detail-summary > span:last-child {
  margin-left: auto;
  font-size: 12px;
}
.success {
  color: #9dc5b2;
}
.warning {
  color: #d8af78;
}
.tabs {
  display: flex;
  border-bottom: 1px solid #354054;
  gap: 24px;
}
.tabs button {
  background: none;
  border: 0;
  position: relative;
  padding: 14px 2px;
  color: #9eacc0;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tabs button[aria-selected="true"],
.tabs button.active {
  color: #e7d4af;
}
.tabs button[aria-selected="true"]:after,
.tabs button.active:after {
  content: "";
  height: 2px;
  background: var(--gold);
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
}
.tabs button > span {
  font-size: 12px;
  line-height: 1;
  background: #2b394e;
  padding: 4px 6px;
  border-radius: 3px;
}
.signup-panel,
.roster-panel {
  padding-top: 24px;
}
.signup-panel form {
  display: grid;
  gap: 22px;
}
label {
  font-size: 12px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
label .muted {
  font-weight: 400;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
legend {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 9px;
}
.attendance-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.attendance-choice {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #35435b;
  padding: 19px 8px;
  background: #101e31;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  gap: 7px;
}
.attendance-choice:has(input:checked) {
  border-color: var(--gold);
  background: #c9a5680a;
}
.attendance-choice > input {
  position: absolute;
  right: 9px;
  top: 9px;
  accent-color: var(--gold);
  width: 12px;
  height: 12px;
  min-height: auto;
}
.attendance-choice svg {
  color: #a5b9d4;
}
.attendance-choice small {
  font-size: 12px;
  color: #9dacc0;
  font-weight: 400;
}
.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.form-footer p {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.stack-form {
  display: grid;
  gap: 19px;
}
.stack-form > .muted {
  font-size: 12px;
  line-height: 1.8;
}
.stack-form > .button {
  justify-self: start;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.form-error {
  padding: 13px 15px;
  border: 1px solid #814b50;
  background: #552c343d;
  color: #eec2c6;
  border-radius: 3px;
  font-size: 12px;
}
.danger-zone {
  margin-top: 27px;
  border-top: 1px solid #384051;
  padding-top: 18px;
  color: #a59baa;
  font-size: 12px;
}
.danger-zone summary {
  cursor: pointer;
  color: #c4a9a3;
  font-weight: 600;
}
.danger-zone p {
  font-size: 14px;
  margin: 12px 0;
}
.danger-zone .button {
  margin-right: 10px;
}
.table-scroll {
  overflow: auto;
}
.roster-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
}
.roster-table th {
  padding: 11px 12px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8fa1b8;
  border-bottom: 1px solid #39475e;
  white-space: nowrap;
}
.roster-table td {
  padding: 15px 12px;
  border-bottom: 1px solid #29364a;
  vertical-align: middle;
}
.roster-table td:first-child {
  min-width: 170px;
  max-width: 250px;
}
.roster-table small {
  display: block;
  font-size: 12px;
  margin-top: 5px;
  color: #8fa2ba;
}
.character-name {
  font-weight: 700;
  font-size: 12px;
}
.signup-note {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-style: italic;
}
.roster-table select {
  font-size: 12px;
  padding: 6px;
  min-height: 31px;
  min-width: 92px;
}
.attendance-pill {
  font-size: 12px;
  text-transform: capitalize;
  display: inline-block;
  padding: 4px 7px;
  border-radius: 3px;
  border: 1px solid;
}
.attendance-pill.available {
  color: #b0d8bd;
  background: #54746118;
  border-color: #42634e;
}
.attendance-pill.tentative {
  color: #e1c18d;
  background: #a4803420;
  border-color: #7d6337;
}
.attendance-pill.unavailable {
  color: #c9a2a5;
  background: #a4575d18;
  border-color: #75484d;
}
.assignment {
  font-size: 12px;
  text-transform: capitalize;
}
.assignment.confirmed {
  color: #d9bd82;
}
.assignment.bench {
  color: #a3b6d9;
}
.source-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #9caec5;
}
.roster-panel > .small {
  margin-top: 15px;
}
.forum-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 38px;
}
.forum-sidebar {
  background: #0f1928;
  border: 1px solid #2c394b;
  border-radius: 4px;
  padding: 21px 13px;
  align-self: start;
}
.forum-sidebar > .eyebrow {
  margin: 0 12px 15px;
  font-size: 10px;
}
.forum-sidebar > button {
  border: 0;
  background: none;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 11px;
  text-align: left;
  color: #a5b4c8;
  border-radius: 3px;
  font-size: 12px;
}
.forum-sidebar > button > small {
  margin-left: auto;
  background: #26374e;
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 12px;
}
.forum-sidebar > button.selected {
  background: #25354b;
  color: #e5d1ac;
}
.forum-sidebar > button.selected svg {
  color: var(--gold);
}
.forum-guidelines {
  margin: 22px 12px 0;
  border-top: 1px solid #2a3545;
  padding-top: 23px;
}
.forum-guidelines > svg {
  color: var(--gold);
}
.forum-guidelines h3 {
  font-size: 12px;
  line-height: 1.6;
  margin-top: 12px;
}
.forum-guidelines p {
  font-size: 14px;
  line-height: 1.9;
  margin-top: 10px;
}
.forum-guidelines a {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--gold);
  margin-top: 12px;
}
.forum-toolbar {
  justify-content: space-between;
  gap: 20px;
}
.forum-toolbar h2 {
  font-family: var(--sans);
  font-size: 16px;
  letter-spacing: 0;
  white-space: nowrap;
}
.forum-toolbar .search-field {
  max-width: 280px;
}
.thread-list {
  border: 1px solid #2e3a4c;
  background: #101927;
  border-radius: 4px;
  overflow: hidden;
}
.thread-row {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 25px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #293548;
  background: transparent;
  text-align: left;
}
.thread-row:last-child {
  border-bottom: 0;
}
.thread-row:hover {
  background: #172236;
}
.thread-row h3 {
  font-size: 13px;
  line-height: 1.6;
  margin: 6px 0;
}
.thread-row p {
  display: flex;
  gap: 8px;
  font-size: 14px;
}
.thread-avatar {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #22334b;
  border: 1px solid #3b4c64;
  color: #b4c1d4;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.thread-avatar.pinned {
  border-radius: 4px;
  background: #8b6b2820;
  border-color: #79603e;
  color: var(--gold);
}
.thread-labels {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.thread-labels > .eyebrow {
  font-size: 10px;
  letter-spacing: 0.08em;
}
.mini-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #303c4f;
  border: 1px solid #465166;
  border-radius: 3px;
  color: #b4c1d3;
  font-size: 10px;
  padding: 2px 5px;
  line-height: 1.5;
  white-space: nowrap;
}
.thread-replies {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #91a3ba;
  font-size: 12px;
  gap: 4px;
  min-width: 40px;
}
.thread-replies strong {
  font-size: 12px;
  color: #d9deea;
  font-weight: 600;
}
.thread-replies small {
  font-size: 12px;
}
.forum-note {
  margin-top: 23px;
}
.thread-detail > h2 {
  font-size: 35px;
  margin-top: 12px;
  line-height: 1.2;
}
.post-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
}
.post-author > div {
  display: flex;
  flex-direction: column;
}
.post-author strong {
  font-size: 12px;
}
.post-author small {
  font-size: 12px;
  color: #94a5bb;
  margin-top: 4px;
}
.post-author > .icon-button {
  margin-left: auto;
}
.post-body {
  white-space: pre-wrap;
  font-size: 14px;
  line-height: 1.95;
  color: #c3ccda;
  overflow-wrap: anywhere;
}
.moderation-bar {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 15px;
  border-block: 1px solid #38455b;
  padding: 12px 0;
  flex-wrap: wrap;
  font-size: 12px;
}
.moderation-bar > span {
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 6px;
}
.moderation-bar button {
  border: 0;
  background: none;
  font-size: 12px;
  padding: 4px 0;
}
.moderation-bar label {
  max-width: 185px;
  margin-left: auto;
}
.moderation-bar select {
  min-height: 30px;
  padding: 5px;
  font-size: 12px;
}
.discussion-replies {
  margin-top: 29px;
  border-top: 1px solid #324058;
  padding-top: 22px;
}
.discussion-replies > h3 {
  font-size: 13px;
  margin-bottom: 19px;
}
.reply {
  padding: 20px 0;
  border-bottom: 1px solid #2d3b50;
}
.reply > .post-author {
  margin: 0 0 17px;
}
.reply .post-body {
  padding-left: 48px;
}
.reply-form {
  margin-top: 28px;
  display: grid;
  gap: 15px;
}
.reply-form .button {
  justify-self: end;
}
.locked-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 12px;
  background: #1b2a40;
  padding: 13px;
  border: 1px solid #3c4961;
  border-radius: 3px;
}
.confirm-box {
  padding: 16px;
  margin-top: 14px;
  border: 1px solid #7a4c52;
  background: #492a3430;
  border-radius: 3px;
}
.confirm-box p {
  font-size: 14px;
  margin-bottom: 12px;
}
.confirm-box .button {
  margin-right: 10px;
}
.roster-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}
.roster-summary > button {
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid #2f3e52;
  border-radius: 4px;
  background: #111d2e;
  padding: 22px;
  text-align: left;
}
.roster-summary > button > svg {
  color: #91a9c8;
}
.roster-summary > button.selected {
  border-color: var(--gold);
  background: #c9a56808;
}
.roster-summary > button.selected > svg {
  color: var(--gold);
}
.roster-summary > button > div {
  display: flex;
  flex-direction: column;
}
.roster-summary strong {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1;
  color: #e4d2b1;
}
.roster-summary span {
  font-size: 12px;
  color: #a7b4c7;
  margin-top: 5px;
}
.roster-toolbar {
  justify-content: space-between;
  margin-bottom: 28px;
}
.roster-toolbar > .tabs {
  border: 0;
}
.character-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.character-card {
  border: 1px solid #2e3c50;
  border-top: 2px solid var(--class-color);
  background: linear-gradient(145deg, #142034, #101925);
  padding: 24px;
  border-radius: 4px;
}
.character-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 23px;
}
.character-card-top > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.character-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--class-color);
  color: var(--class-color);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 22px;
  background: #080e1840;
}
.character-card > .eyebrow {
  color: var(--class-color);
  font-size: 10px;
}
.character-card h2 {
  font-size: 29px;
  margin: 10px 0;
  overflow-wrap: anywhere;
}
.character-card p {
  font-size: 14px;
}
.character-card-bottom {
  border-top: 1px solid #334156;
  padding-top: 16px;
  margin-top: 23px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}
.character-card-bottom > span:first-child {
  display: flex;
  gap: 7px;
  align-items: center;
  color: var(--class-color);
  text-transform: capitalize;
}
.character-card-bottom > span:last-child {
  font-size: 12px;
  color: #91a3bb;
}
.roster-note {
  margin-top: 25px;
}
.loading-panel {
  padding: 65px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  color: #a2b2c8;
  font-size: 12px;
}
.loading-spinner {
  width: 17px;
  height: 17px;
  border: 2px solid #3b4d67;
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.empty-state {
  text-align: center;
  padding: 45px 25px;
  background: #101c2d66;
  border: 1px dashed #3a485b;
  border-radius: 4px;
}
.empty-state > svg {
  color: #788faa;
  margin-bottom: 16px;
}
.empty-state h3 {
  font-size: 15px;
  color: #d5dce8;
}
.empty-state p {
  font-size: 14px;
  margin: 10px auto 0;
  max-width: 380px;
  line-height: 1.8;
}
.empty-state .button {
  margin-top: 19px;
}
.error-panel {
  padding: 30px;
  border: 1px solid #784950;
  background: #472a3333;
  border-radius: 4px;
}
.error-panel h3 {
  font-size: 15px;
}
.error-panel p {
  font-size: 14px;
  margin: 9px 0 18px;
  color: #c7abb2;
}
.callout {
  background: #19283f;
  border: 1px solid #3b4f6b;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 22px;
  border-radius: 4px;
  flex-wrap: wrap;
}
.callout > svg {
  color: #9baae6;
}
.callout > div {
  flex: 1;
  min-width: 180px;
}
.callout h3 {
  font-size: 14px;
}
.callout p {
  font-size: 14px;
  margin-top: 7px;
}
.callout > .small {
  flex-basis: 100%;
  margin: 0;
}
.toast {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: min(460px, calc(100vw - 32px));
  padding: 17px 20px;
  background: #1a303a;
  border: 1px solid #527579;
  border-left: 3px solid #9ac0ae;
  color: #deece6;
  border-radius: 5px;
  box-shadow: 0 10px 45px #0007;
  font-size: 12px;
}
.toast-error {
  background: #442a34;
  border-color: #7e4c5b;
  border-left-color: #e5a6ac;
  color: #f2d5d9;
}
.toast button {
  border: 0;
  background: none;
  font-size: 24px;
  color: inherit;
  line-height: 1;
  padding: 0;
}
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  background: #121e30;
  border: 1px solid #35425a;
  border-radius: 5px;
  overflow: hidden;
}
.about-hero > div:first-child {
  padding: 43px;
}
.about-hero .crest {
  width: 48px;
  height: 56px;
  margin-bottom: 25px;
}
.about-hero h2 {
  font-size: 48px;
}
.about-hero p {
  font-size: 14px;
  line-height: 1.9;
  margin: 21px 0 25px;
  max-width: 400px;
}
.about-art {
  background: url("/art/alliance-hero.webp") center right/cover;
  min-height: 470px;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 50px 0;
  border-bottom: 1px solid #2a374a;
}
.values-grid svg {
  color: var(--gold);
  width: 26px;
  height: 26px;
  margin-bottom: 19px;
}
.values-grid h3 {
  font-size: 15px;
}
.values-grid p {
  font-size: 14px;
  line-height: 1.9;
  margin-top: 12px;
}
.launch-plan {
  padding-top: 55px;
}
.launch-plan > h2 {
  font-size: 43px;
  margin-top: 12px;
}
.milestone-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 28px;
  margin-bottom: 21px;
}
.milestone-grid article {
  background: #101c2c;
  border: 1px solid #2c3a4e;
  padding: 27px;
  border-radius: 4px;
}
.milestone-grid article > span {
  font-family: var(--serif);
  font-size: 37px;
  color: #5f728d;
  display: block;
  margin-bottom: 19px;
}
.milestone-grid .eyebrow {
  font-size: 10px;
  letter-spacing: 0.08em;
}
.milestone-grid h3 {
  font-family: var(--serif);
  font-size: 29px;
  margin: 12px 0;
}
.milestone-grid p:not(.eyebrow) {
  font-size: 11px;
  line-height: 1.9;
}
.launch-plan > .small a {
  color: var(--gold);
}
.about-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-block: 1px solid #334056;
  padding: 25px 0;
  margin-top: 42px;
}
.about-facts > div {
  display: flex;
  align-items: center;
  gap: 13px;
}
.about-facts svg {
  color: var(--gold);
}
.about-facts span {
  font-size: 12px;
  color: #8e9fb6;
}
.about-facts strong {
  display: block;
  color: #d8e1eb;
  font-size: 12px;
  margin-top: 3px;
}
.join-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: start;
}
.join-visual {
  border: 1px solid #465270;
  border-top: 2px solid var(--gold);
  min-height: 570px;
  background:
    linear-gradient(0deg, #0b192df5, #142b4480),
    url("/art/alliance-hero.webp") 68% center/cover;
  padding: 38px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.join-visual .crest {
  width: 65px;
  height: 76px;
  margin-bottom: auto;
}
.join-visual h2 {
  font-size: 55px;
  line-height: 0.98;
  padding-top: 55px;
}
.join-visual h2 em {
  font-size: 45px;
}
.join-visual > p {
  margin-top: 27px;
  font-size: 14px;
  color: #b0bed1;
  line-height: 1.9;
}
.join-copy {
  padding-top: 10px;
}
.join-copy > h2 {
  font-size: 41px;
  margin: 13px 0 21px;
}
.join-copy > p:not(.eyebrow) {
  font-size: 12px;
  line-height: 1.9;
}
.join-steps {
  list-style: none;
  padding: 0;
  margin: 32px 0;
  display: grid;
  gap: 26px;
}
.join-steps li {
  display: flex;
  gap: 18px;
}
.join-steps li > span {
  font-family: var(--serif);
  font-size: 25px;
  color: var(--gold);
  line-height: 1.3;
}
.join-steps h3 {
  font-size: 13px;
  margin-bottom: 7px;
}
.join-steps p {
  font-size: 14px;
  line-height: 1.8;
}
.join-copy > .text-link {
  margin-top: 22px;
  font-size: 12px;
}
.join-pending {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border: 1px solid #3f4d69;
  background: #1c2a4644;
  border-radius: 4px;
}
.join-pending > svg {
  color: #9fabe4;
}
.join-pending strong {
  font-size: 12px;
  line-height: 1.8;
}
.join-pending p {
  font-size: 14px;
  margin-top: 5px;
}
.join-expectations {
  padding: 44px 0 0;
  margin-top: 40px;
  border-top: 1px solid #303d51;
}
.join-expectations h2 {
  font-size: 35px;
  margin-bottom: 25px;
}
.join-expectations > div {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  font-size: 12px;
  color: #b8c6d8;
}
.join-expectations span {
  display: flex;
  align-items: center;
  gap: 10px;
}
.join-expectations svg {
  color: var(--gold);
  width: 16px;
}
.brand-specimens {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 24px;
}
.brand-specimens > div {
  border: 1px solid #3a475d;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background:
    radial-gradient(circle at 50% 20%, #23436955, transparent 70%), #101c2d;
  min-height: 300px;
  padding: 30px;
}
.brand-crest .crest {
  width: 105px;
  height: 122px;
}
.brand-crest > span {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #9cabbe;
  margin-top: 19px;
}
.brand-crest > a {
  margin-top: 18px;
  font-size: 12px;
  color: var(--gold);
}
.brand-wordmark > span {
  font-size: 41px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.brand-wordmark > p {
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-top: 15px;
}
.brand-wordmark > small {
  font-size: 10px;
  color: #98a9bf;
  margin-top: 29px;
}
.brand-section {
  margin-top: 45px;
}
.brand-section > h2 {
  font-size: 37px;
  margin-bottom: 25px;
}
.palette {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.palette > div > span {
  display: block;
  height: 85px;
  border: 1px solid #53617a;
  border-radius: 3px;
  margin-bottom: 13px;
}
.palette strong {
  display: block;
  font-size: 12px;
}
.palette code {
  font-size: 12px;
  color: #9eb0c7;
}
.art-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 21px;
}
.art-grid > a {
  border: 1px solid #3a4860;
  background: #142036;
  border-radius: 4px;
  overflow: hidden;
}
.art-grid img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.art-grid a > div {
  padding: 17px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
}
.art-grid a > div > span {
  color: var(--gold);
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 12px;
}
.brand-section > .small {
  margin-top: 20px;
}
.officer-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.officer-stats > article {
  background: #131f31;
  border: 1px solid #34415a;
  border-radius: 4px;
  padding: 25px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 13px;
}
.officer-stats svg {
  color: var(--gold);
}
.officer-stats span {
  font-size: 12px;
  color: #a5b5cb;
}
.officer-stats strong {
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 600;
}
.officer-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0;
}
.officer-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.panel {
  background: #101c2c;
  border: 1px solid #32415a;
  border-radius: 4px;
  padding: 25px;
}
.panel h2 {
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0;
  margin-bottom: 23px;
}
.panel .empty-state {
  background: none;
}
.audit-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #2c3a51;
  font-size: 12px;
}
.audit-row small {
  margin-left: auto;
  color: #93a5bf;
  font-size: 12px;
}
.narrow-page {
  max-width: 850px;
}
.policy-copy {
  display: grid;
  gap: 16px;
  font-size: 14px;
  line-height: 1.9;
}
.policy-copy h2 {
  font-size: 28px;
  margin-top: 21px;
}
.not-found {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 25px;
  padding: 30px;
  text-align: center;
}
.not-found h1 {
  font-size: 50px;
}
.not-found > p:not(.eyebrow) {
  font-size: 12px;
}
@media (min-width: 1550px) {
  .hero {
    min-height: 720px;
  }
  .hero-art {
    background-position: center 46%;
  }
  .hero h1 {
    font-size: 87px;
  }
}
@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .desktop-nav {
    gap: 21px;
  }
  .nav-wrap {
    gap: 20px;
    width: calc(100% - 44px);
  }
  .account-name {
    display: none;
  }
  .wordmark {
    font-size: 16px;
  }
  .story-grid {
    gap: 50px;
  }
  .community-grid {
    gap: 35px;
    grid-template-columns: 1.5fr 1fr;
  }
  .community-grid .section-heading h2 {
    font-size: 31px;
  }
  .community-grid .section-heading {
    flex-wrap: wrap;
  }
  .forum-layout {
    grid-template-columns: 220px 1fr;
    gap: 25px;
  }
  .event-cta {
    display: none;
  }
  .join-grid {
    gap: 40px;
  }
  .footer-main {
    gap: 30px;
  }
  .page-intro h1 {
    font-size: 51px;
  }
  .raid-toolbar {
    flex-wrap: wrap;
  }
  .raid-toolbar .search-field {
    max-width: none;
  }
  .info-strip {
    flex-wrap: wrap;
  }
  .info-strip .muted {
    margin-left: 30px;
  }
  .brand-wordmark > span {
    font-size: 34px;
  }
}
@media (max-width: 800px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    height: 74px;
  }
  .nav-wrap {
    width: calc(100% - 34px);
  }
  .desktop-nav {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .preview-banner {
    justify-content: space-between;
    font-size: 12px;
    gap: 12px;
  }
  .preview-banner > span {
    max-width: 75%;
  }
  .preview-banner button {
    font-size: 12px;
    white-space: nowrap;
  }
  .hero {
    min-height: 620px;
  }
  .hero-art {
    background-position: 61% center;
    background-image:
      linear-gradient(90deg, #060d19eb, #061020a8 45%, #07102145),
      linear-gradient(0deg, #080e18 0%, transparent 40%),
      url("/art/alliance-hero.webp");
  }
  .hero-content {
    padding-top: 65px;
  }
  .hero h1 {
    font-size: 64px;
  }
  .hero-eyebrow {
    font-size: 10px;
  }
  .hero-description {
    font-size: 14px;
  }
  .hero-bottom {
    margin-top: 45px;
  }
  .launch-strip .wrap {
    flex-wrap: wrap;
    padding: 21px 0;
    gap: 17px;
  }
  .launch-strip .wrap > div {
    flex: 1;
    min-width: 330px;
  }
  .launch-strip strong {
    font-size: 22px;
  }
  .launch-strip a {
    margin-left: 58px;
  }
  .section {
    padding-block: 50px;
  }
  .section-heading h2 {
    font-size: 37px;
  }
  .raid-grid {
    gap: 15px;
  }
  .raid-art {
    height: 150px;
  }
  .raid-card-body {
    padding: 18px 15px 0;
  }
  .raid-card-body h3 {
    font-size: 23px;
  }
  .raid-card-bottom {
    flex-wrap: wrap;
    gap: 9px;
  }
  .raid-card-body p {
    font-size: 14px;
    line-height: 1.7;
  }
  .guild-story {
    padding: 45px 0;
  }
  .story-grid {
    gap: 30px;
    grid-template-columns: 1fr 1.1fr;
  }
  .story-visual {
    padding: 25px;
    min-height: 390px;
  }
  .story-visual > p {
    font-size: 38px;
  }
  .story-coordinate {
    left: 25px;
    font-size: 12px;
  }
  .story-copy h2 {
    font-size: 39px;
  }
  .story-copy > p:not(.eyebrow) {
    font-size: 11px;
  }
  .story-copy .eyebrow {
    font-size: 10px;
  }
  .values-list > div {
    font-size: 12px;
    gap: 10px;
  }
  .values-list strong {
    font-size: 12px;
  }
  .community-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .community-grid .section-heading h2 {
    font-size: 37px;
  }
  .discord-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 25px;
  }
  .discord-card > svg {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 8px;
  }
  .discord-card .eyebrow {
    grid-column: 1;
  }
  .discord-card h2 {
    grid-column: 1;
    font-size: 36px;
  }
  .discord-card > p:not(.eyebrow) {
    grid-column: 1;
  }
  .discord-features {
    grid-column: 2;
    grid-row: 2/5;
    align-content: center;
    margin: 0;
    font-size: 12px;
    gap: 20px;
  }
  .discord-card .button {
    grid-column: 2;
    grid-row: 5;
    align-self: end;
  }
  .recruit-banner {
    margin-bottom: 50px;
    padding: 28px 30px;
  }
  .recruit-banner h2 {
    font-size: 37px;
  }
  .footer-main {
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 30px;
  }
  .footer-discord {
    grid-column: 1/-1;
    display: none;
  }
  .footer-bottom {
    flex-wrap: wrap;
    font-size: 12px;
    gap: 12px;
  }
  .page-shell {
    padding-top: 39px;
    padding-bottom: 50px;
  }
  .page-intro h1 {
    font-size: 48px;
  }
  .page-intro {
    gap: 20px;
    align-items: flex-start;
  }
  .page-intro .button {
    margin-top: 8px;
  }
  .event-row {
    padding: 18px;
    gap: 16px;
  }
  .event-thumb {
    width: 75px;
    height: 76px;
  }
  .event-title h2 {
    font-size: 26px;
  }
  .event-capacity {
    width: 90px;
  }
  .info-strip {
    font-size: 12px;
  }
  .info-strip .muted {
    display: none;
  }
  .forum-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .forum-sidebar {
    display: flex;
    overflow-x: auto;
    gap: 4px;
    padding: 8px;
  }
  .forum-sidebar > .eyebrow,
  .forum-guidelines {
    display: none;
  }
  .forum-sidebar > button {
    width: auto;
    min-width: max-content;
    padding: 10px;
  }
  .forum-sidebar > button > small {
    margin-left: 3px;
  }
  .thread-row {
    padding: 22px 18px;
  }
  .character-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .roster-summary {
    gap: 11px;
  }
  .roster-summary > button {
    padding: 18px 14px;
    gap: 12px;
  }
  .roster-summary > button > svg {
    width: 20px;
  }
  .roster-summary strong {
    font-size: 28px;
  }
  .roster-summary span {
    font-size: 12px;
  }
  .about-hero > div:first-child {
    padding: 30px;
  }
  .about-hero h2 {
    font-size: 41px;
  }
  .about-art {
    min-height: 450px;
  }
  .values-grid {
    gap: 23px;
  }
  .values-grid h3 {
    font-size: 13px;
  }
  .milestone-grid {
    gap: 15px;
  }
  .milestone-grid article {
    padding: 20px;
  }
  .milestone-grid h3 {
    font-size: 25px;
  }
  .about-facts {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  .join-grid {
    gap: 30px;
    grid-template-columns: 1fr 1.1fr;
  }
  .join-visual {
    padding: 28px;
    min-height: 610px;
  }
  .join-visual h2 {
    font-size: 45px;
  }
  .join-visual h2 em {
    font-size: 35px;
  }
  .join-copy > h2 {
    font-size: 35px;
  }
  .brand-wordmark > span {
    font-size: 28px;
  }
  .palette {
    gap: 10px;
  }
  .palette strong {
    font-size: 12px;
  }
  .art-grid {
    gap: 14px;
  }
  .art-grid a > div {
    flex-direction: column;
    font-size: 12px;
  }
  .officer-stats {
    gap: 15px;
  }
  .officer-stats > article {
    padding: 20px;
  }
  .officer-stats strong {
    font-size: 25px;
  }
  .officer-panels {
    grid-template-columns: 1fr;
  }
  .modal-body {
    padding: 20px;
  }
  .detail-summary > span:last-child {
    margin-left: 0;
  }
  .detail-meta {
    gap: 12px;
  }
  .calendar-cell {
    min-height: 100px;
    padding: 7px;
  }
  .calendar-cell button {
    font-size: 12px;
    padding: 5px;
  }
  .calendar-cell button > span {
    font-size: 12px;
  }
}
@media (max-width: 560px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .wordmark {
    font-size: 15px;
    gap: 8px;
  }
  .wordmark small {
    font-size: 10px;
    letter-spacing: 0.12em;
  }
  .crest-small {
    width: 28px;
    height: 34px;
  }
  .account-menu summary > svg {
    display: none;
  }
  .nav-actions {
    gap: 5px;
  }
  .preview-banner {
    padding: 6px 15px;
    font-size: 12px;
  }
  .preview-banner .status-dot {
    display: none;
  }
  .hero {
    min-height: 625px;
    align-items: flex-start;
  }
  .hero-content {
    padding: 58px 0 32px;
  }
  .hero h1 {
    font-size: 53px;
    max-width: 360px;
  }
  .hero-eyebrow {
    max-width: 280px;
    font-size: 10px;
    line-height: 1.9;
    margin-bottom: 25px;
    letter-spacing: 0.1em;
  }
  .hero-eyebrow .tiny-rule {
    width: 18px;
    margin-right: 8px;
  }
  .hero-art {
    background-position: 64% center;
    background-image:
      linear-gradient(90deg, #061020e5, #061020b8 45%, #07102160),
      linear-gradient(0deg, #080e18 0%, transparent 50%),
      url("/art/alliance-hero.webp");
  }
  .hero-description {
    font-size: 13px;
    margin-top: 24px;
  }
  .hero-buttons {
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 27px;
  }
  .hero-buttons .button {
    font-size: 12px;
    padding: 11px 16px;
    min-height: 44px;
    gap: 8px;
  }
  .hero-buttons .button svg {
    width: 15px;
  }
  .hero-bottom {
    margin-top: 53px;
    font-size: 10px;
    letter-spacing: 0.12em;
  }
  .hero-bottom small {
    font-size: 12px;
  }
  .hero-caption {
    font-size: 10px;
    bottom: 13px;
    right: 15px;
  }
  .launch-strip .wrap > div {
    min-width: 0;
    flex-basis: 100%;
    gap: 13px;
  }
  .launch-strip strong {
    font-size: 22px;
  }
  .launch-mark {
    width: 35px;
    height: 38px;
  }
  .launch-strip .eyebrow {
    font-size: 10px;
  }
  .launch-time {
    font-size: 12px;
    margin-left: 48px;
  }
  .launch-strip a {
    font-size: 12px;
    margin-left: 48px;
    gap: 10px;
  }
  .launch-strip .wrap {
    gap: 10px;
    padding: 19px 0;
  }
  .section {
    padding-block: 38px;
  }
  .section-heading {
    align-items: flex-start;
    margin-bottom: 22px;
  }
  .section-heading h2 {
    font-size: 33px;
    max-width: 220px;
  }
  .section-heading .eyebrow {
    font-size: 10px;
  }
  .section-heading .text-link {
    font-size: 12px;
    gap: 5px;
    white-space: normal;
    padding-top: 27px;
  }
  .section-heading .text-link svg {
    width: 14px;
  }
  .raid-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .raid-art {
    height: 185px;
  }
  .raid-card-body {
    padding: 20px 20px 0;
  }
  .raid-card-body h3 {
    font-size: 28px;
  }
  .raid-card-body p {
    font-size: 14px;
  }
  .raid-card-body > .eyebrow {
    font-size: 10px;
  }
  .raid-card-bottom {
    font-size: 12px;
    flex-wrap: nowrap;
    margin-top: 19px;
  }
  .raid-card-bottom svg {
    width: 14px;
  }
  .story-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .story-visual {
    min-height: 340px;
    padding: 30px;
  }
  .story-visual > p {
    font-size: 44px;
  }
  .story-visual .crest {
    margin-bottom: 22px;
  }
  .story-coordinate {
    left: 30px;
    font-size: 12px;
  }
  .story-copy h2 {
    font-size: 42px;
  }
  .story-copy > p:not(.eyebrow) {
    font-size: 12px;
  }
  .story-copy .eyebrow {
    font-size: 10px;
  }
  .values-list > div {
    font-size: 12px;
    gap: 15px;
  }
  .values-list strong {
    font-size: 12px;
  }
  .community-grid {
    gap: 32px;
  }
  .community-grid .section-heading h2 {
    font-size: 32px;
  }
  .community-grid .section-heading {
    flex-wrap: nowrap;
    gap: 12px;
  }
  .community-grid .section-heading .text-link {
    font-size: 12px;
    max-width: 90px;
    white-space: normal;
  }
  .home-thread {
    gap: 12px;
    padding: 20px 0;
  }
  .home-thread h3 {
    font-size: 12px;
    line-height: 1.65;
  }
  .thread-symbol {
    width: 35px;
    height: 35px;
  }
  .home-thread p {
    font-size: 14px;
  }
  .reply-count {
    font-size: 12px;
    gap: 4px;
  }
  .discord-card {
    display: block;
    padding: 28px;
  }
  .discord-card > svg {
    margin-bottom: 19px;
  }
  .discord-card h2 {
    font-size: 38px;
  }
  .discord-card > p:not(.eyebrow) {
    font-size: 12px;
  }
  .discord-features {
    font-size: 12px;
    margin: 25px 0;
    gap: 15px;
  }
  .recruit-banner {
    padding: 25px;
    align-items: flex-start;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
  }
  .recruit-banner h2 {
    font-size: 39px;
  }
  .recruit-banner .eyebrow {
    font-size: 10px;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding-bottom: 30px;
  }
  .footer-main > div:first-child {
    grid-column: 1/-1;
  }
  .footer-main > div:first-child p {
    margin-top: 12px;
  }
  .footer-main .eyebrow {
    font-size: 10px;
  }
  .footer-main a:not(.wordmark) {
    font-size: 12px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 11px;
  }
  .footer-bottom > span:last-child {
    font-size: 12px;
    line-height: 1.8;
  }
  .site-footer {
    padding-top: 33px;
  }
  .page-shell {
    padding-top: 30px;
    padding-bottom: 40px;
  }
  .page-intro {
    display: block;
    margin-bottom: 28px;
  }
  .page-intro h1 {
    font-size: 43px;
    margin-top: 12px;
  }
  .page-intro .eyebrow {
    font-size: 10px;
  }
  .page-intro > div > p:not(.eyebrow) {
    font-size: 11px;
  }
  .page-intro > .button {
    margin-top: 20px;
    font-size: 12px;
    min-height: 40px;
  }
  .info-strip {
    padding: 13px;
    font-size: 12px;
    gap: 9px;
    margin-bottom: 21px;
  }
  .info-strip > span {
    flex: 1;
  }
  .info-strip > svg {
    width: 16px;
  }
  .raid-toolbar {
    gap: 10px;
    margin-bottom: 20px;
  }
  .raid-toolbar .segmented {
    flex-shrink: 0;
  }
  .segmented button {
    font-size: 12px;
    padding: 6px 9px;
    min-height: 30px;
  }
  .segmented button svg {
    width: 13px;
  }
  .raid-toolbar .search-field {
    flex-basis: calc(100% - 160px);
    min-width: 120px;
    min-height: 37px;
    padding-inline: 10px;
  }
  .raid-toolbar .search-field input {
    font-size: 12px;
    padding-block: 7px;
    min-height: 35px;
  }
  .raid-toolbar > label:not(.search-field):not(.checkbox-label) {
    max-width: 180px;
    flex: 1;
  }
  .raid-toolbar select {
    font-size: 12px;
    min-height: 36px;
    padding: 7px;
  }
  .raid-toolbar .checkbox-label {
    font-size: 12px;
  }
  .event-row {
    padding: 16px 12px;
    gap: 12px;
  }
  .event-thumb {
    display: none;
  }
  .event-date {
    width: 36px;
  }
  .event-date strong {
    font-size: 31px;
  }
  .event-date > span {
    font-size: 12px;
  }
  .event-date small {
    font-size: 12px;
  }
  .event-title > .eyebrow {
    font-size: 10px;
    letter-spacing: 0.06em;
  }
  .event-title h2 {
    font-size: 24px;
    margin: 7px 0;
  }
  .event-title > span:not(.eyebrow) {
    font-size: 10px;
  }
  .event-title svg {
    width: 11px;
  }
  .event-capacity {
    width: 60px;
  }
  .event-capacity > span {
    font-size: 12px;
    gap: 3px;
  }
  .event-capacity > span svg {
    width: 12px;
  }
  .event-capacity small {
    font-size: 12px;
  }
  .capacity-track {
    width: 58px;
  }
  .raid-bottom-callout {
    gap: 12px;
    padding: 24px 4px;
    align-items: flex-start;
  }
  .raid-bottom-callout > svg {
    width: 22px;
  }
  .raid-bottom-callout p strong {
    font-size: 14px;
  }
  .raid-bottom-callout p span {
    font-size: 14px;
    line-height: 1.8;
  }
  .calendar-header {
    padding: 16px 12px;
  }
  .calendar-header h2 {
    font-size: 24px;
  }
  .calendar-header > div {
    gap: 2px;
  }
  .calendar-header .button {
    font-size: 12px;
    padding: 5px 8px;
    min-height: 30px;
  }
  .calendar-weekday {
    font-size: 12px;
  }
  .calendar-cell {
    padding: 5px 3px;
    min-height: 92px;
    font-size: 12px;
  }
  .calendar-cell button {
    padding: 4px 3px;
    font-size: 12px;
    line-height: 1.5;
  }
  .calendar-cell button > span {
    font-size: 12px;
  }
  .modal {
    width: calc(100% - 20px);
    max-height: 92dvh;
  }
  .modal-header {
    padding: 15px 17px;
  }
  .modal-body {
    padding: 17px;
  }
  .detail-art {
    min-height: 180px;
    padding: 65px 19px 20px;
  }
  .detail-art h2 {
    font-size: 32px;
  }
  .detail-art > .badge {
    left: 19px;
    top: 16px;
    font-size: 10px;
  }
  .detail-art p {
    font-size: 14px;
  }
  .detail-meta {
    font-size: 12px;
    padding: 17px 0;
    gap: 14px;
  }
  .detail-meta .text-link {
    font-size: 12px;
  }
  .detail-meta > span {
    gap: 6px;
  }
  .detail-meta > span svg {
    width: 14px;
  }
  .prose-text {
    font-size: 14px;
  }
  .detail-summary {
    gap: 12px;
    font-size: 12px;
    padding: 12px;
  }
  .detail-summary svg {
    width: 14px;
  }
  .detail-summary > span:last-child {
    font-size: 12px;
    flex-basis: 100%;
  }
  .tabs {
    gap: 20px;
  }
  .tabs button {
    font-size: 12px;
    padding: 12px 0;
  }
  .attendance-options {
    gap: 7px;
  }
  .attendance-choice {
    padding: 18px 5px 13px;
    font-size: 12px;
    gap: 8px;
  }
  .attendance-choice small {
    font-size: 12px;
    text-align: center;
    line-height: 1.6;
  }
  .attendance-choice > input {
    width: 10px;
    height: 10px;
    top: 6px;
    right: 6px;
  }
  .attendance-choice > svg {
    width: 17px;
  }
  .form-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .form-footer .button {
    width: 100%;
    min-height: 44px;
    font-size: 12px;
  }
  .form-footer p {
    font-size: 14px;
  }
  .stack-form {
    gap: 17px;
  }
  .form-grid {
    gap: 13px;
  }
  label {
    font-size: 12px;
  }
  input,
  select,
  textarea {
    font-size: 12px;
  }
  .form-error {
    font-size: 12px;
  }
  .forum-sidebar {
    margin-inline: -2px;
  }
  .forum-sidebar > button {
    font-size: 12px;
    gap: 7px;
  }
  .forum-sidebar > button > svg {
    width: 15px;
  }
  .forum-sidebar > button > small {
    font-size: 12px;
  }
  .forum-toolbar {
    gap: 14px;
    flex-wrap: wrap;
  }
  .forum-toolbar h2 {
    font-size: 14px;
  }
  .forum-toolbar .search-field {
    max-width: none;
    min-width: 100%;
    min-height: 38px;
  }
  .forum-toolbar input {
    min-height: 35px;
    font-size: 12px;
  }
  .thread-row {
    gap: 12px;
    padding: 18px 13px;
  }
  .thread-avatar {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
  .thread-avatar svg {
    width: 17px;
  }
  .thread-row h3 {
    font-size: 12px;
    line-height: 1.65;
  }
  .thread-row p {
    font-size: 14px;
    gap: 6px;
  }
  .thread-labels > .eyebrow {
    font-size: 10px;
  }
  .thread-labels .mini-badge {
    font-size: 10px;
  }
  .thread-replies {
    min-width: 27px;
  }
  .thread-replies > svg {
    width: 13px;
  }
  .thread-replies strong {
    font-size: 12px;
  }
  .thread-replies small {
    font-size: 12px;
  }
  .thread-detail > h2 {
    font-size: 29px;
  }
  .post-body {
    font-size: 14px;
  }
  .post-author {
    gap: 9px;
  }
  .post-author .avatar {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }
  .post-author strong {
    font-size: 12px;
  }
  .post-author small {
    font-size: 12px;
  }
  .reply .post-body {
    padding-left: 0;
  }
  .moderation-bar {
    gap: 13px;
  }
  .moderation-bar > span {
    flex-basis: 100%;
  }
  .moderation-bar label {
    max-width: 150px;
    margin-left: 0;
  }
  .roster-summary {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 23px;
  }
  .roster-summary > button {
    padding: 18px;
    gap: 17px;
  }
  .roster-summary strong {
    font-size: 29px;
  }
  .roster-summary span {
    font-size: 12px;
  }
  .roster-toolbar {
    gap: 14px;
    flex-wrap: wrap;
  }
  .roster-toolbar .tabs {
    flex-basis: 100%;
  }
  .roster-toolbar .search-field {
    max-width: none;
    min-height: 38px;
  }
  .roster-toolbar .search-field input {
    font-size: 12px;
    min-height: 35px;
  }
  .character-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .character-card {
    padding: 23px;
  }
  .character-card h2 {
    font-size: 32px;
  }
  .character-card-top {
    margin-bottom: 17px;
  }
  .roster-note {
    font-size: 12px;
    line-height: 1.8;
  }
  .about-hero {
    grid-template-columns: 1fr;
  }
  .about-hero > div:first-child {
    padding: 27px;
  }
  .about-art {
    min-height: 250px;
    background-position: 70% center;
  }
  .about-hero h2 {
    font-size: 40px;
  }
  .about-hero p {
    font-size: 14px;
  }
  .values-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 32px;
  }
  .values-grid svg {
    margin-bottom: 12px;
  }
  .values-grid h3 {
    font-size: 14px;
  }
  .values-grid p {
    font-size: 14px;
    max-width: 350px;
  }
  .launch-plan {
    padding-top: 35px;
  }
  .launch-plan > h2 {
    font-size: 36px;
  }
  .launch-plan > .eyebrow {
    font-size: 10px;
  }
  .milestone-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .milestone-grid article {
    padding: 24px;
  }
  .milestone-grid article > span {
    margin-bottom: 14px;
  }
  .milestone-grid h3 {
    font-size: 29px;
  }
  .launch-plan > .small {
    font-size: 12px;
    line-height: 1.9;
  }
  .about-facts {
    gap: 23px 15px;
    margin-top: 28px;
  }
  .about-facts strong {
    font-size: 12px;
  }
  .about-facts svg {
    width: 18px;
  }
  .join-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .join-visual {
    min-height: 420px;
    padding: 28px;
  }
  .join-visual h2 {
    font-size: 45px;
    padding-top: 30px;
  }
  .join-visual h2 em {
    font-size: 36px;
  }
  .join-visual > p {
    font-size: 14px;
    margin-top: 20px;
  }
  .join-visual .crest {
    height: 61px;
    width: 52px;
  }
  .join-copy > h2 {
    font-size: 36px;
  }
  .join-copy > p:not(.eyebrow) {
    font-size: 11px;
  }
  .join-expectations > div {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .join-expectations h2 {
    font-size: 32px;
  }
  .brand-specimens {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .brand-specimens > div {
    min-height: 270px;
  }
  .brand-wordmark > span {
    font-size: 28px;
  }
  .brand-wordmark > p {
    font-size: 14px;
  }
  .brand-section {
    margin-top: 33px;
  }
  .brand-section > h2 {
    font-size: 33px;
  }
  .palette {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px 12px;
  }
  .palette > div > span {
    height: 70px;
  }
  .palette strong {
    font-size: 12px;
  }
  .art-grid {
    grid-template-columns: 1fr;
    gap: 19px;
  }
  .art-grid a > div {
    flex-direction: row;
    font-size: 12px;
  }
  .brand-section > .small {
    font-size: 12px;
    line-height: 1.8;
  }
  .officer-stats {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .officer-stats > article {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 7px 18px;
    padding: 20px;
  }
  .officer-stats > article > svg {
    grid-row: 1/3;
    align-self: center;
  }
  .officer-stats strong {
    font-size: 27px;
  }
  .officer-stats span {
    font-size: 12px;
  }
  .officer-actions {
    gap: 10px;
  }
  .officer-actions .button {
    font-size: 12px;
    padding: 10px 13px;
    min-height: 40px;
  }
  .panel {
    padding: 20px;
  }
  .empty-state {
    padding: 35px 20px;
  }
  .empty-state h3 {
    font-size: 14px;
  }
  .empty-state p {
    font-size: 14px;
  }
  .toast {
    right: 16px;
    bottom: 16px;
    font-size: 12px;
  }
  .callout {
    padding: 21px;
    gap: 17px;
  }
  .callout > .button {
    width: 100%;
    font-size: 12px;
  }
  .callout h3 {
    font-size: 13px;
  }
  .callout p {
    font-size: 14px;
  }
  .policy-copy {
    font-size: 14px;
  }
  .policy-copy h2 {
    font-size: 27px;
  }
  .not-found h1 {
    font-size: 42px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  font-size: 12px;
  color: var(--muted);
}
@media (max-width: 560px) {
  .pagination {
    flex-wrap: wrap;
    font-size: 12px;
  }
  .pagination .button {
    font-size: 12px;
    padding: 6px 9px;
    gap: 5px;
    min-height: 32px;
  }
}
.event-editor {
  padding: 22px;
  margin: 20px 0;
  border: 1px solid #38485e;
  border-radius: 4px;
  background: #111e30;
}
@media (max-width: 560px) {
  .event-editor {
    padding: 16px 12px;
  }
}
.brand-downloads {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 24px;
}
.brand-downloads > a {
  display: flex;
  flex-direction: column;
  border: 1px solid #3a4860;
  background: #101c2d;
  border-radius: 4px;
  overflow: hidden;
}
.brand-downloads img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 16/9;
}
.brand-downloads > a:last-child > img {
  object-fit: contain;
}
.brand-downloads span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 17px;
  font-size: 12px;
  color: var(--gold-light);
}
@media (max-width: 560px) {
  .brand-downloads {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* Preserve legibility and touch targets on narrow screens. */
@media (max-width: 560px) {
  .site-header .wordmark small {
    display: none;
  }
  .nav-wrap {
    gap: 12px;
  }
  input,
  select,
  textarea,
  .search-field input,
  .roster-toolbar .search-field input {
    font-size: 16px;
  }
  .button,
  .icon-button,
  .mobile-toggle,
  button,
  .account-menu summary,
  .tabs button,
  .segmented button,
  .forum-sidebar > button {
    min-height: 44px;
  }
  .icon-button,
  .mobile-toggle {
    min-width: 44px;
  }
  .preview-banner {
    align-items: flex-start;
    gap: 12px;
  }
  .preview-banner > span {
    line-height: 1.6;
  }
  .preview-banner > button {
    flex-shrink: 0;
    padding-block: 8px;
  }
  .event-title,
  .thread-main {
    min-width: 0;
  }
  .event-title > .eyebrow {
    white-space: normal;
  }
  .event-capacity {
    width: 64px;
    flex-shrink: 0;
  }
  .attendance-choice small {
    font-size: 11px;
  }
  .calendar-panel {
    overflow-x: auto;
  }
  .calendar-header {
    min-width: 350px;
  }
  .calendar-grid {
    min-width: 700px;
  }
  .calendar-cell button {
    min-height: 44px;
    font-size: 12px;
  }
  .calendar-cell button > span {
    font-size: 11px;
  }
  .roster-table {
    min-width: 620px;
  }
  .brand-wordmark > span {
    font-size: clamp(24px, 7vw, 36px);
    letter-spacing: 0.06em;
  }
  .account-menu .dropdown {
    max-width: calc(100vw - 30px);
  }
}
