* {
  box-sizing: border-box;
}

.sr-only {
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}

canvas {
  touch-action: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  width: 100%;
  height: 100%;
  position: fixed;
  inset: 0;
}

.custom-title-badge {
  z-index: 1000;
  -webkit-backdrop-filter: blur(10px);
  color: #f8fafc;
  letter-spacing: -.02em;
  -webkit-user-select: none;
  user-select: none;
  cursor: pointer;
  background: #141821b8;
  border: 1px solid #ffffff2e;
  border-radius: 9999px;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 700;
  transition: all .2s;
  display: inline-flex;
  position: fixed;
  top: 14px;
  right: 170px;
  box-shadow: 0 4px 16px #00000059;
}

.custom-title-badge:hover {
  background: #1e2532e6;
  border-color: #ffffff59;
  box-shadow: 0 6px 20px #00000073;
}

.custom-title-badge:hover .btn-edit-title {
  opacity: 1;
}

.custom-title-badge .custom-title-icon {
  font-size: 16px;
  line-height: 1;
}

.custom-title-badge .custom-title-prefix {
  white-space: nowrap;
  opacity: .95;
  font-weight: 800;
}

.custom-title-badge .custom-title-text {
  white-space: nowrap;
  text-shadow: 0 1px 2px #00000080;
}

.custom-title-badge .custom-title-input {
  color: #fff;
  background: #0009;
  border: 1px solid #fff6;
  border-radius: 6px;
  outline: none;
  min-width: 170px;
  padding: 3px 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
}

.custom-title-badge .custom-title-input:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 2px #60a5fa4d;
}

.custom-title-badge .btn-edit-title {
  color: #94a3b8;
  cursor: pointer;
  opacity: .6;
  background: none;
  border: none;
  padding: 2px 4px;
  font-size: 13px;
  line-height: 1;
  transition: opacity .2s, color .2s;
}

.custom-title-badge .btn-edit-title:hover {
  opacity: 1;
  color: #f1f5f9;
}

:root.light .custom-title-badge {
  color: #0f172a;
  background: #ffffffd9;
  border-color: #0000001f;
  box-shadow: 0 4px 16px #00000014;
}

:root.light .custom-title-badge:hover {
  background: #fffffff5;
  border-color: #00000040;
}

:root.light .custom-title-badge .custom-title-text {
  text-shadow: none;
}

:root.light .custom-title-badge .custom-title-input {
  color: #0f172a;
  background: #fff;
  border-color: #cbd5e1;
}

:root.light .custom-title-badge .custom-title-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px #3b82f633;
}

:root.light .custom-title-badge .btn-edit-title {
  color: #64748b;
}

:root.light .custom-title-badge .btn-edit-title:hover {
  color: #0f172a;
}

@media screen and (width <= 750px) {
  .custom-title-badge {
    padding: 6px 12px;
    font-size: 13px;
    top: 10px;
    right: 170px;
  }
}

.icon {
  vertical-align: middle;
  background: currentColor;
  width: 25px;
  height: 25px;
  display: inline-block;
  mask-position: center;
  mask-size: contain;
  mask-repeat: no-repeat;
}

.icon.play {
  mask-image: url("play.5e380e85.svg");
}

.icon.shuffle {
  mask-image: url("shuffle.ae708aec.svg");
}

.icon.megaphone {
  mask-image: url("megaphone.7e17ce4a.svg");
}

.icon.shop {
  mask-image: url("shop.232d4852.svg");
}

.icon.record {
  mask-image: url("record.4adf1f81.svg");
}

.icon.map {
  mask-image: url("map.9561646e.svg");
}

.icon.trophy {
  mask-image: url("trophy.861e3950.svg");
}

.icon.bomb {
  mask-image: url("bomb.5fe30a0c.svg");
}

.icon.sun {
  mask-image: url("sun.eafc49bf.svg");
}

.icon.moon {
  mask-image: url("moon.7ef3d295.svg");
}

#settings {
  z-index: 999;
  visibility: visible;
  opacity: 1;
  background: #666;
  border-radius: 10px;
  min-width: 50%;
  padding: 10px;
  transition: visibility, opacity 1s linear;
  display: flex;
  position: fixed;
  bottom: 1rem;
  left: 1rem;
}

#settings.hide {
  opacity: 0;
  visibility: hidden;
}

#settings h3 {
  color: #fefefe;
  margin: 0;
  padding: 0;
  font-size: 12pt;
}

#settings textarea {
  background: #999;
  border: none;
  width: 100%;
  min-height: calc(5rem + 35px);
  font-size: 14pt;
}

#settings button, #settings .btn {
  color: #fefefe;
  background: #222;
  border: none;
  border-radius: 5px;
  padding: 5px 10px;
  display: inline-block;
  position: relative;
}

#settings button:active:after, #settings .btn:active:after {
  content: "";
  background: #00000080;
  position: absolute;
  inset: 0;
}

#settings a.btn {
  align-items: center;
  gap: 4px;
  font-size: 10pt;
  text-decoration: none;
  display: inline-flex;
}

#settings div.theme {
  color: #fff;
  flex-grow: 1;
  justify-content: flex-end;
  align-items: center;
  display: flex;
}

#settings div.left {
  flex-grow: 1;
  flex-shrink: 1;
  order: 1;
}

#settings div.left .actions {
  justify-content: stretch;
  align-items: center;
  gap: 2px;
  display: flex;
}

#settings div.left .actions div.sep {
  flex-grow: 1;
}

#settings .btn-toggle-settings {
  display: none;
}

#settings div.right {
  flex-grow: 0;
  flex-shrink: 0;
  order: 2;
}

#settings div.right div.row {
  align-items: center;
  height: 35px;
  display: flex;
}

#settings div.right div.row label {
  color: #fff;
  flex-grow: 0;
  flex-shrink: 0;
  width: 150px;
  padding-left: 1rem;
}

#settings div.right div.row .toggle-item {
  align-items: center;
  width: 50%;
  display: flex;
}

#settings div.right div.row.row-range, #settings div.right div.row.row-range label {
  display: none;
}

#settings div.right div.row.row-range.active {
  padding-left: 150px;
  display: flex;
}

#settings div.right div.row.row-range .range-sep {
  color: #fff;
  background: none;
  flex: 0 0 24px;
}

#settings select {
  background: #999;
  border-radius: 5px;
  width: 100%;
  height: 25px;
}

#settings .map-picker {
  flex: 1 1 0;
  align-items: center;
  gap: 4px;
  min-width: 0;
  display: flex;
}

#settings .map-picker select {
  flex: 1 1 0;
  min-width: 0;
}

#settings .btn-map-action {
  color: #222;
  text-align: center;
  cursor: pointer;
  background: #999;
  border: none;
  border-radius: 5px;
  flex: 0 0 25px;
  height: 25px;
  padding: 0;
  font-size: 13px;
  line-height: 25px;
  text-decoration: none;
}

#settings .btn-map-action[hidden] {
  display: none;
}

#settings .btn-map-action:hover {
  background: #bbb;
}

#settings .btn-map-action.has-update {
  position: relative;
}

#settings .btn-map-action.has-update:after {
  content: "";
  background: #ff5a4f;
  border: 2px solid #666;
  border-radius: 50%;
  width: 9px;
  height: 9px;
  position: absolute;
  top: -3px;
  right: -3px;
}

#settings input[type="checkbox"] {
  vertical-align: middle;
  width: 50px;
  height: 25px;
  padding-right: 63px;
  display: inline-block;
  position: relative;
}

#settings input[type="checkbox"]:before {
  content: "";
  background: #999;
  border-radius: 25px;
  width: 50px;
  height: 25px;
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
}

#settings input[type="checkbox"]:after {
  content: "";
  background: #ccc;
  border-radius: 25px;
  width: 25px;
  height: 25px;
  transition: transform .2s;
  position: absolute;
  top: 0;
  left: 0;
}

#settings input[type="checkbox"]:checked:after {
  background: #fff;
  transform: translateX(100%);
}

#settings input[type="checkbox"]:checked:before {
  content: "";
  background: #00baff;
}

#settings .btn-group {
  flex: 1 1 0;
  justify-content: stretch;
  min-width: 0;
  display: flex;
}

#settings .btn-group > * {
  box-sizing: border-box;
  color: #fefefe;
  background: #999;
  border: none;
  border-radius: 0;
  flex: 1 1 0;
  justify-content: center;
  align-items: center;
  min-width: 0;
  height: 25px;
  padding: 0;
  display: flex;
  overflow: hidden;
}

#settings .btn-group > :first-child {
  border-radius: 10px 0 0 10px;
}

#settings .btn-group > :last-child {
  border-radius: 0 10px 10px 0;
}

#settings .btn-group > .active:before {
  content: "";
  vertical-align: middle;
  background: #fff;
  width: 15px;
  height: 15px;
  display: inline-block;
  mask-image: url("check.c558835f.svg");
  mask-repeat: no-repeat;
}

#settings .btn-group > .active {
  background: #333;
}

#settings .btn-group input[type="number"] {
  box-sizing: border-box;
  text-align: center;
  width: 0;
}

#notice {
  z-index: 1001;
  color: #333;
  background: #ffffffe6;
  border-radius: 30px;
  flex-direction: column;
  width: 500px;
  max-width: 90%;
  padding: 10px;
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  overflow: hidden;
  transform: translate(-50%, -50%);
}

#notice h2 {
  color: #000;
  text-transform: uppercase;
  background-color: #58c9af;
  border-bottom: 4px solid #2c8470;
  justify-content: center;
  align-items: center;
  margin: -10px -10px 0;
  padding: 10px 5px 10px .5em;
  font-size: 2em;
  font-weight: bold;
  display: flex;
}

#notice div.notice-body {
  padding: 0 .5em;
}

#notice div.notice-body h3 {
  margin: .83em 0;
  font-size: 1.5em;
}

#notice div.notice-action {
  justify-content: center;
  display: flex;
}

#notice div.notice-action button {
  color: #fefefe;
  background: #222;
  border: none;
  border-radius: 10px;
  width: 50%;
  height: 50px;
  padding: 5px 10px;
  font-size: 20px;
  position: relative;
  overflow: hidden;
}

#notice div.notice-action button:active:after {
  content: "";
  background: #00000080;
  position: absolute;
  inset: 0;
}

@media screen and (width <= 750px) {
  #settings {
    opacity: 1;
    visibility: visible;
    width: calc(100% - 2rem);
    min-width: 0;
    max-width: 100%;
    transition: visibility, opacity 1s linear;
    display: block;
    bottom: 60px;
    overflow: hidden;
  }

  #settings.hide {
    opacity: 0;
    visibility: hidden;
  }

  #settings .btn-toggle-settings {
    cursor: pointer;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 100%;
    margin-bottom: 6px;
    font-size: 11pt;
    display: flex;
  }

  #settings .btn-toggle-settings .toggle-arrow {
    font-style: normal;
  }

  #settings .collapsible-rows.collapsed {
    display: none;
  }

  #settings textarea {
    min-height: 2.5rem;
    font-size: 11pt;
  }

  #settings div.right div.row {
    border-bottom: 1px solid #555;
    height: auto;
    padding: .5rem 0;
    display: block;
  }

  #settings div.right div.row label {
    width: 100%;
    margin-bottom: .5rem;
    padding-left: 0;
    display: block;
  }

  #settings div.right div.row.row-toggles {
    flex-wrap: wrap;
    display: flex;
  }

  #settings div.right div.row.row-toggles .toggle-item {
    flex-direction: column;
    align-items: start;
    width: 50%;
    display: flex;
  }

  #settings div.right div.row.row-toggles label {
    order: 0;
    margin-bottom: .3rem;
  }

  #settings div.right div.row.row-toggles input[type="checkbox"] {
    order: 1;
  }

  #settings div.right div.row.row-range.active {
    padding-left: 0;
    display: flex;
  }

  #settings div.right div.row.row-theme {
    display: none;
  }

  #settings div.right div.row .icon {
    width: 15px;
    height: 15px;
  }

  #notice {
    box-sizing: border-box;
    z-index: 1001;
    color: #333;
    background: #ffffffe6;
    border-radius: 4px;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    height: 100%;
    padding: 5px 10px;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    transform: none;
  }

  #notice div.notice-body {
    flex-grow: 1;
  }
}

div.toast {
  z-index: 1000;
  background: #ccc;
  border-radius: 4px;
  padding: 8px;
  animation: .2s linear fade-in, .2s linear 1s reverse fade-in;
  position: fixed;
  bottom: 10px;
  left: 50%;
  overflow: hidden;
  transform: translate(-50%);
}

@keyframes fade-in {
  0% {
    opacity: 0;
    transform: translate(-50%, 100%);
  }

  100% {
    opacity: 1;
    transform: translate(-50%);
  }
}

.link_donation {
  color: #fff;
  text-shadow: -2px 0 #000, 0 2px #000, 2px 0 #000, 0 -2px #000;
  background: repeating-linear-gradient(45deg, #fa0, #fa0 20px, #222 20px 40px);
  border-radius: .5em;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 1em;
  padding: 1em;
  font-size: 1.5em;
  font-weight: bold;
  text-decoration: none;
  display: flex;
}

.shop-button {
  color: #fff;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: fit-content;
  margin: 0 auto;
  padding: .2em .4em .4em;
  font-size: 32px;
  font-weight: bold;
  line-height: 48px;
  text-decoration: none;
  display: flex;
}

.shop-button img {
  width: 48px;
  height: 48px;
  margin-bottom: -4px;
  margin-right: .2em;
}

.shop-button {
  background-color: #07f;
  border: 2px solid #000;
  border-radius: 10px;
}

dialog.map-browser {
  color: #fefefe;
  background: #555;
  border: none;
  border-radius: 10px;
  width: 640px;
  max-width: calc(100vw - 32px);
  height: 80vh;
  max-height: 720px;
  padding: 0;
  overflow: hidden;
}

dialog.map-browser::backdrop {
  background: #00000080;
}

dialog.map-browser .mb-panel {
  flex-direction: column;
  height: 100%;
  display: flex;
}

dialog.map-browser .mb-header {
  background: #444;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  display: flex;
}

dialog.map-browser .mb-title {
  margin: 0;
  font-size: 14pt;
}

dialog.map-browser button {
  color: #fefefe;
  cursor: pointer;
  background: #222;
  border: none;
  border-radius: 5px;
  padding: 5px 10px;
  font-size: 10pt;
}

dialog.map-browser button:disabled {
  cursor: default;
  opacity: .6;
}

dialog.map-browser button:not(:disabled):hover {
  background: #000;
}

dialog.map-browser .mb-close {
  background: none;
  padding: 0 6px;
  font-size: 14pt;
}

dialog.map-browser .mb-tabs {
  gap: 4px;
  padding: 8px 12px 0;
  display: flex;
}

dialog.map-browser .mb-tabs .mb-tab {
  white-space: nowrap;
  background: #444;
  border-radius: 5px 5px 0 0;
  flex: 1 1 0;
  position: relative;
}

dialog.map-browser .mb-tabs .mb-tab.active {
  background: #777;
}

dialog.map-browser .mb-tabs .mb-tab.has-update:after {
  content: "";
  background: #ff5a4f;
  border-radius: 50%;
  width: 7px;
  height: 7px;
  position: absolute;
  top: 4px;
  right: 4px;
}

dialog.map-browser .mb-search {
  color: #111;
  background: #999;
  border: none;
  border-radius: 0 0 5px 5px;
  margin: 0 12px;
  padding: 6px 8px;
  font-size: 11pt;
}

dialog.map-browser .mb-search[hidden] {
  display: none;
}

dialog.map-browser .mb-body {
  flex: 1 1 0;
  min-height: 0;
  padding: 10px 12px;
  overflow-y: auto;
}

dialog.map-browser .mb-list {
  flex-direction: column;
  gap: 6px;
  display: flex;
}

dialog.map-browser .mb-card {
  background: #666;
  border-radius: 6px;
  align-items: center;
  gap: 10px;
  padding: 6px;
  display: flex;
}

dialog.map-browser .mb-thumb {
  background: #000;
  border-radius: 4px;
  flex: 0 0 48px;
  height: 64px;
  position: relative;
  overflow: hidden;
}

dialog.map-browser .mb-thumb img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

dialog.map-browser .mb-card-info {
  flex-direction: column;
  flex: 1 1 0;
  gap: 2px;
  min-width: 0;
  display: flex;
}

dialog.map-browser .mb-card-title {
  color: #fefefe;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: bold;
  text-decoration: none;
  overflow: hidden;
}

dialog.map-browser .mb-card-title:hover {
  text-decoration: underline;
}

dialog.map-browser .mb-card-author, dialog.map-browser .mb-card-stats {
  color: #ddd;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 9pt;
  overflow: hidden;
}

dialog.map-browser .mb-card-badge {
  border-radius: 8px;
  align-self: flex-start;
  padding: 1px 6px;
  font-size: 8pt;
}

dialog.map-browser .mb-card-badge.mb-badge-update {
  background: #ff5a4f;
}

dialog.map-browser .mb-card-badge.mb-badge-gone {
  color: #bbb;
  background: #333;
}

dialog.map-browser .mb-card-actions {
  flex-direction: column;
  gap: 4px;
  display: flex;
}

dialog.map-browser .mb-action {
  flex: none;
  min-width: 72px;
}

dialog.map-browser .mb-action.mb-action-install {
  background: #2c8470;
}

dialog.map-browser .mb-action.mb-action-update {
  background: #c4413a;
}

dialog.map-browser .mb-action.mb-action-remove {
  color: #ddd;
  background: none;
  font-size: 9pt;
}

dialog.map-browser .mb-status {
  color: #ddd;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  display: flex;
}

dialog.map-browser .mb-status:empty {
  display: none;
}

dialog.map-browser .mb-more {
  min-width: 120px;
  margin: 10px auto 0;
  display: block;
}

dialog.map-browser .mb-more[hidden] {
  display: none;
}

dialog.map-browser .mb-footer {
  background: #444;
  justify-content: center;
  gap: 16px;
  padding: 8px 12px;
  font-size: 10pt;
  display: flex;
}

dialog.map-browser .mb-footer a {
  color: #fefefe;
}

@media screen and (width <= 750px) {
  dialog.map-browser {
    border-radius: 0;
    width: 100vw;
    max-width: 100vw;
    height: 100%;
    max-height: 100%;
  }

  dialog.map-browser .mb-tabs .mb-tab {
    padding: 5px 4px;
    font-size: 9pt;
  }
}
/*# sourceMappingURL=marbleroulette.72fc1a99.css.map */
