body {
    margin: 0;
    padding: 0;
    background: #000000;
    overflow: hidden;
  }
  ul, li {
    list-style-type: none;
    display: inline-block;
    margin: 0;
    padding: 0;
    vertical-align: middle;
  }
  #map {
    width: 100%;
    height: 100vh;
    background: black;
  }
  img.leaflet-tile {
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges
  }
  div.leaflet-nameplate-pane div {
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    font-weight: 700;
    padding: 2px 5px 1px;
    margin: 0;
    border-color: rgba(0, 0, 0, 0.75);
  }
  div.leaflet-nameplate-pane div:before {
    border-color: transparent;
  }
  div.leaflet-nameplate-pane div img.head {
    vertical-align: middle;
    margin-right: 6px;
  }
  div.leaflet-nameplate-pane div img.armor,
  div.leaflet-nameplate-pane div img.health {
    display: block;
  }
  div.leaflet-nameplate-pane div,
  div.leaflet-marker-pane img {
    transition: all 0.25s;
  }
  .leaflet-bottom.leaflet-left .link,
  .leaflet-bottom.leaflet-left .coordinates {
    display: inline-block;
    float: none;
  }
  .leaflet-bottom,
  .coordinates
   {
      bottom: 64px;
  }
  .coordinates {
      left: 64px;
  }
  div.leaflet-control-layers.link img {
    width: 34px;
    height: 34px;
    vertical-align: bottom;
    bottom: 0;
    background-image: url("../images/link.png");
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
  }
  div.leaflet-control-layers.coordinates {
    vertical-align: bottom;
    padding: 2px 5px;
    line-height: 14px;
    height: 30px;
  }
  #sidebar {
    display: flex;
    flex-flow: column;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 100vh;
    padding-left: 10px;
    z-index: 10000;
    font: 12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif;
    border-left: 1px solid #000000;
    background-color: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    text-align: right;
    transition: all 0.25s;
  }
  #sidebar.show {
    width: 200px;
    padding-left: 0;
  }
  #sidebar fieldset {
    clear: right;
    margin: 30px 0;
    border: none;
    border-top: 1px solid rgba(196, 196, 196, 0.4);
    text-align: left;
    transition: all 0.25s;
    white-space: nowrap;
  }
  #sidebar fieldset#worlds {
    margin: -15px 0 0;
  }
  #sidebar fieldset#players {
    margin: 10px 0 0;
    overflow-y: auto;
  }
  #sidebar fieldset#players::-webkit-scrollbar {
    width: 6px;
  }
  #sidebar fieldset#players::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 0;
  }
  #sidebar fieldset#players::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0);
    border-right: 2px solid rgba(112, 128, 144, 0.75);
    border-radius: 1px;
  }
  #sidebar fieldset#players::-webkit-scrollbar-thumb:hover {
    border-radius: 3px;
    border: 0;
    background-color: rgba(112, 128, 144, 0.75);
  }
  #sidebar legend {
    display: block;
    margin: 10px 5px;
  }
  #sidebar fieldset a,
  #sidebar fieldset a:visited {
    display: block;
    color: #ffffff;
    text-decoration: none;
    padding: 5px 10px;
    transition: all 0.25s;
  }
  #sidebar fieldset a.following {
    background-color: rgba(128, 128, 255, 0.25);
  }
  #sidebar fieldset a:hover,
  #sidebar fieldset a.following:hover {
    background-color: rgba(255, 255, 255, 0.15);
    cursor: pointer;
  }
  #sidebar fieldset a .other-world {
    filter: brightness(50%) !important;
    font-style: italic;
  }
  #sidebar fieldset a img {
    vertical-align: middle;
    padding-right: 10px;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
    -webkit-filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
  }
  #sidebar fieldset#players a {
    padding: 10px;
  }
  #sidebar #pin {
    position: relative;
    right: -160px;
    width: 23px;
    height: 23px;
    margin: 5px 5px 10px;
    padding: 2px;
    border: 1px solid rgba(255, 255, 255, 0);
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
    -webkit-filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
    cursor: pointer;
  }
  #sidebar #pin.pinned:hover {
    background: rgba(0, 128, 0, 0.5);
    border: 1px solid rgba(0, 128, 0, 0.75);
  }
  #sidebar #pin.unpinned:hover {
    background: rgba(128, 0, 0, 0.5);
    border: 1px solid rgba(128, 0, 0, 0.75);
  }
  
  
  /* */
  @import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');
  
  .post-card-excerpt {
      text-overflow: ellipsis;
      width: 100%;
      overflow: hidden;
      white-space: nowrap;
  }
  
  
  #mobile-trigger {
      min-width: auto;
      color: white !important;
      text-shadow: 0px 3px 0px #00000038;
  }
  
  #navigation .dropdown .menu {
      border-radius: 0px !important;
      background: #313233;
      border: 3px solid #454647;
      box-shadow: inset 0px -4px 0px #454647;
      outline: 3px solid #000;
      padding: 0px !important;
      scale: none !important;
  }
  div#mobile-trigger i {
      font-size: 20px;
  }
  #navigation .dropdown .menu li a {
      padding: 20px !important;
      border-top: 2px solid #454647 !important;
      border-radius: 0 !important;
  }
  
  #navigation .dropdown .menu li:first-child a {
      border: none !important;
  }
  
  #app {
      font-family: 'Minecraftia', sans-serif;
      background: #171615;
      display: flex;
      flex-direction: column;
      min-height: 100vh;
      position: relative;
  }
  
  .bg-red {
      background: #ea1c2f;
  }
  
  .btn-mc {
      background: #3bcd40;
      border: none;
      height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
      min-width: 150px;
      position: relative;
      cursor: pointer;
      border-top: 3px solid;
      border-left: 3px solid;
      border-bottom: 5px solid;
      border-color: #009105;
      border-top-color: #83ff87;
      border-left-color: #83ff87;
      outline: 3px solid black;
      transition: all .1s linear;
      border-radius: 0px;
      outline-offset: 0;
      box-shadow: none !important;
      translate: none !important;
  }
  .btn-mc.primary {
      background: #ea1c2f;
      border-top-color: #ff8572 !important;
      border-left-color: #ff8572 !important;
      border-color: #b61520;
  }
  .btn-mc span {
      color: white;
      font-family: 'Minecraft', sans-serif;
      font-size: 20px;
      position: relative;
      letter-spacing: 0;
      top: -4px;
      font-weight: normal;
      text-shadow: 0px 3px 0px #00000038;
  }
  /* */
  
  #navigation {
      background: #313233;
      border-bottom: 5px solid black;
      box-shadow: inset 0px -4px 0px #454647;
  }
  #navigation .navbar {
      background: transparent;
  }
  #navigation .menu > li > a {
      background: transparent !important;
      font-weight: 700;
      font-size: .75rem;
      letter-spacing: .08em;
      text-align: center;
      text-transform: uppercase;
      color: #fff !important;
  }
  
  #navigation .menu > li:focus-visible {
      outline: none !important;
  }
  
  #navigation .btn {
      font-weight: 700;
      font-size: .75rem;
      letter-spacing: .08em;
      text-align: center;
      text-transform: uppercase;
  }
  
  #navigation .menu > li > a {
      color: white;
      font-family: 'Minecraft', sans-serif;
      font-size: 20px;
      position: relative;
      letter-spacing: 0;
      top: -2px;
      font-weight: normal;
      text-shadow: 0px 3px 0px #00000038;
  }
  
  div#player-count {
      min-width: 0;
      padding: 0 12px;
  }
  
  /* */
  .btn-lg > span {
      font-size: 24px !important;
  }
  .btn-lg {
      height: auto;
  }
  .page.play {
      max-width: 920px;
      margin: 0 auto;
  }
  .play-image {
      outline: 3px solid black;
  }
  .card {
      background: #313233;
      border: 5px solid black;
      border-radius: 0px !important;
      outline: none;
  }
  .copy-label {
      background: #000000;
      font-size: 9px;
      color: #ffffff;
      padding: 6px 9px;
      display: flex;
      align-items: center;
      font-weight: 900;
      margin-left: auto;
      cursor: pointer;
      text-transform: uppercase;
  }
  h1,h2,h3,h4 {
      font-family: 'Minecraft', sans-serif;
      font-weight: normal;
  }
  .inner-card {
      border-top: 3px solid #454647;
      box-shadow: inset 4px 0px #454647;
      border-bottom: 4px solid #252525;
      border-radius: 0px;
      outline: 3px solid black;
      color: white;
  }
  .number {
      background: #3bcd4024;
      color: #7bff80;
      width: 40px;
      height: 40px;
  }
  
  .card-body {
      box-shadow: inset 4px 0px #454647;
      border-bottom: 4px solid #252525;
  }
  
  .card-title {
      color: white;
      font-family: 'Minecraft', sans-serif;
      font-size: 25px;
      position: relative;
      letter-spacing: 0;
      font-weight: normal;
      text-shadow: 0px 3px 0px #00000038;
      top: -2px;
      margin-bottom: 2px;
  }
  
  .card-body p {
      font-size: 15px;
      font-weight: 400;
      line-height: 1.8;
  }
  .menu summary:after {
      color: white !important;
      margin-left: auto;
  }
  
  .card-actions {
      margin-top: 12px;
      justify-content: center;
  }
  .border-base-100 {
      border-color: #454647 !important;
  }
  .sidebar .card-body, .main-content .card-body {border-top: 3px solid #454647;}
  .card-actions .btn {
      width: 100%;
      height: 52px;
  }
  .font-primary {
      font-family: 'Minecraft', sans-serif;
  }
  .card-text h2 {
  margin-bottom:-15px;
  }
  .card-image {
      position: relative;
      box-shadow: 0px 4px black, inset 4px 0px 0px #ffffff;
  }
  
  .card-text {
      max-width: 800px;
      margin:  0 auto;
      text-align: center;
      display: flex;
      flex-direction: column;
      gap: 30px;
      margin-top: 20px;
  }
  
  .card-text p {
      font-size: 16px;
  }
  
  figure.card-image:after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      top: 0;
      bottom: 0;
      pointer-events: none;
      box-shadow: 0px 4px black, inset 4px 0px 0px #ffffff1c, inset 0px -4px 0px #ffffff1c, inset 0px 4px 0px #ffffff1c, inset -4px 0px 0px #ffffff1c;
      z-index: 5;
  }
  
  
  /* */
  
  .motd-wrapper {
      overflow: hidden;
      white-space: nowrap;
      position: relative;
      border-top: 3px solid #ff857299;
      border-bottom: 4px solid black;
  }
  
  .motd-text {
      display: inline-block;
      white-space: nowrap;
      animation: scroll-left 40s linear infinite;
  }
  
  .motd-chunk {
      position:relative;
      top:-4px;
      font-weight: 700;
      font-size: .85rem;
      letter-spacing: .08em;
      text-align: center;
      text-transform: uppercase;
      color: #fff !important;
      font-family: 'Minecraft', sans-serif;
      text-shadow: 0px 2px 0px #00000038;
  }
  .dropdown {
    &:not(details, .dropdown-open, .dropdown-hover:hover, :focus-within) {
        & .dropdown-content {
            opacity: 100% !important;
            display: none;
        }
    }
    &[popover], & .dropdown-content {
        z-index: 9999 !important;
    }
  }
  #app {
      color: silver;
  }
  .motd-chunk {
    margin-right: 4rem;
  }
  
  @media only screen and (min-width: 768px) {
  .menu summary {
      justify-content: space-between;
  }
  }
  @media only screen and (max-width: 768px) {
      .btn-mc span {
          top: 2px !important;
      }
      .staff-label span {
          top: 1px !important;
      }
      .menu summary:after {
          display: none !important;
      }
  }
  @keyframes scroll-left {
    0% {
      transform: translateX(0%);
    }
    100% {
      transform: translateX(-50%);
    }
  }
  
  .mobile-actions .btn.btn-mc.primary {
      color: white;
      min-width: 0;
      width:52px;
      text-shadow: 0px 3px 0px #00000038;
      font-size: 17px !important;
  }
  
  /* */
  #staff-feed h2 {
      font-family: 'Minecraft', sans-serif;
      font-size: 28px;
      position: relative;
      letter-spacing: 0;
      font-weight: normal;
      text-shadow: 0px 3px 0px #00000038;
      margin-bottom: 10px;
  }
  .staff-label {
      display: inline-flex;
      background: #258adb;
      flex-grow: 0;
      padding: 3px 10px;
      font-weight: 700 !important;
      font-size: 13px !important;
      border-top: 2px solid #6dbeff;
      border-left: 2px solid #6dbeff;
      border-bottom: 4px solid #196aab;
      border-right: 2px solid #196aab;
      outline: 2px solid black;
      margin-left: 10px;
      text-transform: uppercase;
      font-family: 'Minecraft', sans-serif;
  }
  .staff-label span {
      font-weight: normal;
      position: relative;
      top: -2px;
  }
  .staff-avatar {
      height: 278px;
      overflow: hidden;
      margin-bottom: -32px;
  }
  
  .staff-avatar img {
      height: 370px;
      max-height: none;
  }
  
  .staff-title h2 {
      font-size: 16px;
      color: #ff4e4a;
      letter-spacing: 2px;
  }
  
  div#footer .footer {
      background: transparent;
      color: silver;
  }
  
  div#footer {
      background: #1c1d1d;
      border-top: 5px solid black;
      box-shadow: inset 0px 4px 0px #45464759;
      padding: 40px 0px;
  }
  
  div#footer .footer-title {
      color: white;
      opacity: 1;
      font-family: 'Minecraft', sans-serif;
      font-weight: normal;
      font-size: 25px;
  }
  
  .btn:hover {
      filter: brightness(1.1) contrast(1)
  }

  .toast {
    z-index: 9999 !important
  }
  
  .toast .alert {
      outline: 3px solid black;
      border-radius: 0px !important;
      color: white !important;
      box-shadow: inset 3px 3px 0px #ffffff54, inset -4px -4px 0px #00000033;
      border: none !important;
      font-family: 'Minecraft', sans-serif;
      font-size: 19px;
      position: relative;
      letter-spacing: 0;
      font-weight: normal;
      text-shadow: 0px 3px 0px #00000038;
      z-index: 9999 !important;
  }
  
  .toast .alert span {
      top: -3px;
      position: relative;
  }
  
  .toast .alert {
      padding: 15px 20px;
  }
  
  #discord-alert {
      z-index:50;
  }
  
  #searchbar {
      position: relative;
      
  }
  
  #searchbar img {
      height: 32px;
  }
  
  #searchbar {
      background: #6F6F6F !important;
      border: none;
      height: 42px;
      min-width: 128px;
      position: relative;
      cursor: pointer;
      border-top: 3px solid;
      border-left: 3px solid;
      border-bottom: 5px solid;
      border-color: #565656;
      border-top-color: #AAAAAA;
      border-left-color: #AAAAAA;
      outline: 3px solid black;
      padding: 0px 10px;
      transition: all .1s linear;
      border-radius: 0px !important;
      outline-offset: 0;
      box-shadow: none !important;
      translate: none !important;
      font-size: 24px;
      color: white !important;
      z-index: 100 !important;
      display: flex;
      flex-direction: column;
  }
  
  .input-and-icon {
      display: flex;
      justify-content: center;
      align-items: center;
  }
  
  #searchbar input {
      font-family: 'Minecraftia', sans-serif;
      border: none;
      height: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      cursor: pointer;
      transition: all .1s linear;
      border-radius: 0px !important;
      outline-offset: 0;
      box-shadow: none !important;
      translate: none !important;
      font-size: 24px;
      color: white !important;
      z-index: 100 !important;
  }
  
  .leaflet-right {
      pointer-events: all !important;
      z-index: 1000 !important;
      padding-top: 55px;
      right: 32px;
  }
  
  .search-results {
      z-index: 9999 !important;
      /* position: absolute; */
      /* top: 100%; */
      /* left: 0; */
  }
  
  .search-result-item {
      background: #8b8b8b !important;
      border: none;
      height: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      min-width: 128px;
      position: relative;
      cursor: pointer;
      border-top: 3px solid;
      border-left: 3px solid;
      border-bottom: 5px solid;
      border-color: #868686;
      border-top-color: #d6d6d6;
      border-left-color: #AAAAAA;
      outline: 3px solid black;
      padding: 0px 10px;
      transition: all .1s linear;
      border-radius: 0px !important;
      outline-offset: 0;
      box-shadow: none !important;
      translate: none !important;
      font-size: 16px;
      color: white !important;
      margin-top: 8px;
  }
  
  .leaflet-touch .leaflet-bar a {
      background: #3bcd40 !important;
      border: none;
      height: 52px;
      display: flex;
      align-items: center;
      justify-content: center;
      min-width: 54px;
      position: relative;
      cursor: pointer;
      border-top: 3px solid;
      border-left: 3px solid;
      border-bottom: 5px solid;
      border-color: #009105;
      border-top-color: #83ff87;
      border-left-color: #83ff87;
      outline: 3px solid black;
      transition: all .1s linear;
      border-radius: 0px !important;
      outline-offset: 0;
      box-shadow: none !important;
      translate: none !important;
  }
  
  .leaflet-control-zoom.leaflet-bar.leaflet-control {
      display: flex;
      flex-direction: column;
      border: none !important;
      gap: 15px;
  }
  
  .leaflet-touch .leaflet-bar a:last-child {
      background: #ea1c2f !important;
      border-top-color: #ff8572 !important;
      border-left-color: #ff8572 !important;
      border-color: #b61520;
  }
  
  .leaflet-touch .leaflet-bar a {
      color: white !important;
      text-shadow: 0px 3px 0px #00000038;
  }
  
  .leaflet-control-zoom.leaflet-bar.leaflet-control {
      margin: 20px;
      padding-top: 5px;
  }
  
  div#content {
      padding-top: 92px;
      width: 100%;
      height: 100%;
      overflow: hidden;
  }
  
  #map {
      width: auto;
  }
  
  div#navigation {
      position: fixed;
      left: 0;
      right: 0;
      top: 0;
      z-index: 1000;
  }
  
  .leaflet-control-layers.leaflet-control {
      background: #3bcd40 !important;
      border: none;
      height: 52px;
      display: flex;
      align-items: center;
      justify-content: center;
      min-width: 54px;
      position: relative;
      cursor: pointer;
      border-top: 3px solid;
      border-left: 3px solid;
      border-bottom: 5px solid;
      border-color: #009105;
      border-top-color: #83ff87;
      border-left-color: #83ff87;
      outline: 3px solid black;
      transition: all .1s linear;
      border-radius: 0px !important;
      outline-offset: 0;
      box-shadow: none !important;
      translate: none !important;
  }
  
  .leaflet-control-layers.leaflet-control {
      margin-left: 20px;
  }
  
  .leaflet-control-layers.coordinates.leaflet-control {
      display: block;
      background: black !important;
      border: none !important;
      color: white !important;
  }
  
  .leaflet-control-layers.leaflet-control.link a {
      display: inline-block;
  }
  
  .leaflet-bottom.leaflet-left .link {
      display: flex;
      align-items: center;
      justify-content: center;
  }
  
  .leaflet-bottom.leaflet-left {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
  }
  
  .leaflet-top.leaflet-left {
      padding-top: 95px;
  }
  
  div.leaflet-control-layers.link img {
      filter: invert(1);
  }
  
  .leaflet-tooltip {
      white-space: break-spaces;
  }
  
  .leaflet-tooltip ul {
      display: flex;
      align-items: center;
      gap: 5px;
  }
  .leaflet-tooltip ul li:last-child {
      flex: 1;
  }
  
  .leaflet-tooltip li:first-child {
      width: 16px;
  }
  
  .leaflet-left label span * {
      color: white;
      font-family: 'Minecraft', sans-serif;
      font-size: 20px;
      position: relative;
      font-weight: normal;
      text-shadow: 0px 3px 0px #00000038;
  }
  
  .leaflet-left label > span {
      position: relative;
      top: -4px;
  }
  
  .leaflet-control-layers-selector {
      margin-right: 6px;
  }
  
  #sidebar.show {background: #454647;border: none;width: 314px !important;border-left: 4px solid #ea1c2f;}
  
  #sidebar legend {
      margin: 10px 20px;
      font-family: 'Minecraft', sans-serif;
      font-size: 17px;
      position: relative;
      top: -4px;
  }
  
  #sidebar fieldset a, #sidebar fieldset a:visited {
      padding: 10px 20px;
      display: flex;
      align-items: center;
      gap: 5px;
  }
  
  #sidebar fieldset#players a {
      padding: 10px 20px !important;
  }
  
  #sidebar #pin {
      right: -270px;
  }

.marker-cluster-custom {
  background-image: url('/map/images/itemframe.png');
  background-size: cover;
  border: none;
}

.marker-cluster-custom span {
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
  line-height: 44px;   /* match iconSize height */
  color: #fff;
  font-weight: bold;
  font-family: 'Minecraftia', sans-serif;
}