html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  background: #f4f7f4;
  color: #172019;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: no-preference) {
  body {
    animation: pageFadeIn 360ms ease-out both;
  }

  body.page-exiting {
    opacity: 0;
    transition: opacity 220ms ease-in;
  }
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.navbar-brand {
  font-weight: 700;
}

.nav-logout-form {
  margin: 0;
}

.navbar-actions {
  align-items: center;
  gap: 0.35rem;
}

.navbar .btn-panel-nav,
.navbar .btn-panel-nav:visited {
  --bs-btn-active-color: #ffffff;
  --bs-btn-color: #ffffff;
  --bs-btn-hover-color: #ffffff;
  background: #2f7d32;
  border: 1px solid #2f7d32;
  border-radius: 6px;
  box-shadow: 0 2px 0 rgba(23, 32, 25, 0.16);
  color: #ffffff !important;
  font-weight: 700;
  line-height: 1.2;
  padding: 0.45rem 0.7rem;
  text-decoration: none;
}

.navbar .btn-panel-nav:hover,
.navbar .btn-panel-nav:focus,
.navbar .btn-panel-nav:active {
  background: #256728;
  border-color: #256728;
  color: #ffffff !important;
}

.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-left: 1rem;
}

.site-banner-region {
  display: none;
}

.site-banner-region.has-banners {
  --site-banner-height: clamp(4.35rem, 4.8vw, 4.85rem);
  --site-banner-width: clamp(28.5rem, 43vw, 30rem);

  display: grid;
  gap: 0.5rem;
  left: 0;
  max-width: calc(100vw - 0.75rem);
  padding: 0;
  pointer-events: none;
  position: fixed;
  top: 5.35rem;
  width: min(var(--site-banner-width), calc(100vw - 0.75rem));
  z-index: 1040;
}

.site-banner {
  align-items: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 250, 238, 0.96)),
    linear-gradient(90deg, rgba(236, 255, 231, 0.96), rgba(255, 255, 255, 0.96));
  border: 2px solid #25331f;
  border-left: 10px solid #5fd34f;
  border-radius: 0 8px 8px 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -4px 0 rgba(23, 32, 25, 0.08),
    6px 6px 0 rgba(23, 32, 25, 0.28),
    0 16px 42px rgba(23, 32, 25, 0.18);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  max-width: min(34rem, calc(100vw - 1rem));
  min-width: 0;
  overflow: hidden;
  padding: 0.85rem 1rem 0.85rem 1.25rem;
  pointer-events: auto;
  position: relative;
  width: min(34rem, calc(100vw - 1rem));
}

.site-banner::before {
  background:
    repeating-linear-gradient(90deg, #f6e94d 0 14px, #fff59d 14px 28px),
    #62c64f;
  content: "";
  height: 7px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.site-banner::after {
  background:
    linear-gradient(#6aa84f 0 0) 4px 8px / 10px 10px,
    linear-gradient(#3d9a37 0 0) 18px 18px / 10px 10px,
    linear-gradient(#7a5231 0 0) 32px 8px / 10px 10px,
    linear-gradient(#5c3a24 0 0) 46px 20px / 10px 10px,
    linear-gradient(#2b3a22 0 0) 60px 12px / 10px 10px;
  background-repeat: no-repeat;
  bottom: 5px;
  content: "";
  opacity: 0.18;
  position: absolute;
  right: 0;
  top: 10px;
  width: 78px;
}

@media (prefers-reduced-motion: no-preference) {
  .site-banner {
    animation: siteBannerSlideIn 220ms ease-out both;
  }
}

@keyframes siteBannerSlideIn {
  from {
    opacity: 0;
    transform: translateX(-1rem);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.site-banner-copy {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
  padding-left: 0.35rem;
  position: relative;
  z-index: 1;
}

.site-banner-copy::before {
  background:
    linear-gradient(#5fd34f 0 0) 0 0 / 8px 8px,
    linear-gradient(#3d9a37 0 0) 8px 8px / 8px 8px,
    linear-gradient(#25331f 0 0) 16px 0 / 8px 8px;
  background-repeat: no-repeat;
  content: "";
  height: 16px;
  left: -0.9rem;
  position: absolute;
  top: 0.2rem;
  width: 24px;
}

.site-banner-copy strong {
  color: #132011;
  display: inline-flex;
  gap: 0.35rem;
  font-weight: 850;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.site-banner-copy strong::after {
  background: #f0c13d;
  border: 1px solid rgba(37, 51, 31, 0.45);
  box-shadow: inset 0 -2px 0 rgba(37, 51, 31, 0.18);
  content: "";
  display: inline-block;
  height: 0.75rem;
  margin-top: 0.18rem;
  width: 0.75rem;
}

.site-banner-copy span {
  color: #344536;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.site-banner-link {
  background:
    linear-gradient(180deg, #4f7343, #334f2e);
  border: 2px solid #172019;
  border-radius: 4px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -3px 0 rgba(23, 32, 25, 0.28),
    3px 3px 0 rgba(23, 32, 25, 0.22);
  color: #ffffff;
  flex: 0 0 auto;
  font-weight: 800;
  padding: 0.45rem 0.7rem;
  position: relative;
  text-decoration: none;
  z-index: 1;
}

.site-banner-link:hover,
.site-banner-link:focus {
  background:
    linear-gradient(180deg, #2f7d32, #256728);
  border-color: #a8e16d;
  color: #ffffff;
}

.site-banner.is-info {
  border-left-color: #4aa3df;
}

.site-banner.is-info::before {
  background: repeating-linear-gradient(90deg, #4aa3df 0 14px, #8fd3ff 14px 28px);
}

.site-banner.is-info .site-banner-copy::before {
  background:
    linear-gradient(#4aa3df 0 0) 0 0 / 8px 8px,
    linear-gradient(#2876ad 0 0) 8px 8px / 8px 8px,
    linear-gradient(#25331f 0 0) 16px 0 / 8px 8px;
  background-repeat: no-repeat;
}

.site-banner.is-success {
  border-left-color: #5fd34f;
}

.site-banner.is-success::before {
  background: repeating-linear-gradient(90deg, #62c64f 0 14px, #a8e16d 14px 28px);
}

.site-banner.is-warning {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 225, 0.96)),
    repeating-linear-gradient(45deg, rgba(199, 138, 32, 0.10) 0 10px, rgba(107, 69, 41, 0.05) 10px 20px);
  border-color: #5c431f;
  border-left-color: #f0c13d;
}

.site-banner.is-warning::before {
  background: repeating-linear-gradient(90deg, #f0c13d 0 14px, #fff176 14px 28px);
}

.site-banner.is-warning .site-banner-copy::before {
  background:
    linear-gradient(#f0c13d 0 0) 0 0 / 8px 8px,
    linear-gradient(#c78a20 0 0) 8px 8px / 8px 8px,
    linear-gradient(#25331f 0 0) 16px 0 / 8px 8px;
  background-repeat: no-repeat;
}

.site-banner.is-danger {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 236, 236, 0.96)),
    repeating-linear-gradient(45deg, rgba(201, 42, 42, 0.10) 0 10px, rgba(92, 36, 36, 0.05) 10px 20px);
  border-color: #612727;
  border-left-color: #df3d3d;
}

.site-banner.is-danger::before {
  background: repeating-linear-gradient(90deg, #df3d3d 0 14px, #ff8a80 14px 28px);
}

.site-banner.is-danger .site-banner-copy::before {
  background:
    linear-gradient(#df3d3d 0 0) 0 0 / 8px 8px,
    linear-gradient(#a82424 0 0) 8px 8px / 8px 8px,
    linear-gradient(#25331f 0 0) 16px 0 / 8px 8px;
  background-repeat: no-repeat;
}

.site-banner.is-info .site-banner-copy strong::after {
  background: #4aa3df;
}

.site-banner.is-success .site-banner-copy strong::after {
  background: #5fd34f;
}

.site-banner.is-danger .site-banner-copy strong::after {
  background: #df3d3d;
}

.site-banner,
.site-banner.is-info,
.site-banner.is-success,
.site-banner.is-warning,
.site-banner.is-danger {
  background:
    linear-gradient(90deg, rgba(47, 125, 50, 0.28), rgba(23, 32, 25, 0.96) 44%, rgba(8, 13, 10, 0.92) 100%),
    linear-gradient(180deg, rgba(32, 49, 38, 0.96), rgba(12, 19, 15, 0.96));
  border: 1px solid rgba(168, 225, 109, 0.52);
  border-left: 0;
  border-radius: 0 8px 8px 0;
  box-sizing: border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -2px 0 rgba(0, 0, 0, 0.24),
    0 8px 18px rgba(23, 32, 25, 0.22);
  gap: clamp(0.55rem, 1vw, 0.8rem);
  filter: none;
  height: auto;
  max-width: 100%;
  min-height: var(--site-banner-height);
  overflow: visible;
  padding: clamp(0.68rem, 0.9vw, 0.82rem) clamp(0.9rem, 1.25vw, 1.08rem) clamp(0.68rem, 0.9vw, 0.82rem) clamp(1.05rem, 1.5vw, 1.25rem);
  width: 100%;
}

.site-banner-copy::before,
.site-banner-copy strong::after {
  display: none;
}

.site-banner::before {
  background:
    linear-gradient(180deg, #a8e16d, #5fd34f 52%, #2f7d32);
  border-radius: 0 3px 3px 0;
  bottom: 0.55rem;
  box-shadow: 0 0 12px rgba(95, 211, 79, 0.28);
  content: "";
  display: block;
  left: 0;
  position: absolute;
  top: 0.55rem;
  width: 0.28rem;
}

.site-banner::after {
  background:
    linear-gradient(#a8e16d 0 0) 0 0 / 8px 8px,
    linear-gradient(#5fd34f 0 0) 10px 13px / 7px 7px,
    linear-gradient(rgba(255, 255, 255, 0.72) 0 0) 1px 28px / 6px 6px;
  background-repeat: no-repeat;
  content: "";
  display: block;
  height: 36px;
  opacity: 0.82;
  pointer-events: none;
  position: absolute;
  right: 0.48rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
}

.site-banner-copy {
  flex: 1 1 auto;
  max-width: none;
  padding-left: 0;
}

.site-banner-copy strong {
  color: #ffffff;
  font-size: clamp(0.76rem, 0.85vw, 0.82rem);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.38);
}

.site-banner-copy span {
  color: #edf7ec;
  font-size: clamp(0.78rem, 0.92vw, 0.88rem);
  line-height: 1.25;
  overflow-wrap: normal;
}

.site-banner-link {
  background:
    linear-gradient(180deg, #2f7d32, #256728);
  border-color: rgba(168, 225, 109, 0.7);
  border-radius: 5px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -2px 0 rgba(23, 32, 25, 0.24),
    0 0 0 1px rgba(168, 225, 109, 0.16);
  color: #ffffff;
  flex: 0 0 auto;
  font-size: clamp(0.72rem, 0.8vw, 0.82rem);
  line-height: 1.1;
  margin-left: auto;
  padding: clamp(0.36rem, 0.48vw, 0.44rem) clamp(0.56rem, 0.8vw, 0.72rem);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.42);
  white-space: nowrap;
}

.landing-hero {
  align-items: center;
  background: #0c1214;
  color: #ffffff;
  display: flex;
  height: 58vh;
  margin-left: calc(50% - 50vw);
  margin-top: -1rem;
  min-height: 420px;
  overflow: hidden;
  padding: 4rem max(1rem, calc((100vw - 1140px) / 2));
  position: relative;
  width: 100vw;
}

.landing-hero-media,
.landing-hero-slide {
  inset: 0;
  position: absolute;
}

.landing-hero-media {
  overflow: hidden;
}

.landing-hero-slide {
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 900ms ease, transform 6.5s ease;
  width: 100%;
}

.landing-hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .landing-hero-slide,
  .hero-rotator-dot {
    transition: none;
  }
}

.landing-hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 13, 10, 0.84) 0%, rgba(8, 13, 10, 0.62) 42%, rgba(8, 13, 10, 0.18) 100%),
    linear-gradient(0deg, rgba(8, 13, 10, 0.18), rgba(8, 13, 10, 0.18));
  inset: 0;
  position: absolute;
  z-index: 1;
}

.landing-hero-content {
  margin-left: auto;
  margin-right: auto;
  max-width: 660px;
  min-width: 0;
  position: relative;
  text-align: center;
  width: 100%;
  z-index: 2;
}

.landing-hero .eyebrow {
  color: #a8e16d;
}

.landing-hero h1 {
  font-size: 3.75rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 1rem;
}

.landing-hero .lead {
  color: #edf7ec;
  font-size: 1.25rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.hero-featured-game {
  align-items: baseline;
  display: flex;
  gap: 0.55rem;
  justify-content: center;
  margin-top: 1.5rem;
  min-height: 1.5rem;
}

.hero-featured-game span {
  color: #c9d3cd;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-featured-game strong {
  color: #ffffff;
  font-size: 0.95rem;
}

.hero-rotator-controls {
  bottom: 1.5rem;
  display: flex;
  gap: 0.5rem;
  position: absolute;
  right: max(1rem, calc((100vw - 1140px) / 2));
  z-index: 3;
}

.hero-rotator-dot {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  height: 0.75rem;
  padding: 0;
  transition: background-color 180ms ease, transform 180ms ease;
  width: 0.75rem;
}

.hero-rotator-dot:hover,
.hero-rotator-dot:focus,
.hero-rotator-dot.is-active {
  background: #a8e16d;
  border-color: #d9ffb0;
  transform: scale(1.2);
}

.btn-panel {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: #ffffff;
  font-weight: 700;
}

.btn-panel:hover,
.btn-panel:focus {
  background: #ffffff;
  border-color: #ffffff;
  color: #172019;
}

.landing-section {
  padding: 4rem 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 1.5rem;
  min-width: 0;
  text-align: center;
}

.section-heading > p:not(.eyebrow) {
  color: #4b5b50;
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0;
}

.section-heading h2,
.why-copy h2 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.15;
  overflow-wrap: break-word;
}

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

.games-section {
  padding-bottom: 3.5rem;
}

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

.game-card {
  --game-accent: #2f7d32;
  background: #172019;
  border: 1px solid #d9e1da;
  border-top: 5px solid var(--game-accent);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(23, 32, 25, 0.06);
  min-height: 176px;
  overflow: hidden;
  padding: 1.15rem;
  position: relative;
}

.game-card-art,
.game-card::after {
  inset: 0;
  position: absolute;
}

.game-card-art {
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.86;
  width: 100%;
}

.game-card::after {
  background: linear-gradient(180deg, rgba(8, 13, 10, 0.2), rgba(8, 13, 10, 0.88));
  content: "";
}

.game-card-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  min-width: 0;
  position: relative;
  text-align: center;
  z-index: 1;
}

.game-card h3 {
  color: #ffffff;
  font-size: 1.22rem;
  font-weight: 850;
  margin-bottom: 0.65rem;
}

.game-card p {
  color: #edf7ec;
  line-height: 1.55;
  margin: 0;
}

.game-card-minecraft {
  --game-accent: #2f7d32;
}

.game-card-squad {
  --game-accent: #3d647a;
}

.game-card-forest {
  --game-accent: #276859;
}

.game-card-rust {
  --game-accent: #a55332;
}

.game-card-palworld {
  --game-accent: #c85f70;
}

.game-card-unturned {
  --game-accent: #3976a8;
}

.game-card-dayz {
  --game-accent: #656b64;
}

.hosting-section {
  background-color: #172019;
  background-image:
    linear-gradient(90deg, rgba(8, 14, 10, 0.84), rgba(8, 14, 10, 0.66)),
    url("../images/kcwh-multigame-social-card.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin-left: calc(50% - 50vw);
  padding-left: max(1rem, calc((100vw - 1140px) / 2));
  padding-right: max(1rem, calc((100vw - 1140px) / 2));
  width: 100vw;
}

.hosting-section .section-heading h2 {
  color: #ffffff;
}

.hosting-section .section-heading > p:not(.eyebrow) {
  color: #dce8df;
}

.hosting-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(23, 32, 25, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 190px;
  padding: 1.25rem;
  text-align: center;
}

.hosting-card h3 {
  color: #172019;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 0.75rem;
}

.hosting-card p {
  color: #4b5b50;
  margin: 0;
}

.discord-section {
  background: #151619;
  border-top: 1px solid #323338;
  border-bottom: 1px solid #323338;
  color: #ffffff;
  isolation: isolate;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  padding-left: max(1rem, calc((100vw - 1140px) / 2));
  padding-right: max(1rem, calc((100vw - 1140px) / 2));
  padding-bottom: 3rem;
  padding-top: 3rem;
  position: relative;
  text-align: center;
  width: 100vw;
}

.discord-section::after {
  background: url("../images/discord-brand-cube.webp") center / contain no-repeat;
  bottom: -4rem;
  content: "";
  height: clamp(19rem, 34vw, 33rem);
  left: clamp(-2rem, 5vw, 7rem);
  opacity: 0.3;
  pointer-events: none;
  position: absolute;
  width: clamp(19rem, 34vw, 33rem);
  z-index: 0;
}

.discord-layout {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 7vw, 6rem);
  grid-template-columns: minmax(0, 1fr) 350px;
  margin: 0 auto;
  max-width: 900px;
  position: relative;
  z-index: 1;
}

.discord-section .discord-copy {
  margin: 0;
  max-width: 440px;
}

.discord-section .section-heading h2 {
  color: #ffffff;
}

.discord-section .section-heading > p:not(.eyebrow) {
  color: #d1ddd3;
}

.discord-join-button,
.discord-join-button:hover,
.discord-join-button:focus {
  background: #5865f2;
  border: 1px solid #5865f2;
  border-radius: 6px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  margin-top: 1.35rem;
  min-width: 12rem;
  padding: 0.75rem 1.5rem;
}

.discord-join-button:hover,
.discord-join-button:focus {
  background: #4752c4;
  border-color: #4752c4;
  color: #ffffff;
}

.discord-widget-shell {
  background: #1e1f22;
  border: 1px solid #303136;
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(23, 32, 25, 0.16);
  margin: 0 auto;
  max-width: 350px;
  overflow: hidden;
}

.discord-widget {
  border: 0;
  display: block;
  height: 500px;
  max-width: 100%;
  width: 350px;
}

.why-section {
  background: #ffffff;
  border-top: 1px solid #d9e1da;
  margin-left: calc(50% - 50vw);
  padding-left: max(1rem, calc((100vw - 1140px) / 2));
  padding-right: max(1rem, calc((100vw - 1140px) / 2));
  width: 100vw;
}

.why-layout {
  align-items: center;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  justify-items: center;
  max-width: 1140px;
}

.why-copy {
  max-width: 780px;
  text-align: center;
}

.why-copy p:not(.eyebrow) {
  color: #36443a;
  font-size: 1.08rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.why-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.personal-photo {
  margin: 0;
  text-align: center;
}

.personal-photo img {
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(23, 32, 25, 0.16);
  display: block;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.personal-photo figcaption {
  color: #516155;
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

.signup-shell {
  background: #0c1214;
  color: #ffffff;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  margin-left: calc(50% - 50vw);
  margin-top: -1rem;
  min-height: calc(100vh - 117px);
  overflow: hidden;
  padding: 4rem max(1rem, calc((100vw - 1140px) / 2));
  position: relative;
  width: 100vw;
}

.signup-background,
.signup-background-image,
.signup-background-overlay {
  inset: 0;
  position: absolute;
}

.signup-background {
  overflow: hidden;
  z-index: 0;
}

.signup-background-image {
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 520ms ease;
  width: 100%;
}

.signup-background-image.is-active {
  opacity: 1;
}

.signup-background-overlay {
  background: linear-gradient(90deg, rgba(8, 13, 10, 0.86) 0%, rgba(8, 13, 10, 0.58) 44%, rgba(8, 13, 10, 0.38) 100%);
}

.signup-copy,
.signup-panel {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .signup-background-image {
    transition: none;
  }
}

.signup-copy {
  border-left: 6px solid #a8e16d;
  min-width: 0;
  padding-left: 1.5rem;
}

.signup-copy .eyebrow {
  color: #a8e16d;
}

.eyebrow {
  color: #2f7d32;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.signup-copy h1,
.admin-panel h1,
.admin-test h1 {
  font-weight: 800;
  letter-spacing: 0;
}

.signup-copy h1 {
  color: #ffffff;
}

.signup-copy .lead {
  color: #edf7ec;
  max-width: 520px;
}

.signup-panel,
.admin-panel {
  background: #ffffff;
  border: 1px solid #d9e1da;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(23, 32, 25, 0.08);
  padding: 1.5rem;
}

.signup-panel {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  color: #172019;
  min-width: 0;
}

.form-label {
  font-weight: 650;
}

.form-control {
  border-color: #cbd7cc;
}

.game-fieldset {
  margin: 0;
  min-width: 0;
}

.game-fieldset legend {
  margin-bottom: 0.5rem;
}

.game-choice-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.signup-selection-panel {
  max-width: 38rem;
}

.signup-details-panel {
  max-width: 32rem;
}

.signup-selected-game {
  align-items: center;
  border-bottom: 1px solid #d9e1da;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
}

.signup-selected-game div {
  display: grid;
  gap: 0.15rem;
}

.signup-selected-game span {
  color: #5b6a60;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.signup-selected-game strong {
  color: #172019;
  font-size: 1.05rem;
}

.signup-selected-game a {
  color: #256728;
  font-size: 0.88rem;
  font-weight: 700;
}

.game-choice {
  align-items: flex-start;
  background: #f8fbf8;
  border: 1px solid #cbd7cc;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  gap: 0.65rem;
  min-width: 0;
  padding: 0.85rem;
}

.game-choice:has(input:checked) {
  background: #eef7ee;
  border-color: #2f7d32;
  box-shadow: 0 0 0 0.1rem rgba(47, 125, 50, 0.12);
}

.game-choice .form-check-input {
  flex: 0 0 auto;
  margin-top: 0.2rem;
}

.game-choice span {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.game-choice strong {
  font-size: 0.95rem;
  line-height: 1.2;
}

.game-choice small {
  color: #516155;
  font-size: 0.8rem;
  line-height: 1.35;
}

.terms-check {
  align-items: flex-start;
  display: flex;
  gap: 0.35rem;
}

.terms-check .form-check-input {
  flex: 0 0 auto;
  margin-top: 0.2rem;
}

.terms-check .form-check-label {
  line-height: 1.4;
}

.btn-primary {
  background: #2f7d32;
  border-color: #2f7d32;
  font-weight: 700;
}

.btn-primary:hover,
.btn-primary:focus {
  background: #256728;
  border-color: #256728;
}

.validation-summary ul {
  margin-bottom: 1rem;
}

.success-panel h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.success-panel dl {
  display: grid;
  gap: 0.5rem 1rem;
  grid-template-columns: max-content 1fr;
  margin: 0;
}

.success-panel dt {
  color: #516155;
}

.success-panel dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.success-note {
  background: #eef7ee;
  border: 1px solid #c8dfc9;
  border-radius: 8px;
  color: #27472a;
  font-weight: 650;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
}

.admin-shell {
  display: grid;
  min-height: calc(100vh - 180px);
  place-items: center;
  padding: 2rem 0;
}

.admin-panel {
  max-width: 420px;
  width: 100%;
}

.admin-test {
  padding: 2rem 0;
}

.admin-dashboard {
  padding: 2rem 0 4rem;
}

.admin-test-header {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.admin-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}

.admin-tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.admin-tab-nav a {
  background: #ffffff;
  border: 1px solid #cbd7cc;
  border-radius: 8px;
  color: #172019;
  font-weight: 800;
  padding: 0.55rem 0.85rem;
  text-decoration: none;
}

.admin-tab-nav a.is-active,
.admin-tab-nav a:hover,
.admin-tab-nav a:focus {
  background: #2f7d32;
  border-color: #2f7d32;
  color: #ffffff;
}

.admin-view-shell {
  display: grid;
  gap: 1.25rem;
}

.admin-view-tabs {
  background: #ffffff;
  border: 1px solid #d9e1da;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(23, 32, 25, 0.06);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.45rem;
}

.admin-view-tabs button {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #36443a;
  font-weight: 800;
  padding: 0.55rem 0.8rem;
}

.admin-view-tabs button.is-active,
.admin-view-tabs button:hover,
.admin-view-tabs button:focus {
  background: #2f7d32;
  border-color: #2f7d32;
  color: #ffffff;
}

.admin-view-panel {
  display: none;
}

.admin-view-panel.is-active {
  display: block;
}

.admin-section-heading {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.admin-section-heading h2 {
  font-size: 1.45rem;
  font-weight: 850;
  letter-spacing: 0;
  margin: 0;
}

.admin-config-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 1.25rem;
}

.admin-metric-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 1.25rem;
}

.admin-metric {
  background: #ffffff;
  border: 1px solid #d9e1da;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(23, 32, 25, 0.06);
  display: grid;
  gap: 0.25rem;
  min-width: 0;
  padding: 1rem;
}

.admin-metric span {
  color: #516155;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-metric strong {
  color: #172019;
  font-size: 1.9rem;
  line-height: 1;
}

.admin-metric small {
  color: #66736a;
  line-height: 1.35;
}

.admin-metric.is-warning {
  background: #fff8ec;
  border-color: #efd2a4;
}

.admin-metric.is-warning strong {
  color: #9a5b00;
}

.admin-metric.is-info {
  border-color: #c9d8ee;
}

.admin-status-card,
.admin-card {
  background: #ffffff;
  border: 1px solid #d9e1da;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(23, 32, 25, 0.06);
}

.admin-status-card {
  min-width: 0;
  padding: 1rem;
}

.admin-status-card span {
  color: #2f7d32;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-status-card.is-warning span {
  color: #a35d00;
}

.admin-status-card h2 {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0.25rem 0;
}

.admin-status-card p {
  color: #516155;
  margin: 0;
  overflow-wrap: anywhere;
}

.admin-status-card.is-ok {
  border-color: #c8dfc9;
}

.admin-status-card.is-warning {
  background: #fff8ec;
  border-color: #efd2a4;
}

.admin-dashboard-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
  margin-bottom: 1.25rem;
}

.admin-dashboard-grid-wide {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.admin-card {
  min-width: 0;
  padding: 1.25rem;
}

.admin-card-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.admin-card-header h2 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0;
}

.admin-block-form {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.admin-rule-form {
  border-top: 1px solid #d9e1da;
  padding-top: 1rem;
}

.admin-filter-form {
  align-items: end;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.admin-filter-actions {
  display: flex;
  gap: 0.5rem;
}

.admin-empty {
  color: #516155;
  margin: 0;
}

.admin-table {
  margin: 0;
  vertical-align: middle;
}

.admin-table th {
  color: #516155;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-table td {
  overflow-wrap: anywhere;
}

.admin-table tr.is-expired {
  opacity: 0.6;
}

.admin-table-action {
  text-align: right;
  white-space: nowrap;
}

.admin-row-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
}

.admin-row-actions form {
  margin: 0;
}

.admin-attempt-table {
  min-width: 1120px;
}

.admin-attempt-table-wrap {
  max-height: 620px;
}

.attempt-result {
  background: #eef7ee;
  border-radius: 999px;
  color: #27472a;
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.25rem 0.5rem;
  white-space: nowrap;
}

.attempt-result.validationfailed,
.attempt-result.blockedusername,
.attempt-result.blockedip,
.attempt-result.blockedemail,
.attempt-result.blockedemaildomain,
.attempt-result.tcadminfailed {
  background: #fff0f0;
  color: #9b1c1c;
}

.moderation-list {
  border-top: 1px solid #d9e1da;
  display: grid;
  gap: 0.75rem;
  padding-top: 1rem;
}

.moderation-list h3 {
  font-size: 1rem;
  font-weight: 800;
  margin: 0;
}

.suspicious-list {
  display: grid;
  gap: 0.75rem;
}

.suspicious-item {
  align-items: center;
  background: #f8fbf8;
  border: 1px solid #d9e1da;
  border-left: 5px solid #cbd7cc;
  border-radius: 8px;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  min-width: 0;
  padding: 0.85rem;
}

.suspicious-item.is-warning {
  background: #fff8ec;
  border-left-color: #c78a20;
}

.suspicious-item.is-danger {
  background: #fff0f0;
  border-left-color: #c92a2a;
}

.suspicious-item span {
  color: #516155;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.suspicious-item strong {
  display: block;
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.suspicious-item p {
  color: #516155;
  margin: 0.2rem 0 0;
}

.admin-audit-card {
  margin-top: 0;
}

.notification-rule-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 1.25rem;
}

.notification-rule-card {
  background: #ffffff;
  border: 1px solid #d9e1da;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(23, 32, 25, 0.06);
  min-width: 0;
  padding: 1rem;
}

.notification-rule-card.is-disabled {
  background: #f8fbf8;
}

.notification-rule-form,
.notification-add-form {
  display: grid;
  gap: 0.85rem;
}

.notification-rule-topline {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.notification-rule-topline > span {
  color: #516155;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.notification-toggle {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  gap: 0.45rem;
}

.notification-template-box {
  min-height: 9rem;
  resize: vertical;
}

.notification-token-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.notification-token-list code {
  background: #eef7ee;
  border: 1px solid #c8dfc9;
  border-radius: 6px;
  color: #27472a;
  font-size: 0.8rem;
  padding: 0.2rem 0.35rem;
}

.notification-rule-actions,
.notification-secondary-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.notification-secondary-actions {
  border-top: 1px solid #d9e1da;
  margin-top: 1rem;
  padding-top: 1rem;
}

.notification-secondary-actions form {
  margin: 0;
}

.notification-add-card {
  margin-bottom: 1.25rem;
}

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

.notification-add-toggle,
.notification-add-message,
.notification-add-tokens,
.notification-add-form .validation-summary,
.notification-add-form > button {
  grid-column: 1 / -1;
}

.banner-builder-card {
  margin-bottom: 1.25rem;
}

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

.game-catalog-layout {
  align-items: start;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.game-catalog-form {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.game-catalog-form .validation-summary,
.game-profile-full-width,
.game-profile-toggle,
.game-profile-toggles,
.game-catalog-form > button {
  grid-column: 1 / -1;
}

.game-profile-description {
  min-height: 5.5rem;
  resize: vertical;
}

.game-profile-toggles,
.game-profile-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.game-profile-actions form {
  display: inline-flex;
}

.admin-table-subtext {
  color: #5c6a60;
  display: block;
  font-size: 0.78rem;
  margin-top: 0.18rem;
}

.banner-publish-toggle,
.banner-message-field,
.banner-builder-form .validation-summary,
.banner-builder-form > button {
  grid-column: 1 / -1;
}

.banner-message-box {
  min-height: 6.5rem;
  resize: vertical;
}

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

.banner-admin-card {
  background: #ffffff;
  border: 1px solid #d9e1da;
  border-left: 6px solid #2f7d32;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(23, 32, 25, 0.06);
  min-width: 0;
  padding: 1rem;
}

.banner-admin-card.is-info {
  border-left-color: #2f6f9f;
}

.banner-admin-card.is-success {
  border-left-color: #2f7d32;
}

.banner-admin-card.is-warning {
  background: #fff8ec;
  border-color: #efd2a4;
  border-left-color: #c78a20;
}

.banner-admin-card.is-danger {
  background: #fff0f0;
  border-color: #efb0b0;
  border-left-color: #c92a2a;
}

.banner-admin-card.is-draft {
  opacity: 0.88;
}

.banner-card-status {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.banner-card-status span {
  background: #eef7ee;
  border: 1px solid #c8dfc9;
  border-radius: 999px;
  color: #27472a;
  font-size: 0.78rem;
  font-weight: 850;
  padding: 0.25rem 0.55rem;
  text-transform: uppercase;
}

.banner-card-status small {
  color: #516155;
  font-weight: 700;
}

.banner-edit-form {
  display: grid;
  gap: 0.85rem;
}

.banner-edit-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.banner-card-actions {
  display: flex;
  gap: 0.5rem;
}

.response-meta {
  background: #ffffff;
  border: 1px solid #d9e1da;
  border-radius: 8px;
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
  padding: 1rem;
}

.response-body {
  background: #101612;
  border-radius: 8px;
  color: #e7f4e8;
  max-height: 520px;
  overflow: auto;
  padding: 1rem;
  white-space: pre-wrap;
}

.content-page {
  background: #ffffff;
  border: 1px solid #d9e1da;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(23, 32, 25, 0.06);
  margin: 2rem auto 4rem;
  max-width: 900px;
  padding: 2rem;
}

.content-page h1 {
  font-size: 2.25rem;
  font-weight: 850;
  letter-spacing: 0;
  margin-bottom: 0.35rem;
}

.content-page h2 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0;
  margin-top: 1.75rem;
}

.content-page p {
  color: #36443a;
  line-height: 1.7;
}

.content-updated {
  color: #66736a;
  font-size: 0.95rem;
}

.contact-email {
  font-size: 1.2rem;
  font-weight: 800;
}

@media (max-width: 991.98px) {
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .admin-dashboard-grid,
  .admin-dashboard-grid-wide {
    grid-template-columns: 1fr;
  }

    .notification-rule-grid,
    .notification-add-form,
    .banner-builder-form,
    .game-catalog-form,
    .banner-card-grid {
      grid-template-columns: 1fr;
    }

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

@media (max-width: 767.98px) {
  .landing-hero {
    background-position: center right;
    height: 56vh;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    min-height: 390px;
    padding-bottom: 2.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 2.5rem;
    width: auto;
  }

  .landing-hero h1 {
    font-size: 2.25rem;
    max-width: 10ch;
  }

  .landing-hero .lead {
    font-size: 1.05rem;
  }

  .hero-rotator-controls {
    bottom: 1rem;
    right: 1rem;
  }

  .hero-featured-game {
    margin-top: 1rem;
  }

  .landing-section {
    padding: 2.5rem 0;
  }

  .section-heading h2,
  .why-copy h2 {
    font-size: 1.55rem;
  }

  .game-grid,
  .hosting-grid {
    grid-template-columns: 1fr;
  }

  .game-card,
  .hosting-card {
    min-height: auto;
  }

  .hosting-section {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    padding-left: 1rem;
    padding-right: 1rem;
    width: auto;
  }

  .discord-section {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    padding-left: 1rem;
    padding-right: 1rem;
    width: auto;
  }

  .discord-layout {
    grid-template-columns: 1fr;
  }

  .discord-section::after {
    left: 50%;
    opacity: 0.18;
    transform: translateX(-50%);
  }

  .why-section {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    padding-left: 1rem;
    padding-right: 1rem;
    width: auto;
  }

  .why-layout {
    grid-template-columns: 1fr;
  }

  .personal-photo {
    max-width: 28rem;
  }

  .signup-shell {
    box-sizing: border-box;
    grid-template-columns: 1fr;
    justify-items: center;
    margin-left: calc(50% - 50vw);
    margin-right: 0;
    min-height: auto;
    padding: 2rem 1rem;
    width: 100vw;
  }

  .signup-copy {
    border-left: 0;
    border-top: 6px solid #a8e16d;
    padding-left: 0;
    padding-top: 1rem;
  }

  .signup-copy,
  .signup-panel {
    max-width: 36rem;
    width: 100%;
  }

  .signup-copy h1 {
    font-size: 2.25rem;
    overflow-wrap: break-word;
  }

  .game-choice-grid {
    grid-template-columns: 1fr;
  }

  .admin-test-header {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-header-actions {
    justify-content: flex-start;
  }

  .admin-config-grid,
  .admin-metric-grid,
  .admin-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .admin-filter-form {
    grid-template-columns: 1fr;
  }

  .banner-edit-grid {
    grid-template-columns: 1fr;
  }

  .suspicious-item {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-row-actions {
    justify-content: flex-start;
  }

  .site-banner-region.has-banners {
    --site-banner-height: clamp(4.35rem, 10vw, 4.9rem);
    --site-banner-width: min(30rem, calc(100vw - 0.75rem));

    max-width: calc(100vw - 0.75rem);
    top: 5.35rem;
  }

  .site-banner {
    align-items: center;
    flex-direction: row;
    height: auto;
    max-width: 100%;
    min-height: var(--site-banner-height);
    padding: 0.68rem 0.9rem 0.68rem 1.05rem;
    width: 100%;
  }

  .site-banner-link {
    align-self: center;
    text-align: center;
    white-space: nowrap;
  }

  .footer-links {
    display: flex;
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .navbar-actions {
    align-items: flex-start;
    gap: 0.25rem;
    margin-top: 0.5rem;
  }

  .content-page {
    margin: 1rem auto 2rem;
    padding: 1.25rem;
  }

  .content-page h1 {
    font-size: 1.85rem;
  }
}

@media (max-width: 575.98px) {
  .site-banner-region.has-banners {
    --site-banner-height: clamp(4.45rem, 17vw, 5.1rem);
    --site-banner-width: calc(100vw - 0.75rem);
    top: 3.55rem;
  }

  .site-banner {
    gap: 0.48rem;
    padding: 0.62rem 0.74rem 0.62rem 0.92rem;
  }

  .site-banner-copy {
    gap: 0.08rem;
    max-width: 100%;
  }

  .site-banner-copy strong {
    font-size: 0.7rem;
  }

  .site-banner-copy span {
    font-size: 0.72rem;
    line-height: 1.18;
  }

  .site-banner-link {
    font-size: 0.68rem;
    padding: 0.28rem 0.38rem;
  }

  .landing-hero-content,
  .section-heading,
  .hosting-grid,
  .why-layout,
  .why-copy {
    max-width: 22.5rem;
    width: 100%;
  }

  .landing-hero .lead,
  .signup-copy .lead,
  .hosting-card p,
  .why-copy p:not(.eyebrow) {
    overflow-wrap: break-word;
  }

  .signup-copy,
  .signup-panel {
    max-width: min(22.5rem, calc(100vw - 2rem));
  }

  .signup-copy h1 {
    font-size: 2rem;
  }
}

/* Public notices sit between the homepage hero and game catalog. */
.site-banner-region {
  display: none;
}

.site-banner-region.has-banners {
  box-sizing: border-box;
  display: grid;
  gap: 0.55rem;
  margin-left: calc(50% - 50vw);
  max-width: none;
  padding: 0.8rem max(1rem, calc((100vw - 1140px) / 2));
  pointer-events: auto;
  position: relative;
  top: auto;
  width: 100vw;
  z-index: auto;
}

.site-banner,
.site-banner.is-info,
.site-banner.is-success,
.site-banner.is-warning,
.site-banner.is-danger {
  --banner-accent: #2f7d32;
  align-items: center;
  background: #ffffff;
  border: 1px solid #d7e1d8;
  border-left: 4px solid var(--banner-accent);
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(23, 32, 25, 0.06);
  box-sizing: border-box;
  display: flex;
  gap: 0.8rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1140px;
  min-height: 0;
  overflow: hidden;
  padding: 0.72rem 1rem;
  position: relative;
  width: 100%;
}

.site-banner.is-info {
  --banner-accent: #2f6f9f;
  background: #f7fbfd;
  border-color: #cbdfe9;
}

.site-banner.is-success {
  --banner-accent: #2f7d32;
  background: #f7fbf7;
  border-color: #cde1cf;
}

.site-banner.is-warning {
  --banner-accent: #c78a20;
  background: #fffaf1;
  border-color: #ecd8aa;
}

.site-banner.is-danger {
  --banner-accent: #c92a2a;
  background: #fff6f6;
  border-color: #edc7c7;
}

.site-banner::before,
.site-banner::after,
.site-banner-copy::before,
.site-banner-copy strong::after {
  content: none;
  display: none;
}

.site-banner-copy {
  align-items: baseline;
  display: flex;
  flex: 1 1 auto;
  gap: 0.7rem;
  min-width: 0;
  padding: 0;
}

.site-banner-copy strong {
  color: #172019;
  display: block;
  flex: 0 0 auto;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-shadow: none;
  text-transform: none;
}

.site-banner-copy span {
  color: #4b5b50;
  font-size: 0.88rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.site-banner-link,
.site-banner-link:hover,
.site-banner-link:focus {
  background: #2f7d32;
  border: 1px solid #2f7d32;
  border-radius: 6px;
  box-shadow: none;
  color: #ffffff;
  flex: 0 0 auto;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.2;
  margin-left: 0;
  padding: 0.46rem 0.7rem;
  text-decoration: none;
  text-shadow: none;
  white-space: nowrap;
}

.site-banner-indicator {
  background: var(--banner-accent);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--banner-accent) 16%, transparent);
  flex: 0 0 auto;
  height: 0.5rem;
  width: 0.5rem;
}

.site-banner-link:hover,
.site-banner-link:focus {
  background: #256728;
  border-color: #256728;
}

.site-banner-region.has-banners + .games-section {
  padding-top: 2.1rem;
}

.site-banner,
.site-banner.is-info,
.site-banner.is-success,
.site-banner.is-warning,
.site-banner.is-danger {
  background: #ffffff;
  border: 1px solid #d9e1da;
  border-left: 1px solid #d9e1da;
  border-top: 5px solid var(--banner-accent);
  box-shadow: 0 12px 30px rgba(23, 32, 25, 0.06);
}

.site-banner.is-info {
  --banner-accent: #2f6f9f;
}

.site-banner.is-success {
  --banner-accent: #2f7d32;
}

.site-banner.is-warning {
  --banner-accent: #c78a20;
}

.site-banner.is-danger {
  --banner-accent: #c92a2a;
}

.site-banner-copy strong {
  color: #172019;
}

.site-banner-copy span {
  color: #4b5b50;
}

.site-banner-link,
.site-banner-link:hover,
.site-banner-link:focus {
  background: #2f7d32;
  border-color: #2f7d32;
  border-radius: 6px;
  box-shadow: none;
  color: #ffffff;
  text-shadow: none;
}

.site-banner-link:hover,
.site-banner-link:focus {
  background: #256728;
  border-color: #256728;
}

@media (prefers-reduced-motion: no-preference) {
  .site-banner {
    animation: none;
  }
}

@media (max-width: 575.98px) {
  .site-banner-region.has-banners {
    gap: 0.5rem;
    margin-left: calc(50% - 50vw);
    max-width: none;
    padding: 0.7rem 0.75rem;
    width: 100vw;
  }

  .site-banner,
  .site-banner.is-info,
  .site-banner.is-success,
  .site-banner.is-warning,
  .site-banner.is-danger {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
    min-height: 0;
    padding: 0.8rem;
  }

  .site-banner-copy {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }

  .site-banner-copy strong {
    font-size: 0.88rem;
  }

  .site-banner-copy span {
    font-size: 0.84rem;
    line-height: 1.4;
  }

  .site-banner-link {
    align-self: flex-start;
    font-size: 0.86rem;
    padding: 0.5rem 0.72rem;
  }
}

/* Integrated homepage notice row. */
.site-banner-region.has-banners {
  gap: 0.4rem;
  margin-left: 0;
  padding: 0.75rem 0 0.35rem;
  width: 100%;
}

.site-banner,
.site-banner.is-info,
.site-banner.is-success,
.site-banner.is-warning,
.site-banner.is-danger {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #d9e1da;
  border-radius: 0;
  border-top: 0;
  box-shadow: none;
  max-width: none;
  padding: 0.7rem 0;
}

.site-banner-copy strong {
  color: #172019;
}

.site-banner-copy span {
  color: #4b5b50;
}

.site-banner-link,
.site-banner-link:hover,
.site-banner-link:focus {
  background: transparent;
  border: 1px solid #2f7d32;
  border-radius: 6px;
  box-shadow: none;
  color: #256728;
  text-shadow: none;
}

.site-banner-link:hover,
.site-banner-link:focus {
  background: #2f7d32;
  border-color: #2f7d32;
  color: #ffffff;
}

@media (max-width: 575.98px) {
  .site-banner-region.has-banners {
    margin-left: 0;
    padding: 0.65rem 0 0.25rem;
    width: 100%;
  }

  .site-banner,
  .site-banner.is-info,
  .site-banner.is-success,
  .site-banner.is-warning,
  .site-banner.is-danger {
    padding: 0.65rem 0;
  }
}

/* Split notice strip. */
.site-banner-region.has-banners {
  align-items: center;
  gap: 0.55rem;
  justify-items: center;
  padding: 0.9rem 0 0.35rem;
}

.site-banner,
.site-banner.is-info,
.site-banner.is-success,
.site-banner.is-warning,
.site-banner.is-danger {
  --banner-tint: #edf7ed;
  align-items: stretch;
  background: #ffffff;
  border: 1px solid #d9e1da;
  border-left: 1px solid #d9e1da;
  border-radius: 8px;
  border-top: 1px solid #d9e1da;
  box-shadow: 0 10px 24px rgba(23, 32, 25, 0.06);
  display: grid;
  gap: 0;
  grid-template-columns: auto minmax(0, 1fr) auto;
  justify-self: center;
  max-width: min(100%, 56rem);
  overflow: hidden;
  padding: 0;
  width: fit-content;
}

.site-banner.is-info {
  --banner-accent: #2f6f9f;
  --banner-tint: #edf6fb;
}

.site-banner.is-success {
  --banner-accent: #2f7d32;
  --banner-tint: #edf7ed;
}

.site-banner.is-warning {
  --banner-accent: #c78a20;
  --banner-tint: #fff4dd;
}

.site-banner.is-danger {
  --banner-accent: #c92a2a;
  --banner-tint: #fdecec;
}

.site-banner-label {
  align-items: center;
  background: var(--banner-tint);
  border-right: 1px solid color-mix(in srgb, var(--banner-accent) 24%, #d9e1da);
  display: inline-flex;
  flex: 0 0 auto;
  gap: 0.55rem;
  padding: 0.75rem 0.9rem;
}

.site-banner-label strong {
  color: #172019;
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
}

.site-banner-indicator {
  background: var(--banner-accent);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--banner-accent) 16%, transparent);
  height: 0.5rem;
  width: 0.5rem;
}

.site-banner-copy {
  align-items: center;
  display: flex;
  gap: 0;
  min-width: 0;
  padding: 0.7rem 0.95rem;
}

.site-banner-copy span {
  color: #4b5b50;
  font-size: 0.88rem;
  line-height: 1.35;
}

.site-banner-link,
.site-banner-link:hover,
.site-banner-link:focus {
  align-self: center;
  background: #2f7d32;
  border: 1px solid #2f7d32;
  border-radius: 6px;
  box-shadow: none;
  color: #ffffff;
  font-size: 0.84rem;
  margin: 0.55rem 0.75rem;
  padding: 0.46rem 0.7rem;
  text-shadow: none;
}

.site-banner-link:hover,
.site-banner-link:focus {
  background: #256728;
  border-color: #256728;
}

@media (max-width: 575.98px) {
  .site-banner-region.has-banners {
    padding: 0.7rem 0 0.25rem;
  }

  .site-banner,
  .site-banner.is-info,
  .site-banner.is-success,
  .site-banner.is-warning,
  .site-banner.is-danger {
    display: flex;
    flex-direction: column;
  }

  .site-banner-label {
    border-bottom: 1px solid color-mix(in srgb, var(--banner-accent) 24%, #d9e1da);
    border-right: 0;
    padding: 0.6rem 0.75rem;
  }

  .site-banner-copy {
    padding: 0.65rem 0.75rem 0.2rem;
  }

  .site-banner-link {
    align-self: flex-start;
    margin: 0.55rem 0.75rem 0.75rem;
  }
}
