@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700;900&family=Poppins:wght@400;500;600;700&family=Rajdhani:wght@400;500;600;700&display=swap");

* {
  font-family: "Poppins", sans-serif;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

article {
  position: relative;
  z-index: 1;
}

article:before {
  content: " ";
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;  
  opacity: .4; 
  z-index: -1;
  background: #D6DBDF;
}

.blurple {
  color: #7289da;
}

.bg-base {
  background-color: #1a2634 !important;
}

#backtotop {
  display: inline-block;
  background-color: #7289da;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  transition: background-color 0.3s, opacity 0.5s, visibility 0.5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

#backtotop:hover {
  cursor: pointer;
  background-color: #333;
}

#backtotop:active {
  background-color: #555;
}

#backtotop.show {
  opacity: 0.4;
  visibility: visible;
}

.navbar-item,
.navbar-link {
  -moz-transition: all 0.2s ease-in;
  -o-transition: all 0.2s ease-in;
  -webkit-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
}

.navbar-item:hover {
  background-color: transparent !important;
  color: #7289da !important;
}

.navbar-link:hover {
  background-color: transparent !important;
  color: #7289da !important;
}

.navbar-menu {
  animation: navAnimOpen 0.2s ease-in-out;
}

@keyframes navAnimOpen {
  0% {
    display: none;
    opacity: 0;
    max-height: 0;
  }
  1% {
    display: block;
    opacity: 0;
  }
  100% {
    opacity: 1;
    max-height: 396px;
  }
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}

nav,
.navbar-menu {
  background-color: #1a2634 !important;
}

.navbar-item.nav-dark,
.navbar-link.nav-dark {
  color: #363636 !important;
}

.navbar-item,
.navbar-link {
  color: white !important;
}

nav.nav-w {
  background: #fff !important;
  box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.1) !important;
}

.nav-w {
  background: #fff !important;
  box-shadow: 100px 2px 10px rgba(0, 0, 0, 0.1) !important;
}

body:not(.landing-page) nav,
body:not(.landing-page) .navbar-menu {
  background-color: #1a2634 !important;
}

body:not(.landing-page) .navbar-item,
body:not(.landing-page) .navbar-link,
body:not(.landing-page) .navbar-burger {
  color: white !important;
}

/* Desktop navbar minimize toggle */
.navbar-minimize-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 6px;
  transition: background-color 0.2s ease-in, transform 0.2s ease-in-out;
}

.navbar-minimize-toggle:hover {
  background-color: rgba(255, 255, 255, 0.08) !important;
}

@media (min-width: 1024px) {
  .navbar-minimize-toggle {
    display: inline-flex;
  }

  .navbar.is-menu-minimized .navbar-menu {
    display: none !important;
  }

  .navbar.is-menu-minimized .navbar-minimize-toggle i {
    transform: rotate(180deg);
  }
}

.mb-12 {
  margin-bottom: 6rem;
}

.mt-12 {
  margin-top: 6rem;
}

.ml-12 {
  margin-left: 6rem;
}

.mr-12 {
  margin-right: 6rem;
}

.img-col-ml-13 {
  margin-left: 13rem;
}

.img-col-mr-13 {
  margin-right: 13rem;
}

.has-image-centered {
  margin-left: auto;
  margin-right: auto;
}

.line {
  background: #00d1b2;
  background: #00d1b2;
  width: 150px;
  height: 5px;
}

.line2 {
  background: #00d1b2;
  background: #00d1b2;
  width: 75px;
  height: 5px;
}

.line-center {
  margin: auto;
}

.line.blurple {
  background: #7289da;
}

.title.lined {
  margin-bottom: 0px;
}

.vert-move {
  -webkit-animation: mover 1s infinite alternate;
  animation: mover 1s infinite alternate;
}

.vert-move2 {
  -webkit-animation: mover 0.5s infinite alternate;
  animation: mover 0.5s infinite alternate;
}

@-webkit-keyframes mover {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-10px);
  }
}

.button.is-blurple {
  background-color: #7289da;
  border-color: transparent;
  color: #fff;
}

.button.is-dark-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
}

.button.is-dark-outline:hover {
  border-color: #7289da;
  color: #fff;
}

.landing-hero {
  min-height: 690px;
  background:
    radial-gradient(circle at 75% 40%, rgba(114, 137, 218, .24), transparent 28rem),
    linear-gradient(135deg, #111b29 0%, #1a2634 60%, #202d43 100%) !important;
}

.landing-title {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 1.03;
  letter-spacing: -.04em;
}

.landing-lead {
  max-width: 650px;
  line-height: 1.8;
}

.eyebrow {
  color: #b9c5ff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  color: #aeb9c9;
  font-size: .82rem;
}

.hero-trust i {
  color: #7289da;
}

.responsive-media {
  width: min(20rem, 100%);
  height: auto;
}

.hero-orbit {
  position: relative;
  min-height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(114, 137, 218, .35);
  border-radius: 50%;
  box-shadow: 0 0 90px rgba(114, 137, 218, .3), inset 0 0 50px rgba(114, 137, 218, .12);
}

.hero-avatar {
  z-index: 1;
  width: min(76%, 320px);
}

.hero-card {
  position: absolute;
  z-index: 2;
  padding: .8rem 1rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  background: rgba(14, 22, 35, .82);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .25);
  color: #b9c5d8;
  font-size: .72rem;
  letter-spacing: .08em;
}

.hero-card strong {
  color: #7be0a8;
  margin-left: .45rem;
}

.hero-card-top {
  top: 14%;
  right: 0;
}

.hero-card-bottom {
  bottom: 12%;
  left: 0;
  color: #fff;
  letter-spacing: 0;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: .45rem;
  border-radius: 50%;
  background: #7be0a8;
  box-shadow: 0 0 9px #7be0a8;
}

.landing-section {
  padding-top: 6rem;
}

.landing-heading {
  max-width: 760px;
  margin: auto;
}

.section-intro {
  max-width: 600px;
  margin: 1rem auto 0;
  color: #758294;
  line-height: 1.8;
}

.overview-grid {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.info-card {
  height: 100%;
  padding: 2rem;
  border: 1px solid #e9edf3;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 15px 45px rgba(24, 36, 52, .06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 55px rgba(24, 36, 52, .12);
}

.info-card p {
  min-height: 76px;
  color: #718096;
  line-height: 1.7;
}

.info-card a {
  color: #6176ca;
  font-size: .9rem;
  font-weight: 600;
}

.info-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border-radius: 14px;
  background: #eef0ff;
  color: #6176ca;
  font-size: 1.2rem;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 3rem;
  border-radius: 22px;
  background: linear-gradient(120deg, #182538, #2b3b5c);
  box-shadow: 0 25px 60px rgba(24, 37, 56, .2);
}

.cta-panel .buttons {
  flex-shrink: 0;
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .navbar-brand {
    width: 100%;
    justify-content: space-between;
  }

  .navbar-menu {
    padding-bottom: 1rem;
  }

  .landing-hero {
    min-height: auto;
    padding-top: 4.5rem;
    padding-bottom: 3rem;
  }

  .landing-hero .buttons,
  .cta-panel .buttons {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .landing-hero .buttons .button,
  .cta-panel .buttons .button {
    width: 100%;
  }

  .hero-orbit {
    min-height: auto;
    padding: 1rem 0 3rem;
  }

  .hero-glow {
    width: min(76vw, 280px);
    height: min(76vw, 280px);
  }

  .hero-avatar {
    width: min(76vw, 280px);
  }

  .hero-card {
    max-width: 48vw;
    padding: .65rem .8rem;
    font-size: .64rem;
  }

  .hero-card-top {
    top: 10%;
    right: 2%;
  }

  .hero-card-bottom {
    bottom: 10%;
    left: 2%;
  }

  .hero-trust {
    justify-content: center;
    text-align: center;
  }

  .landing-section {
    padding-top: 4.5rem;
  }

  .overview-grid .column,
  .single-feature .column {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .single-feature .title,
  .single-feature .subtitle {
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: center;
  }

  .single-feature img {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .info-card p {
    min-height: 0;
  }

  .cta-panel {
    align-items: flex-start;
    flex-direction: column;
    padding: 2rem;
  }

  .docs-hero {
    padding: 5.5rem 1rem 3.5rem;
  }

  .docs-hero .subtitle {
    max-width: none;
  }

  .forum-banner,
  .forum-heading,
  .dashboard-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .forum-card {
    flex-direction: column;
  }

  .forum-card p,
  .command-list span {
    overflow-wrap: anywhere;
  }

  .command-list div {
    align-items: flex-start;
    flex-direction: column;
    gap: .4rem;
  }

  .command-list code {
    min-width: auto;
    white-space: normal;
    overflow-wrap: anywhere;
  }

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

  .server-config-card {
    padding: 1.25rem;
  }

  .server-card-header {
    align-items: flex-start;
  }

  .shop-toolbar,
  .shop-listing {
    align-items: stretch;
    flex-direction: column;
  }

  .shop-toolbar .control {
    width: 100%;
  }

  .listing-title h3 {
    white-space: normal;
  }

  .listing-price {
    flex-basis: auto;
    text-align: left;
  }
}

.docs-page {
  background: #f7f9fc;
}

.docs-hero {
  margin-top: 3.25rem;
  padding: 7rem 1.5rem 5rem;
  background:
    radial-gradient(circle at 85% 20%, rgba(114, 137, 218, .25), transparent 24rem),
    #1a2634 !important;
}

.docs-hero .title {
  margin-top: .75rem;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.docs-hero .subtitle {
  max-width: 620px;
  line-height: 1.8;
}

.docs-content {
  min-height: 60vh;
}

.docs-sidebar {
  position: sticky;
  top: 6rem;
  align-self: flex-start;
}

.docs-sidebar a {
  display: block;
  padding: .65rem 0;
  color: #68778b;
  font-size: .95rem;
  font-weight: 600;
}

.docs-sidebar a:hover {
  color: #6176ca;
}

.doc-section {
  margin-bottom: 4rem;
  scroll-margin-top: 6rem;
}

.doc-section > p:not(.eyebrow) {
  color: #68778b;
  font-size: 1.05rem;
  line-height: 1.9;
}

.doc-callout {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid #7289da;
  border-radius: 0 12px 12px 0;
  background: #eef0ff;
  color: #4c5b73;
}

.doc-callout i {
  color: #6176ca;
}

.stat-grid {
  margin-top: 1.5rem;
}

.stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid #e6eaf1;
  border-radius: 10px;
  background: #fff;
}

.stat-row strong {
  color: #2f3b4d;
}

.stat-row span {
  color: #7c8999;
  font-size: .85rem;
  text-align: right;
}

.formula-note {
  margin-top: 1.25rem;
  color: #7c8999 !important;
  font-size: .9rem !important;
}

.mini-card,
.forum-card {
  height: 100%;
  padding: 1.5rem;
  border: 1px solid #e6eaf1;
  border-radius: 14px;
  background: #fff;
}

.mini-card i,
.forum-icon {
  color: #6176ca;
}

.mini-card h3 {
  margin: 1rem 0 .5rem;
  font-weight: 700;
}

.mini-card p,
.forum-card p,
.community-rules p {
  color: #718096;
  line-height: 1.7;
}

.command-list {
  overflow: hidden;
  border: 1px solid #e6eaf1;
  border-radius: 14px;
  background: #fff;
}

.command-list div {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #edf0f5;
}

.command-list div:last-child {
  border-bottom: 0;
}

.command-list code {
  min-width: 130px;
  color: #6176ca;
  font-weight: 700;
}

.command-list span {
  color: #718096;
}

.forum-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.25rem;
  border-radius: 18px;
  background: linear-gradient(120deg, #182538, #2b3b5c);
}

.forum-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.forum-card {
  display: flex;
  gap: 1.25rem;
  transition: transform .2s ease, box-shadow .2s ease;
}

.forum-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(24, 36, 52, .08);
}

.forum-icon {
  display: inline-flex;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #eef0ff;
}

.forum-card a {
  color: #6176ca;
  font-size: .88rem;
  font-weight: 600;
}

.community-rules {
  padding: 2rem;
  border: 1px solid #e6eaf1;
  border-radius: 16px;
  background: #fff;
}

.dashboard-container {
  max-width: 1100px;
}

.dashboard-intro,
.forum-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.dashboard-intro > div > p:last-child {
  color: #718096;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.server-config-card {
  padding: 1.75rem;
  border: 1px solid #e6eaf1;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(24, 36, 52, .06);
}

.server-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.server-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: cover;
}

.server-icon-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef0ff;
  color: #6176ca;
  font-size: 1.2rem;
}

.server-id {
  margin: 0;
  color: #9aa5b3;
  font-family: monospace;
  font-size: .72rem;
}

.server-config-card .label {
  color: #39465a;
  font-size: .85rem;
}

.server-config-card .input {
  border-color: #e1e6ef;
  box-shadow: none;
}

.server-config-card .input:focus {
  border-color: #7289da;
  box-shadow: 0 0 0 .125em rgba(114, 137, 218, .15);
}

.command-toggles {
  display: grid;
  max-height: 245px;
  overflow-y: auto;
  gap: .5rem;
  padding: .75rem;
  border: 1px solid #e6eaf1;
  border-radius: 10px;
  background: #fafbfc;
}

.command-toggle {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  padding: .5rem;
  border-radius: 7px;
  cursor: pointer;
}

.command-toggle:hover {
  background: #eef0ff;
}

.command-toggle span {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}

.command-toggle strong {
  color: #46536a;
  font-size: .85rem;
}

.command-toggle small {
  color: #8a96a5;
  font-size: .72rem;
}

.dashboard-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}

.save-status {
  color: #8a96a5;
  font-size: .8rem;
}

.save-success {
  color: #2e9b61;
}

.save-error {
  color: #d14d62;
}

.custom-dungeon-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-top: .5rem;
}

.custom-dungeon-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .5rem .75rem;
  border: 1px solid #e6eaf1;
  border-radius: 8px;
  font-size: .82rem;
}

.dungeon-management-panel {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid rgba(114, 137, 218, .22);
  border-radius: 18px;
  background: linear-gradient(145deg, #f8faff, #eef2fb);
}

.dashboard-section-heading,
.dungeon-manager-header,
.dungeon-roster-toolbar,
.editor-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.dashboard-section-heading {
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.dashboard-kicker {
  margin: 0 0 .25rem;
  color: #7289da;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.dashboard-section-copy,
.dungeon-manager-header span {
  color: #718096;
  font-size: .82rem;
}

.dashboard-section-copy {
  margin: 0;
}

.dashboard-section-badge,
.editor-step {
  padding: .4rem .7rem;
  border-radius: 999px;
  background: #e4e9ff;
  color: #5268bd;
  font-size: .72rem;
  font-weight: 700;
}

.dungeon-manager-card {
  margin-top: 1rem;
  padding: 1.25rem;
  border: 1px solid #e0e6f2;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(24, 36, 52, .06);
}

.dungeon-manager-title {
  display: flex;
  align-items: center;
  gap: .8rem;
}

.dungeon-manager-title h4 {
  color: #29364a;
}

.dungeon-manager-layout {
  display: grid;
  grid-template-columns: minmax(240px, .8fr) minmax(360px, 1.4fr);
  gap: 1rem;
  margin-top: 1.25rem;
}

.dungeon-roster,
.custom-dungeon-editor {
  min-width: 0;
  padding: 1rem;
  border: 1px solid #e6eaf1;
  border-radius: 12px;
  background: #fafbfe;
}

.dungeon-roster-toolbar {
  align-items: flex-start;
  flex-direction: column;
}

.dungeon-roster-toolbar strong,
.custom-dungeon-editor-title {
  color: #39465a;
}

.dungeon-search {
  width: 100%;
}

.dungeon-row-actions {
  display: flex;
  flex-shrink: 0;
  gap: .35rem;
}

.custom-dungeon-row > div:first-child {
  min-width: 0;
}

.custom-dungeon-row > div:first-child span {
  display: block;
  margin-top: .2rem;
  color: #8a96a5;
  font-size: .72rem;
}

.dungeon-empty {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: .35rem;
  padding: 2rem 1rem;
  color: #8a96a5;
  text-align: center;
}

.dungeon-empty i {
  margin-bottom: .35rem;
  color: #7289da;
  font-size: 1.8rem;
}

.dungeon-empty strong {
  color: #4a5870;
}

.editor-heading {
  margin-bottom: .9rem;
}

body {
  font-size: 1rem;
  line-height: 1.65;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--rpg-gold-bright);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .dungeon-manager-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .dungeon-management-panel,
  .dungeon-manager-card {
    padding: 1rem;
  }

  .dashboard-section-heading,
  .dungeon-manager-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .custom-dungeon-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

.custom-dungeon-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: .75rem;
}

.custom-dungeon-section {
  padding: 1rem;
  border: 1px solid #e6eaf1;
  border-radius: 10px;
  background: #fafbfc;
}

.custom-dungeon-section-title {
  display: block;
  margin-bottom: .75rem;
  color: #39465a;
}

.custom-dungeon-section-heading,
.custom-dungeon-entity-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.custom-dungeon-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: .75rem;
}

.custom-dungeon-fields .field {
  margin-bottom: .25rem;
}

.custom-dungeon-entity {
  padding: .75rem;
  border: 1px solid #e6eaf1;
  border-radius: 8px;
  background: #fff;
}

.custom-dungeon-entities {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.custom-dungeon-stats {
  margin-top: .25rem;
}

.delete-dungeon-entity {
  color: #d14d62;
}

.empty-state {
  max-width: 600px;
  margin: 2rem auto;
  padding: 4rem 2rem;
  border: 1px solid #e6eaf1;
  border-radius: 18px;
  background: #fff;
  text-align: center;
}

.empty-state > i {
  margin-bottom: 1.5rem;
  color: #7289da;
  font-size: 3rem;
}

.empty-state p {
  color: #718096;
  line-height: 1.7;
}

.shop-dashboard-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid #e6eaf1;
}

.shop-toolbar {
  display: flex;
  gap: .75rem;
  margin: 1.5rem 0;
}

.shop-toolbar .control {
  flex: 1;
  min-width: 0;
}

.shop-listings {
  display: grid;
  gap: .75rem;
}

.shop-listing {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #e6eaf1;
  border-radius: 12px;
  background: #fff;
}

.listing-image {
  display: flex;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  background: #eef0ff;
  color: #6176ca;
  font-size: 1.2rem;
}

.listing-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-info {
  min-width: 0;
  flex: 1;
}

.listing-title {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.listing-title h3 {
  overflow: hidden;
  margin: 0;
  color: #39465a;
  font-size: .95rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.listing-info p,
.listing-info small {
  color: #8a96a5;
  font-size: .76rem;
}

.listing-info p {
  margin: .15rem 0;
}

.listing-price {
  display: flex;
  flex: 0 0 110px;
  flex-direction: column;
  text-align: right;
}

.listing-price strong {
  color: #6176ca;
}

.listing-price span {
  color: #9aa5b3;
  font-size: .7rem;
}

.shop-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  min-height: 100px;
  color: #8a96a5;
}

.shop-empty i {
  color: #7289da;
  font-size: 1.4rem;
}

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

/* Hunter's Wiki */
.wiki-hero {
  position: relative;
  overflow: hidden;
  padding: 10rem 1.5rem 6rem;
  background: radial-gradient(circle at 75% 20%, rgba(114, 137, 218, .2), transparent 35%), linear-gradient(135deg, #111827 0%, #161b2d 55%, #0b1020 100%);
}

.wiki-hero::after {
  position: absolute;
  right: -8rem;
  bottom: -12rem;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgba(114, 137, 218, .2);
  border-radius: 50%;
  box-shadow: 0 0 0 2rem rgba(114, 137, 218, .04), 0 0 0 5rem rgba(114, 137, 218, .03);
  content: "";
}

.wiki-hero-content {
  position: relative;
  z-index: 1;
  max-width: 46rem;
}

.wiki-kicker {
  color: #9aaeff;
  letter-spacing: .16em;
}

.wiki-hero h1 {
  margin-top: 1rem;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: 1.05;
}

.wiki-hero h1 span {
  color: #aab8ff;
}

.wiki-hero .subtitle {
  max-width: 38rem;
  line-height: 1.8;
}

.wiki-signal {
  margin-top: 2rem;
  color: #8793aa;
  font-family: monospace;
  font-size: .7rem;
  letter-spacing: .12em;
}

.signal-dot {
  display: inline-block;
  width: .5rem;
  height: .5rem;
  margin-right: .45rem;
  border-radius: 50%;
  background: #66e3a4;
  box-shadow: 0 0 10px #66e3a4;
}

.wiki-signal-divider {
  margin: 0 .75rem;
  color: #4f5c76;
}

.wiki-quickstart {
  position: relative;
  z-index: 2;
  margin-top: -4rem;
}

.wiki-quest-card {
  position: relative;
  height: 100%;
  padding: 1.5rem;
  border: 1px solid #2c3852;
  border-radius: 8px;
  background: #182136;
  box-shadow: 0 1rem 2rem rgba(4, 8, 20, .2);
}

.wiki-quest-card i {
  color: #9aabff;
  font-size: 1.4rem;
}

.wiki-quest-card h3 {
  margin: 1rem 0 .45rem;
  color: #fff;
  font-size: 1.05rem;
}

.wiki-quest-card p {
  color: #aeb8ca;
  font-size: .9rem;
}

.wiki-card-number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: #657394;
  font-family: monospace;
  font-size: .75rem;
}

.wiki-sidebar a {
  display: block;
  padding: .5rem 0;
  color: #68758a;
  font-size: .9rem;
  transition: color .2s ease, padding-left .2s ease;
}

.wiki-sidebar a:hover {
  padding-left: .35rem;
  color: #7289da;
}

.wiki-sidebar-note {
  margin-top: 1.5rem;
  padding: 1rem;
  border-left: 2px solid #7289da;
  background: rgba(114, 137, 218, .08);
  color: #7f8ca2;
  font-size: .85rem;
  line-height: 1.6;
}

.wiki-section {
  scroll-margin-top: 5rem;
}

.wiki-section + .wiki-section {
  border-top: 1px solid #edf0f5;
}

.wiki-section h2 {
  margin-bottom: 1rem;
}

.wiki-command-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem;
  margin: 1.5rem 0;
  padding: 1rem;
  border: 1px solid #e4e8f1;
  border-radius: 6px;
  background: #f8f9fc;
  color: #68758a;
  font-size: .85rem;
}

.wiki-command-strip code {
  color: #596dc1;
  font-weight: 700;
}

.wiki-command-strip span {
  margin-right: .75rem;
}

.wiki-role-card {
  height: 100%;
}

.wiki-role-card i {
  color: #7289da;
}

.wiki-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
  margin: 2rem 0;
}

.wiki-flow div {
  padding: 1rem;
  border-top: 2px solid #7289da;
  background: #f8f9fc;
}

.wiki-flow b,
.wiki-flow strong,
.wiki-flow span {
  display: block;
}

.wiki-flow b {
  color: #7289da;
  font-family: monospace;
  font-size: .75rem;
}

.wiki-flow strong {
  margin: .5rem 0 .25rem;
  color: #303849;
}

.wiki-flow span {
  color: #7b8798;
  font-size: .8rem;
}

.wiki-danger-callout {
  border-left-color: #d66b82;
}

.wiki-command-search {
  margin: 2rem 0 1rem;
}

.wiki-command-search .input {
  max-width: 32rem;
}

.wiki-command-entry {
  transition: opacity .2s ease;
}

.wiki-empty {
  padding: 2rem;
  border: 1px dashed #d8deea;
  color: #7b8798;
  text-align: center;
}

@media (max-width: 767px) {
  .wiki-hero {
    padding: 8rem 1.25rem 5rem;
  }

  .wiki-quickstart {
    margin-top: -2rem;
  }

  .wiki-flow {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .docs-sidebar {
    position: static;
    margin-bottom: 2rem;
  }

  .forum-banner,
  .forum-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .command-list div {
    align-items: flex-start;
    flex-direction: column;
    gap: .4rem;
  }

  .command-list code {
    min-width: auto;
  }

  .dashboard-intro {
    flex-direction: column;
  }

  .shop-toolbar,
  .shop-listing {
    align-items: stretch;
    flex-direction: column;
  }

  .listing-price {
    flex-basis: auto;
    text-align: left;
  }
}

.single-feature {
  position: relative;
  z-index: 5;
}

.shape-right {
  position: absolute;
  top: -40px;
  right: 0;
  width: 40%;
  height: 100%;
  z-index: -1;
  opacity: 30%;
}

.shape-right img {
  width: 100%;
}

@media (max-width: 767px) {
  .shape-right
 {
    display: none;
  }
}

.shape-left {
  position: absolute;
  top: -80px;
  left: 90px;
  width: 35%;
  height: 100%;
  z-index: -1;
  opacity: 30%;
}

.shape-left img {
  width: 100%;
}

@media (max-width: 767px) {
  .shape-left {
    display: none;
  }
}

/* RPG visual system */
:root {
  --rpg-ink: #0b1020;
  --rpg-night: #11182b;
  --rpg-panel: #172238;
  --rpg-panel-soft: #1d2a43;
  --rpg-gold: #e7b85c;
  --rpg-gold-bright: #ffd98a;
  --rpg-blue: #8da7ff;
  --rpg-muted: #91a0bb;
  --rpg-line: rgba(231, 184, 92, .26);
}

html,
body {
  background: #0e1526;
}

body {
  color: #e9eefb;
  font-family: "Rajdhani", "Poppins", sans-serif;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(141, 167, 255, .08), transparent 23rem),
    radial-gradient(circle at 88% 72%, rgba(231, 184, 92, .06), transparent 25rem);
}

.landing-page {
  background-color: #10182a;
}

.landing-page .navbar,
.landing-page .navbar-menu,
body:not(.landing-page) .navbar,
body:not(.landing-page) .navbar-menu {
  background: rgba(8, 13, 26, .94) !important;
  border-bottom: 1px solid rgba(231, 184, 92, .18);
  box-shadow: 0 10px 30px rgba(3, 6, 15, .22);
  backdrop-filter: blur(14px);
}

.navbar-item,
.navbar-link {
  font-size: .95rem;
  letter-spacing: .04em;
}

.navbar-brand strong {
  color: var(--rpg-gold-bright);
  font-family: "Orbitron", "Poppins", sans-serif;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.navbar-brand img {
  filter: drop-shadow(0 0 12px rgba(231, 184, 92, .35));
}

.navbar-item:hover,
.navbar-link:hover {
  color: var(--rpg-gold-bright) !important;
}

.landing-hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  background:
    linear-gradient(90deg, rgba(10, 15, 29, .86), rgba(10, 15, 29, .42)),
    radial-gradient(circle at 80% 36%, rgba(141, 167, 255, .28), transparent 27rem),
    linear-gradient(135deg, #080d1b 0%, #151f37 62%, #222d4c 100%) !important;
}

.landing-hero:before,
.landing-hero:after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.landing-hero:before {
  inset: 0;
  opacity: .18;
  background-image: linear-gradient(135deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.landing-hero:after {
  right: -12rem;
  bottom: -16rem;
  width: 38rem;
  height: 38rem;
  border: 1px solid rgba(231, 184, 92, .22);
  border-radius: 50%;
  box-shadow: 0 0 0 2rem rgba(231, 184, 92, .03), 0 0 0 5rem rgba(231, 184, 92, .025);
}

.landing-title,
.title,
h1,
h2,
h3,
h4 {
  font-family: "Rajdhani", "Poppins", sans-serif;
}

.landing-title,
.landing-heading .title,
#stats .title,
.cta-panel .title {
  letter-spacing: .015em;
  text-shadow: 0 3px 24px rgba(0, 0, 0, .25);
}

.eyebrow {
  color: var(--rpg-gold-bright);
  font-family: "Orbitron", "Poppins", sans-serif;
  font-size: .66rem;
  letter-spacing: .2em;
}

.blurple {
  color: var(--rpg-blue);
}

.hero-card {
  border-color: var(--rpg-line);
  border-radius: 4px;
  background: rgba(9, 15, 29, .88);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .34), inset 0 0 24px rgba(141, 167, 255, .06);
  font-family: "Orbitron", "Poppins", sans-serif;
  font-size: .62rem;
}

.hero-card-bottom {
  color: var(--rpg-gold-bright);
}

.hero-glow {
  border-color: rgba(231, 184, 92, .35);
  box-shadow: 0 0 100px rgba(141, 167, 255, .28), inset 0 0 60px rgba(231, 184, 92, .1);
}

.button.is-blurple {
  background: linear-gradient(135deg, #718be7, #536bc8);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 8px 24px rgba(83, 107, 200, .3);
}

.button.is-blurple:hover {
  background: linear-gradient(135deg, #8da7ff, #6179db);
  transform: translateY(-2px);
}

.button.is-dark-outline {
  border-color: var(--rpg-line);
}

.landing-section,
#stats,
.landing-page > .section {
  background: #10182a;
}

.landing-section {
  padding-bottom: 3rem;
}

.info-card,
.mini-card,
.forum-card {
  border-color: rgba(141, 167, 255, .16);
  border-radius: 5px;
  background:
    linear-gradient(145deg, rgba(29, 42, 67, .96), rgba(17, 26, 46, .96));
  box-shadow: 0 18px 42px rgba(3, 7, 18, .24), inset 0 1px rgba(255,255,255,.04);
}

.info-card:before,
.mini-card:before,
.forum-card:before {
  display: block;
  width: 28px;
  height: 2px;
  margin-bottom: 1rem;
  background: var(--rpg-gold);
  content: "";
}

.info-card:hover {
  border-color: var(--rpg-line);
  box-shadow: 0 22px 50px rgba(3, 7, 18, .35), 0 0 24px rgba(141, 167, 255, .08);
}

.info-card .title,
.mini-card h3,
.forum-card strong {
  color: #f3f6ff;
}

.info-card p,
.section-intro,
.mini-card p,
.forum-card p {
  color: var(--rpg-muted);
}

.info-icon {
  border: 1px solid var(--rpg-line);
  border-radius: 4px;
  background: rgba(231, 184, 92, .1);
  color: var(--rpg-gold-bright);
}

.single-feature {
  border-top: 1px solid rgba(141, 167, 255, .1);
  border-bottom: 1px solid rgba(141, 167, 255, .1);
  background: linear-gradient(90deg, rgba(17, 26, 46, .8), rgba(29, 42, 67, .38));
}

.single-feature .title {
  color: #f3f6ff;
}

.single-feature .subtitle {
  color: var(--rpg-muted);
  line-height: 1.8;
}

#stats {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

#stats .column {
  padding: 1.5rem;
  border-right: 1px solid rgba(231, 184, 92, .16);
}

#stats .column:last-child {
  border-right: 0;
}

#stats .lined {
  color: var(--rpg-gold-bright);
  font-family: "Orbitron", "Poppins", sans-serif;
}

#stats .subtitle {
  color: var(--rpg-blue) !important;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.cta-panel {
  border: 1px solid var(--rpg-line);
  border-radius: 5px;
  background:
    linear-gradient(105deg, rgba(30, 43, 70, .96), rgba(15, 23, 42, .96)),
    radial-gradient(circle at 10% 20%, rgba(231, 184, 92, .15), transparent 20rem);
  box-shadow: 0 24px 60px rgba(3, 7, 18, .32);
}

.footer.bg-base {
  border-top: 1px solid rgba(231, 184, 92, .16);
  background: #080d1a !important;
}

@media (max-width: 767px) {
  #stats .column {
    border-right: 0;
    border-bottom: 1px solid rgba(231, 184, 92, .16);
  }

  #stats .column:last-child {
    border-bottom: 0;
  }
}

body {
  font-family: "Rajdhani", "Poppins", sans-serif;
}

body.docs-page:not(.system-profile-page) {
  min-height: 100vh;
  background:
    radial-gradient(circle at 85% 15%, rgba(139, 92, 246, .12), transparent 25rem),
    radial-gradient(circle at 12% 80%, rgba(0, 212, 255, .08), transparent 22rem),
    #070b15;
  color: #e2e8f0;
}

body.docs-page:not(.system-profile-page) .docs-content {
  background: transparent;
}

body.docs-page:not(.system-profile-page) .title,
body.docs-page:not(.system-profile-page) h1,
body.docs-page:not(.system-profile-page) h2,
body.docs-page:not(.system-profile-page) h3,
body.docs-page:not(.system-profile-page) h4 {
  color: #f8fafc;
  font-family: "Rajdhani", "Poppins", sans-serif;
  letter-spacing: .03em;
}

body.docs-page:not(.system-profile-page) .subtitle,
body.docs-page:not(.system-profile-page) .doc-section > p:not(.eyebrow),
body.docs-page:not(.system-profile-page) .mini-card p,
body.docs-page:not(.system-profile-page) .forum-card p,
body.docs-page:not(.system-profile-page) .community-rules p,
body.docs-page:not(.system-profile-page) .dashboard-intro > div > p:last-child {
  color: #cbd5e1 !important;
}

body.docs-page:not(.system-profile-page) .docs-sidebar a,
body.docs-page:not(.system-profile-page) .wiki-sidebar a,
body.docs-page:not(.system-profile-page) .forum-card a {
  color: #a5b4c8;
}

body.docs-page:not(.system-profile-page) .docs-sidebar a:hover,
body.docs-page:not(.system-profile-page) .wiki-sidebar a:hover,
body.docs-page:not(.system-profile-page) .forum-card a:hover {
  color: #67e8f9;
}

body.docs-page:not(.system-profile-page) .doc-callout,
body.docs-page:not(.system-profile-page) .wiki-sidebar-note {
  border-color: #00d4ff;
  background: rgba(0, 212, 255, .08);
  color: #dbeafe;
}

body.docs-page:not(.system-profile-page) .stat-row,
body.docs-page:not(.system-profile-page) .mini-card,
body.docs-page:not(.system-profile-page) .forum-card,
body.docs-page:not(.system-profile-page) .community-rules,
body.docs-page:not(.system-profile-page) .command-list,
body.docs-page:not(.system-profile-page) .server-config-card,
body.docs-page:not(.system-profile-page) .dungeon-manager-card,
body.docs-page:not(.system-profile-page) .dungeon-roster,
body.docs-page:not(.system-profile-page) .custom-dungeon-editor,
body.docs-page:not(.system-profile-page) .custom-dungeon-section,
body.docs-page:not(.system-profile-page) .custom-dungeon-entity,
body.docs-page:not(.system-profile-page) .empty-state,
body.docs-page:not(.system-profile-page) .shop-listing {
  border-color: rgba(0, 212, 255, .16);
  border-radius: 4px;
  background: linear-gradient(145deg, rgba(20, 31, 54, .96), rgba(10, 16, 30, .96));
  color: #e2e8f0;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .28), inset 0 1px rgba(255, 255, 255, .04);
}

body.docs-page:not(.system-profile-page) .stat-row strong,
body.docs-page:not(.system-profile-page) .command-toggle strong,
body.docs-page:not(.system-profile-page) .dungeon-roster-toolbar strong,
body.docs-page:not(.system-profile-page) .custom-dungeon-editor-title,
body.docs-page:not(.system-profile-page) .custom-dungeon-section-title,
body.docs-page:not(.system-profile-page) .custom-dungeon-row,
body.docs-page:not(.system-profile-page) .dungeon-empty strong {
  color: #f8fafc;
}

body.docs-page:not(.system-profile-page) .stat-row span,
body.docs-page:not(.system-profile-page) .formula-note,
body.docs-page:not(.system-profile-page) .command-list span,
body.docs-page:not(.system-profile-page) .command-toggle small,
body.docs-page:not(.system-profile-page) .server-id,
body.docs-page:not(.system-profile-page) .dashboard-section-copy,
body.docs-page:not(.system-profile-page) .dungeon-manager-header span,
body.docs-page:not(.system-profile-page) .custom-dungeon-row > div:first-child span,
body.docs-page:not(.system-profile-page) .dungeon-empty,
body.docs-page:not(.system-profile-page) .shop-empty,
body.docs-page:not(.system-profile-page) .wiki-flow span,
body.docs-page:not(.system-profile-page) .wiki-empty {
  color: #a5b4c8 !important;
}

body.docs-page:not(.system-profile-page) .command-list div,
body.docs-page:not(.system-profile-page) .wiki-section + .wiki-section {
  border-color: rgba(255, 255, 255, .1);
}

body.docs-page:not(.system-profile-page) article:before {
  display: none;
}

body.docs-page:not(.system-profile-page) .command-toggles,
body.docs-page:not(.system-profile-page) .wiki-flow div,
body.docs-page:not(.system-profile-page) .wiki-command-strip {
  border-color: rgba(0, 212, 255, .16);
  background: rgba(4, 9, 18, .72);
  color: #cbd5e1;
}

body.docs-page:not(.system-profile-page) .command-toggle:hover {
  background: rgba(0, 212, 255, .1);
}

body.docs-page:not(.system-profile-page) .wiki-quest-card {
  border-color: rgba(0, 212, 255, .2);
  background: linear-gradient(145deg, rgba(20, 31, 54, .98), rgba(10, 16, 30, .98));
}

body.docs-page:not(.system-profile-page) .wiki-quest-card p {
  color: #cbd5e1;
}

body.docs-page:not(.system-profile-page) .wiki-card-number {
  color: #a5b4c8;
}

body.docs-page:not(.system-profile-page) .wiki-flow strong {
  color: #f8fafc;
}

body.docs-page:not(.system-profile-page) .tag.is-light {
  border: 1px solid rgba(0, 212, 255, .2);
  background: rgba(0, 212, 255, .1);
  color: #cffafe;
}

body.docs-page:not(.system-profile-page) .server-config-card .label {
  color: #cbd5e1;
}

body.docs-page:not(.system-profile-page) .input,
body.docs-page:not(.system-profile-page) .select select,
body.docs-page:not(.system-profile-page) .textarea {
  border-color: rgba(0, 212, 255, .2);
  background: rgba(4, 9, 18, .72);
  color: #e2e8f0;
}

body.docs-page:not(.system-profile-page) .input::placeholder,
body.docs-page:not(.system-profile-page) .textarea::placeholder {
  color: #94a3b8;
}

body.docs-page:not(.system-profile-page) .wiki-signal {
  color: #a5b4c8;
}

body.docs-page:not(.system-profile-page) .dungeon-management-panel {
  border-color: rgba(0, 212, 255, .16);
  background: linear-gradient(145deg, rgba(20, 31, 54, .96), rgba(10, 16, 30, .96));
}

body.docs-page:not(.system-profile-page) .dashboard-section-badge,
body.docs-page:not(.system-profile-page) .editor-step {
  border: 1px solid rgba(0, 212, 255, .2);
  background: rgba(0, 212, 255, .1);
  color: #cffafe;
}

body.docs-page:not(.system-profile-page) .server-icon-fallback,
body.docs-page:not(.system-profile-page) .listing-image {
  border: 1px solid rgba(0, 212, 255, .2);
  background: rgba(0, 212, 255, .1);
  color: #67e8f9;
}

@media (max-width: 767px) {
  html {
    scroll-padding-top: calc(4rem + env(safe-area-inset-top));
  }

  body {
    min-width: 320px;
    overflow-x: hidden;
  }

  .navbar.is-fixed-top {
    top: 0;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) 0 env(safe-area-inset-left);
  }

  .navbar-brand {
    min-height: 3.25rem;
  }

  .navbar-burger {
    min-width: 3rem;
    min-height: 3rem;
    margin-left: .25rem;
  }

  .navbar-menu {
    max-height: calc(100vh - 3.25rem - env(safe-area-inset-top));
    max-height: calc(100dvh - 3.25rem - env(safe-area-inset-top));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
  }

  .navbar-menu .navbar-item,
  .navbar-menu .navbar-link {
    min-height: 2.75rem;
  }

  .button,
  .select select,
  .input,
  .textarea {
    min-height: 2.75rem;
  }

  .container {
    width: 100%;
    max-width: none;
  }

  .section {
    padding: 2rem max(1rem, env(safe-area-inset-right)) 2rem max(1rem, env(safe-area-inset-left));
  }

  .docs-hero {
    margin-top: calc(3.25rem + env(safe-area-inset-top));
    padding: 3.5rem max(1rem, env(safe-area-inset-right)) 2.5rem max(1rem, env(safe-area-inset-left));
  }

  .wiki-hero {
    padding-top: calc(7rem + env(safe-area-inset-top));
    padding-right: max(1rem, env(safe-area-inset-right));
    padding-bottom: 4rem;
    padding-left: max(1rem, env(safe-area-inset-left));
  }

  .wiki-hero h1 {
    font-size: clamp(2rem, 9vw, 3.5rem);
  }

  .wiki-quickstart {
    margin-top: -1.5rem;
  }

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

  .doc-section {
    margin-bottom: 2.5rem;
  }

  .wiki-command-strip {
    align-items: flex-start;
  }

  .wiki-command-strip span {
    margin-right: .25rem;
    overflow-wrap: anywhere;
  }

  .wiki-command-search .input {
    width: 100%;
    max-width: none;
  }

  .forum-banner,
  .community-rules {
    padding: 1.25rem;
  }

  .forum-card {
    gap: .75rem;
    padding: 1.1rem;
  }

  .forum-card a {
    overflow-wrap: anywhere;
  }

  .dashboard-section-heading,
  .dungeon-manager-header,
  .dungeon-roster-toolbar,
  .editor-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .dungeon-manager-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .dungeon-manager-panel,
  .dungeon-manager-card,
  .server-config-card {
    min-width: 0;
  }

  .dungeon-row-actions {
    flex-wrap: wrap;
  }

  .back-to-top,
  #backtotop {
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
    width: 2.75rem;
    height: 2.75rem;
  }

  .footer {
    padding-bottom: max(3rem, calc(2rem + env(safe-area-inset-bottom)));
  }

  .table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  iframe {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .landing-title {
    font-size: clamp(2.4rem, 12vw, 3.5rem);
  }

  .landing-section {
    padding-top: 3.5rem;
  }

  .cta-panel {
    padding: 1.25rem;
  }

  .wiki-flow {
    grid-template-columns: minmax(0, 1fr);
  }

  .wiki-command-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .docs-content .columns {
    margin-right: -.5rem;
    margin-left: -.5rem;
  }

  .docs-content .column {
    padding-right: .5rem;
    padding-left: .5rem;
  }
}

@media (hover: none) {
  .info-card:hover,
  .forum-card:hover {
    transform: none;
  }
}
