/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
.realm-footer {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 1680px;
  box-sizing: border-box;
  position: relative;
  z-index: 22;
  background: var(--bg);
  padding: 20px 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: 400 12px/1.6 var(--sans);
}
.realm-footer-horizon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
}
.realm-footer-studio {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.realm-footer-studio > a {
  flex-shrink: 0;
}
.realm-footer-studio img {
  display: block;
  width: 82px;
  height: 82px;
  object-fit: contain;
}
.realm-footer-name {
  display: block;
  font: 600 19px/1.3 var(--serif, Georgia, serif);
  font-variant: small-caps;
  color: var(--ink);
}
.realm-footer-studio small {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  letter-spacing: .03em;
}
.realm-footer-navigation {
  min-width: 0;
}
.realm-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.realm-footer nav a {
  color: var(--muted);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.realm-footer nav a:hover {
  color: var(--iron-accent, var(--a1));
  text-decoration: underline;
}
.realm-footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 10px;
}
.realm-footer-legal nav {
  gap: 8px 20px;
}
body.iron-realm > .realm-footer {
  background: var(--iron-material);
  background-size: auto, 600px 600px;
  border-color: var(--iron-edge);
  border-inline: 1px solid var(--iron-edge);
  box-shadow: inset 0 1px #cabc9e20;
}
body.iron-realm .realm-footer-legal {
  border-color: var(--iron-edge);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--iron-edge) 55%, transparent);
  }
}
@media (max-width: 800px) {
  .realm-footer {
    padding: 16px 20px;
  }
  .realm-footer-horizon {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .realm-footer-navigation {
    width: 100%;
  }
  .realm-footer nav a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
  }
}
@media (max-width: 1000px) {
  body.iron-realm > .realm-footer {
    padding-bottom: calc(20px + var(--mobile-bottom-height, 64px) + env(safe-area-inset-bottom));
  }
}
body.iron-realm:has(> .realm-footer) {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}
body.iron-realm:has(> .realm-footer) > .app {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
  padding-bottom: 0;
  width: 100%;
  min-height: var(--realm-sidebar-min-height, 0px);
}
body.iron-realm:has(> .realm-footer) > .realm-footer {
  flex: 0 0 auto;
}
@media (min-width: 1001px) {
  body.iron-realm:has(> .realm-footer) .realm-nav-desktop {
    position: absolute;
    inset: 0 auto auto 0;
    height: auto;
    max-height: none;
    overflow: visible;
    border-bottom: 1px solid var(--iron-edge);
    border-radius: 0 0 8px 8px;
  }
}
@media (min-width: 1200px) {
  body.iron-realm:has(> .realm-footer) .realm-body {
    min-height: 0;
  }
  body.iron-realm:has(> .realm-footer) .character-sidebar {
    position: static;
    inset: auto;
    width: auto;
    height: auto;
    max-height: none;
    overflow: visible;
    z-index: auto;
    align-self: start;
    border-bottom: 1px solid var(--iron-edge);
    border-radius: 0 0 8px 8px;
  }
}
@media (min-width: 1001px) {
  body.iron-realm:has(> .realm-footer) .kow-top {
    position: relative;
    top: auto;
  }
}
@media (max-width: 1000px) {
  body.iron-realm:has(> .realm-footer) .kow-top {
    position: sticky;
    top: 0;
  }
}
@media (min-width: 1025px) and (pointer: fine) {
  html[data-chat-layout-open] body.iron-realm:has(> .realm-footer) .realm-nav-desktop {
    left: 0;
  }
}
body.iron-realm:has(> .realm-footer) .realm-body {
  flex: 1 0 auto;
}
