checkbox-list-item, select-list-item {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.button-sl, checkbox-list__button, select-list__button {
  position: relative;
  padding: 1.6rem 3rem;
  border: 0;
  outline: 0;
  border-radius: 6rem;
  cursor: pointer;
  overflow: hidden;
  display: block;
  min-width: 18rem;
  font-weight: 400;
  text-decoration: none;
  text-align: center;
}
.button-sl.equal, checkbox-list__button.equal, select-list__button.equal {
  padding: 2.4rem 2.5rem;
}
.button-sl.shadow, checkbox-list__button.shadow, select-list__button.shadow {
  box-shadow: -0.6rem 0.5rem 3rem 0 black;
}

.select-list-wrapper {
  margin-top: 3.2rem;
}

select-list {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  border: 0;
  padding: 0;
}
select-list__button {
  display: none;
  margin-top: 5rem;
}
select-list[button] select-list__button, select-list--button select-list__button {
  display: block;
}
select-list[contain], select-list--contain {
  margin: 0;
}
select-list.small select-list-item label {
  padding: 2rem 1rem;
}
select-list.small select-list-item .title {
  font-size: 1.2rem;
}
select-list.small select-list-item .price-wrap .value {
  font-size: 1.8rem;
}
select-list i.locked {
  display: none;
}
select-list[readonly] {
  pointer-events: none;
}
select-list[readonly] .title a,
select-list[readonly] .subtitle a {
  pointer-events: all;
}
select-list[readonly] select-list-item label {
  cursor: not-allowed;
}
select-list[readonly] i.checkmark {
  display: none;
}
select-list[readonly] .input:checked ~ i.locked {
  display: initial;
}

select-list-item {
  cursor: pointer;
  position: relative;
  width: 100%;
  background: #ffffff;
  transition: background 200ms;
}
select-list-item label {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 4rem 2rem;
}
select-list-item + select-list-item {
  border-top: 0.1rem solid #e8e8e8;
}
select-list-item .input {
  display: none;
}
select-list-item .checkmark,
select-list-item .locked {
  display: block;
  position: absolute;
  width: auto;
  left: 2rem;
  font-size: 1em;
  color: #87dd0e;
  will-change: transform;
  transition: transform 150ms ease-in;
}
select-list-item .checkmark {
  transform: scale(0);
}
select-list-item .header {
  margin-right: 1rem;
  transition: transform 150ms 50ms ease-in;
}
select-list-item .heading {
  font-weight: 700;
  font-size: 1.8rem;
  color: #000000;
  transition: color 150ms;
}
select-list-item .title {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.6rem;
  color: #888888;
  transition: color 150ms;
}
select-list-item .subtitle {
  font-size: 1.2rem;
  color: #888888;
}
select-list-item .description {
  margin-top: 0.6rem;
  font-size: 1.6rem;
  color: #585858;
}
select-list-item .included,
select-list-item .price-wrap {
  margin-left: auto;
  color: #989898;
  white-space: nowrap;
  transition: color 150ms;
}
select-list-item .price-group {
  font-size: 1.5rem;
  display: block;
  position: absolute;
  bottom: -20px;
  right: 3px;
}
select-list-item .price-wrap {
  display: none;
  text-align: right;
  position: relative;
}
select-list-item .price-wrap .value {
  font-weight: 300;
  font-size: 3.2rem;
  line-height: 0.8;
  vertical-align: bottom;
}
@media (min-width: 640px) {
  select-list-item .price-wrap .value {
    font-size: 4rem;
  }
}
select-list-item .price-wrap .suffix {
  font-weight: 400;
  font-size: 2rem;
}
select-list-item p.included {
  font-size: 2.4rem;
  font-weight: 300;
  line-height: 0.5;
}
select-list-item p.included:empty {
  display: none;
}
select-list-item .badge {
  margin-left: auto;
  line-height: 1.6rem;
  font-size: 2rem;
}
select-list-item .input:checked ~ .checkmark {
  transform: scale(1);
  transition: transform 150ms 50ms ease-in;
}
select-list-item .input:checked ~ .value-wrap {
  color: #000000;
}
select-list-item .input:checked ~ .header {
  margin-right: 5rem;
  transform: translateX(4.1rem);
}
select-list-item .input:checked ~ .header > select-list-item__title {
  color: #000000;
}
select-list-item[price]:not([price=""]):not([price="0"]) .price-wrap {
  display: block;
}
select-list-item[price]:not([price=""]):not([price="0"]) .badge {
  margin-left: 1rem;
}
select-list-item:hover {
  background: #f2f2f2;
}
select-list-item:hover .title {
  color: #000000;
}
select-list-item:hover .value-wrap {
  color: #000000;
}

checkbox-list {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  border: 0;
  padding: 0;
  background: white;
}
checkbox-list__button {
  display: none;
  margin-top: 5rem;
}
checkbox-list[button] checkbox-list__button, checkbox-list--button checkbox-list__button {
  display: block;
}
checkbox-list[contain], checkbox-list--contain {
  margin: 0;
}
checkbox-list.small select-list-item label {
  padding: 2rem 1rem;
}
checkbox-list.small select-list-item .title {
  font-size: 1.2rem;
}
checkbox-list.small select-list-item .price-wrap .value {
  font-size: 1.8rem;
}

checkbox-list-item {
  cursor: pointer;
  position: relative;
  width: 100%;
}
checkbox-list-item .title {
  text-shadow: none;
}
checkbox-list-item .checklistitem {
  align-items: center;
  flex-grow: 1;
  cursor: pointer;
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 4rem 2rem;
  display: flex;
}
checkbox-list-item .input {
  display: none;
}
checkbox-list-item .checkmark {
  position: absolute;
  opacity: 0;
  top: 50%;
  left: 50%;
  display: block;
  font-size: 1rem;
  height: auto;
  color: #ffffff;
  transform: translate(-50%, -50%);
  transition: opacity 200ms;
}
checkbox-list-item .input:checked ~ .checkbox-ui {
  border-color: #87dd0e;
}
checkbox-list-item .input:checked ~ .checkbox-ui .fill,
checkbox-list-item .input:checked ~ .checkbox-ui .checkmark {
  opacity: 1;
}
checkbox-list-item .bg {
  position: absolute;
  z-index: -1;
  opacity: 0.5;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-bottom: 2px solid #ddd;
  background: #fff;
  transition: opacity 0.2s;
}
checkbox-list-item .info {
  flex-grow: 1;
}
checkbox-list-item .title {
  font-weight: 700;
  font-size: 2rem;
  color: #000000;
}
checkbox-list-item .subtitle {
  margin-top: 0.6em;
  font-size: 1.6rem;
  color: #585858;
}
checkbox-list-item .suffix {
  margin-left: 9rem;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: #888888;
}
checkbox-list-item .checklistitem--important .suffix,
checkbox-list-item .checklistitem[important] .suffix {
  color: #585858;
}
checkbox-list-item .selected .bg,
checkbox-list-item .checklistitem:hover .bg {
  opacity: 1;
}
checkbox-list-item .checkbox {
  position: relative;
  display: block;
  flex-shrink: 0;
  margin-right: 2.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.2rem;
  overflow: hidden;
  background: #fff;
  border: 0.1rem solid #888888;
}
checkbox-list-item .fill {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #87dd0e;
}
checkbox-list-item .checkmark,
checkbox-list-item .fill {
  position: absolute;
  opacity: 0;
  transition: opacity 0.2s;
}
checkbox-list-item .input:checked ~ .checkbox {
  border-color: #87dd0e;
}
checkbox-list-item .input:checked ~ .checkbox .checkmark,
checkbox-list-item .input:checked ~ .checkbox .fill {
  opacity: 1;
}
checkbox-list-item .included,
checkbox-list-item .price-wrap {
  margin-left: auto;
  color: #989898;
  white-space: nowrap;
  transition: color 150ms;
}
checkbox-list-item .price-group {
  font-size: 1.5rem;
  display: block;
  position: absolute;
  bottom: -20px;
  right: 3px;
}
checkbox-list-item .price-wrap {
  display: none;
  text-align: right;
  position: relative;
}
checkbox-list-item .price-wrap .value {
  font-weight: 300;
  font-size: 3.2rem;
  line-height: 0.8;
  vertical-align: bottom;
}
@media (min-width: 640px) {
  checkbox-list-item .price-wrap .value {
    font-size: 4rem;
  }
}
checkbox-list-item .price-wrap .suffix {
  font-weight: 400;
  font-size: 2rem;
}
checkbox-list-item p.included {
  font-size: 2.4rem;
  font-weight: 300;
  line-height: 0.5;
}
checkbox-list-item p.included:empty {
  display: none;
}
checkbox-list-item[price]:not([price=""]):not([price="0"]) .price-wrap {
  display: block;
}

leaflet-map {
  min-width: 10vw;
  min-height: 10vw;
  position: relative;
  z-index: 3;
}
leaflet-map .map {
  border-radius: inherit;
  width: 100%;
  height: 100%;
}
leaflet-map .leaflet-tile {
  image-rendering: pixelated;
}
leaflet-map.no-control .leaflet-control-container {
  display: none;
}
leaflet-map .leaflet-control-attribution {
  display: none;
}
leaflet-map div.coordinates {
  position: absolute;
  right: 5px;
  bottom: 5px;
  min-height: 2rem;
  min-width: 2rem;
  background-color: white;
  border-radius: 5px;
  color: #333;
  font-family: Minecraft, monospace;
  font-size: 0.8rem;
  padding: 5px;
  z-index: 9999;
}
leaflet-map div.coordinates .coordinate-x,
leaflet-map div.coordinates .coordinate-y {
  display: inline-block;
  text-align: right;
  min-width: 3rem;
}
leaflet-map div.coordinates .coordinate-x {
  min-width: 3.5rem;
}
leaflet-map div.coordinates .coordinate-x:after {
  content: ", ";
}
leaflet-map .leaflet-control-legend {
  background: rgba(255, 255, 255, 0.9);
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
  max-height: 300px;
  overflow-y: auto;
  min-width: 150px;
}
leaflet-map .leaflet-control-legend .legend-header {
  font-weight: bold;
  margin-bottom: 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid #ccc;
  color: #333;
}
leaflet-map .leaflet-control-legend .legend-content {
  font-size: 14px;
}
leaflet-map .leaflet-control-legend .legend-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
leaflet-map .leaflet-control-legend .legend-item {
  margin: 5px 0;
}
leaflet-map .leaflet-control-legend .legend-item a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  padding: 3px 5px;
  border-radius: 3px;
  transition: background-color 0.2s;
  width: unset;
  height: unset;
}
leaflet-map .leaflet-control-legend .legend-item a:hover {
  background-color: rgba(0, 0, 0, 0.1);
}
leaflet-map .leaflet-control-legend .legend-icon {
  width: 32px;
  height: 32px;
  margin-right: 8px;
  -o-object-fit: contain;
     object-fit: contain;
}
leaflet-map .leaflet-control-legend .legend-label {
  flex: 1;
}
leaflet-map .leaflet-control-legend .legend-empty {
  color: #666;
  font-style: italic;
}
leaflet-map .leaflet-bottom.leaflet-right {
  margin-bottom: 3rem;
}

.shop-index-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}
.shop-index-wrapper .stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
@media (max-width: 1200px) {
  .shop-index-wrapper .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .shop-index-wrapper .stats-bar {
    grid-template-columns: 1fr;
  }
}
.shop-index-wrapper .stat-card {
  background: rgba(30, 30, 35, 0.8);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.shop-index-wrapper .stat-card .stat-number {
  font-size: 2rem;
  font-weight: 300;
  color: #ff9800;
  margin-bottom: 0.25rem;
}
.shop-index-wrapper .stat-card .stat-label {
  color: #888;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}
.shop-index-wrapper .shops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}
@media (max-width: 768px) {
  .shop-index-wrapper .shops-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
.shop-index-wrapper .shops-grid.hidden {
  display: none;
}
.shop-index-wrapper .shops-list {
  display: none;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}
.shop-index-wrapper .shops-list.active {
  display: flex;
}
.shop-index-wrapper bb-shop {
  display: block;
}
.shop-index-wrapper bb-shop.card-view {
  --border-radius: 8px;
}
.shop-index-wrapper bb-shop.card-view .shop-card {
  background: rgba(30, 30, 35, 0.8);
  border-radius: var(--border-radius);
  transition: transform 0.3s, box-shadow 0.3s;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
}
.shop-index-wrapper bb-shop.card-view .shop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.shop-index-wrapper bb-shop.card-view .shop-card .shop-header {
  background: rgba(20, 20, 25, 0.8);
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.shop-index-wrapper bb-shop.card-view .shop-card .shop-header .shop-name {
  font-size: 1.25rem;
  color: #fff;
  font-weight: 500;
}
.shop-index-wrapper bb-shop.card-view .shop-card .shop-header .shop-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.shop-index-wrapper bb-shop.card-view .shop-card .shop-header .shop-status .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.shop-index-wrapper bb-shop.card-view .shop-card .shop-header .shop-status .status-dot.active {
  background: #4caf50;
}
.shop-index-wrapper bb-shop.card-view .shop-card .shop-header .shop-status .status-dot.restocking {
  background: #ff9800;
}
.shop-index-wrapper bb-shop.card-view .shop-card .shop-header .shop-status .status-dot.inactive {
  background: #666;
}
.shop-index-wrapper bb-shop.card-view .shop-card .shop-header .shop-status .status-text {
  color: #888;
  font-size: 0.875rem;
}
.shop-index-wrapper bb-shop.card-view .shop-card .shop-map {
  height: 120px;
  background: #111;
  position: relative;
  overflow: hidden;
}
.shop-index-wrapper bb-shop.card-view .shop-card .shop-map leaflet-map {
  height: 100%;
}
.shop-index-wrapper bb-shop.card-view .shop-card .shop-map .map-placeholder {
  width: 100%;
  height: 100%;
  background: #222;
  display: flex;
  align-items: center;
  justify-content: center;
}
.shop-index-wrapper bb-shop.card-view .shop-card .shop-map .map-placeholder .placeholder-content {
  color: #666;
  font-size: 0.875rem;
}
.shop-index-wrapper bb-shop.card-view .shop-card .shop-map .shop-coords {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  background: rgba(0, 0, 0, 0.8);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  color: #aaa;
}
.shop-index-wrapper bb-shop.card-view .shop-card .shop-content {
  padding: 1.5rem;
}
.shop-index-wrapper bb-shop.card-view .shop-card .shop-content .shop-owner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: #888;
  font-size: 0.875rem;
}
.shop-index-wrapper bb-shop.card-view .shop-card .shop-content .shop-owner .owner-avatar {
  width: 24px;
  height: 24px;
  border-radius: 4px;
}
.shop-index-wrapper bb-shop.card-view .shop-card .shop-content .featured-items {
  margin-bottom: 1rem;
}
.shop-index-wrapper bb-shop.card-view .shop-card .shop-content .featured-items .featured-items-title {
  font-size: 0.75rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.shop-index-wrapper bb-shop.card-view .shop-card .shop-content .featured-items .items-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  justify-items: center;
}
.shop-index-wrapper bb-shop.card-view .shop-card .shop-content .featured-items .items-preview .item-icon {
  width: 55px;
  height: 55px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.shop-index-wrapper bb-shop.card-view .shop-card .shop-content .featured-items .items-preview .item-icon.empty {
  opacity: 0.3;
}
.shop-index-wrapper bb-shop.card-view .shop-card .shop-content .featured-items .items-preview .item-icon img {
  min-width: 24px;
  min-height: 24px;
  -o-object-fit: contain;
     object-fit: contain;
}
.shop-index-wrapper bb-shop.card-view .shop-card .shop-content .featured-items .items-preview .item-icon .item-placeholder {
  font-size: 0.75rem;
  color: #666;
  font-weight: bold;
}
.shop-index-wrapper bb-shop.card-view .shop-card .shop-content .featured-items .items-preview .item-icon .item-count {
  line-height: 1;
  position: absolute;
  bottom: -2px;
  right: -2px;
  background: #ff9800;
  color: #000;
  font-size: 0.625rem;
  padding: 0.125rem 0.25rem;
  border-radius: 2px;
  font-weight: bold;
  min-width: 12px;
  text-align: center;
}
.shop-index-wrapper bb-shop.card-view .shop-card .shop-content .shop-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.shop-index-wrapper bb-shop.card-view .shop-card .shop-content .shop-meta .shop-category {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.shop-index-wrapper bb-shop.card-view .shop-card .shop-content .shop-meta .shop-category .category-tag {
  background: rgba(255, 152, 0, 0.2);
  color: #ff9800;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
}
.shop-index-wrapper bb-shop.card-view .shop-card .shop-content .shop-meta .shop-item-count {
  color: #888;
  font-size: 0.875rem;
}
.shop-index-wrapper bb-shop.list-view .shop-list-item {
  background: rgba(30, 30, 35, 0.8);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  display: grid;
  grid-template-columns: 200px 1fr 150px 100px;
  gap: 2rem;
  align-items: center;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all 0.3s;
}
.shop-index-wrapper bb-shop.list-view .shop-list-item:hover {
  background: rgba(40, 40, 45, 0.8);
  transform: translateX(4px);
}
@media (max-width: 768px) {
  .shop-index-wrapper bb-shop.list-view .shop-list-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    text-align: center;
  }
}
.shop-index-wrapper bb-shop.list-view .shop-list-item .list-shop-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.shop-index-wrapper bb-shop.list-view .shop-list-item .list-shop-info .list-shop-name {
  color: #fff;
  font-weight: 500;
  font-size: 1.125rem;
}
.shop-index-wrapper bb-shop.list-view .shop-list-item .list-shop-info .list-shop-owner {
  color: #888;
  font-size: 0.875rem;
}
.shop-index-wrapper bb-shop.list-view .shop-list-item .list-items-preview {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.shop-index-wrapper bb-shop.list-view .shop-list-item .list-items-preview .list-item-icon {
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.shop-index-wrapper bb-shop.list-view .shop-list-item .list-items-preview .list-item-icon img {
  width: 20px;
  height: 20px;
  -o-object-fit: contain;
     object-fit: contain;
}
.shop-index-wrapper bb-shop.list-view .shop-list-item .list-items-preview .list-item-icon .item-placeholder {
  font-size: 0.75rem;
  color: #666;
  font-weight: bold;
}
.shop-index-wrapper bb-shop.list-view .shop-list-item .list-items-preview .list-item-count {
  color: #888;
  font-size: 0.875rem;
  margin-left: 0.5rem;
}
.shop-index-wrapper bb-shop.list-view .shop-list-item .list-shop-location {
  color: #aaa;
  font-size: 0.875rem;
  text-align: right;
  font-family: monospace;
}
@media (max-width: 768px) {
  .shop-index-wrapper bb-shop.list-view .shop-list-item .list-shop-location {
    text-align: center;
  }
}
.shop-index-wrapper bb-shop.list-view .shop-list-item .list-shop-status {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}
@media (max-width: 768px) {
  .shop-index-wrapper bb-shop.list-view .shop-list-item .list-shop-status {
    justify-content: center;
  }
}
.shop-index-wrapper bb-shop.list-view .shop-list-item .list-shop-status .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.shop-index-wrapper bb-shop.list-view .shop-list-item .list-shop-status .status-dot.active {
  background: #4caf50;
}
.shop-index-wrapper bb-shop.list-view .shop-list-item .list-shop-status .status-dot.restocking {
  background: #ff9800;
}
.shop-index-wrapper bb-shop.list-view .shop-list-item .list-shop-status .status-dot.inactive {
  background: #666;
}
.shop-index-wrapper bb-shop.list-view .shop-list-item .list-shop-status .status-text {
  color: #888;
  font-size: 0.875rem;
}
.shop-index-wrapper .no-shops {
  grid-column: 1/-1;
  text-align: center;
  padding: 3rem 2rem;
  background: rgba(30, 30, 35, 0.5);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.shop-index-wrapper .no-shops p {
  color: #888;
  margin-bottom: 1.5rem;
}

bb-shop .shop-slot-tooltip {
  min-width: -moz-max-content !important;
  min-width: max-content !important;
}
bb-shop .shop-slot-tooltip minecraft-payment-blocks,
bb-shop .shop-slot-tooltip minecraft-price {
  align-self: flex-end;
  justify-content: flex-end;
  display: flex;
  flex-flow: column;
}
bb-shop .shop-slot-tooltip minecraft-payment-blocks {
  align-self: end;
}
bb-shop .shop-slot-tooltip minecraft-payment-blocks mc-image img {
  width: 48px;
  height: 48px;
}
bb-shop .shop-slot-tooltip .tooltip-left mc-image img {
  width: 48px;
  height: 48px;
}
bb-shop .shop-slot-tooltip .tooltip-title {
  text-wrap: none;
}
bb-shop:hover {
  z-index: 100;
}

search-filter-bar {
  display: block;
  background: rgba(30, 30, 35, 0.8);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
search-filter-bar:has(.filter-row:not([hidden])) .search-row {
  margin-bottom: 1rem;
}
search-filter-bar input {
  height: auto;
}
search-filter-bar .search-row {
  display: flex;
  gap: 1rem;
  align-items: stretch;
}
search-filter-bar .search-row .search-input {
  flex: 1;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 1rem;
}
search-filter-bar .search-row .search-input::-moz-placeholder {
  color: #666;
}
search-filter-bar .search-row .search-input::placeholder {
  color: #666;
}
search-filter-bar .search-row .search-input:focus {
  outline: none;
  border-color: #ff9800;
  box-shadow: 0 0 0 2px rgba(255, 152, 0, 0.2);
}
search-filter-bar .search-row .search-btn {
  background: #ff9800;
  color: #000;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}
search-filter-bar .search-row .search-btn:hover {
  background: #ffa726;
}
search-filter-bar .filter-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
@media (max-width: 768px) {
  search-filter-bar .filter-row {
    flex-direction: column;
    align-items: stretch;
  }
}
search-filter-bar .filter-row .filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
search-filter-bar .filter-row .filter-group label {
  font-size: 0.75rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
search-filter-bar .filter-row .filter-group select {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  min-width: 150px;
}
search-filter-bar .filter-row .filter-group select:focus {
  outline: none;
  border-color: #ff9800;
  box-shadow: 0 0 0 2px rgba(255, 152, 0, 0.2);
}
search-filter-bar .filter-row .view-toggle {
  display: flex;
  gap: 0.5rem;
  margin-left: auto;
}
@media (max-width: 768px) {
  search-filter-bar .filter-row .view-toggle {
    margin-left: 0;
    margin-top: 1rem;
  }
}
search-filter-bar .filter-row .view-toggle .view-btn {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #888;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 4px;
}
search-filter-bar .filter-row .view-toggle .view-btn:hover {
  background: rgba(255, 152, 0, 0.2);
  color: #ff9800;
  border-color: #ff9800;
}
search-filter-bar .filter-row .view-toggle .view-btn.active {
  background: #ff9800;
  color: #000;
  border-color: #ff9800;
}

search-filter-results {
  width: 100%;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.page-btn, al-pager ul li {
  background: rgba(30, 30, 35, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #888;
  padding: 0.5rem 0.75rem;
  min-width: 40px;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 4px;
}
.page-btn:hover, al-pager ul li:hover {
  background: rgba(255, 152, 0, 0.2);
  color: #ff9800;
  border-color: #ff9800;
}
.page-btn.afp-active, al-pager ul li.afp-active, .page-btn.active, al-pager ul li.active, .page-btn.afp-active a, al-pager ul li.afp-active a, .page-btn.active a, al-pager ul li.active a {
  background: #ff9800 !important;
  color: #000 !important;
  border-color: #ff9800 !important;
}

.page-info {
  color: #888;
  margin: 0 1rem;
}

al-pager ul li a, al-pager ul li a:hover {
  padding: 0;
  transition: none;
  color: unset;
  border-radius: unset;
  background-color: unset !important;
}

.mc-item-select-entry {
  display: flex;
  align-items: center;
}
.mc-item-select-entry .item-image {
  margin-right: 1rem;
}
.mc-item-select-entry .item-image mc-image {
  width: 48px;
  height: 48px;
}

user-name {
  display: inline-flex;
  align-items: center;
  vertical-align: bottom;
}
user-name player-avatar {
  display: inline-block;
  margin-right: 3px;
}
user-name player-avatar img {
  height: 16px;
}

player-avatar[render-type=face],
span.emoji {
  vertical-align: sub;
}

.emoji .mcicon {
  width: 24px;
  height: 24px;
}

.mcicon,
player-avatar[render-type=face] canvas,
player-avatar[render-type=face] img {
  max-width: none !important;
  margin: 0 !important;
  display: inline !important;
}

player-avatar {
  display: flex;
  justify-content: center;
}
player-avatar.inline {
  display: inline-flex;
}
player-avatar .skinview {
  display: flex;
}
player-avatar .skinview img {
  -o-object-fit: contain;
     object-fit: contain;
  margin: auto;
  width: 180px;
  height: 250px;
}
player-avatar[render-type=face] canvas,
player-avatar[render-type=face] img {
  width: 16px;
  height: 16px;
}

minecraft-item,
minecraft-reputation {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}

minecraft-item[readonly] mc-image {
  max-width: 48px;
  max-height: 48px;
}
minecraft-item[readonly] .mcl-item-amount {
  position: absolute;
  top: 1.9rem;
  left: 2.2rem;
  color: white;
  font-family: "Minecraft";
  font-weight: bold;
  text-shadow: 1px 0px 4px black, 2px 0px 4px black, 0px 1px 4px black;
  width: 1.2rem;
  text-align: right;
}
minecraft-item[mode=icon] > minecraft-tooltip {
  display: none;
  position: absolute;
  z-index: 90;
  min-width: 15rem;
}
minecraft-item[mode=icon]:hover > mc-image {
  anchor-name: --current-item;
}
minecraft-item[mode=icon]:hover > minecraft-tooltip {
  display: flex;
  position-anchor: --current-item;
  transform: translateX(62%);
  bottom: calc(anchor(top) + 1rem);
  position-area: start;
}

mc-image {
  display: inline-block;
}
mc-image > .img-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}
mc-image > .img-wrapper img,
mc-image > .img-wrapper canvas {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  image-rendering: pixelated;
}

minecraft-tooltip {
  display: flex;
}
minecraft-tooltip .mct-wrapper {
  display: flex;
  flex: 1 1;
}
minecraft-tooltip .image-wrapper {
  position: relative;
}
minecraft-tooltip .tooltip-left {
  position: relative;
  flex: 0 1;
  display: flex;
  min-width: auto;
  align-items: flex-start;
}
minecraft-tooltip .tooltip-left:empty {
  display: none;
}
minecraft-tooltip .tooltip-left .itemstack-count {
  position: absolute;
  right: 13px;
  bottom: 1px;
  color: white;
  font-family: "Minecraft";
  font-weight: bold;
  text-shadow: 1px 0px 4px black, 2px 0px 4px black, 0px 1px 4px black;
}
minecraft-tooltip .tooltip-right {
  flex: 10 1;
  display: flex;
  flex-flow: column;
}
minecraft-tooltip .tooltip-title,
minecraft-tooltip .tooltip-line {
  min-height: 10px;
  max-width: 18rem;
  display: inline-block;
  text-wrap: wrap;
  padding-left: 2rem;
  text-indent: -2rem;
}
minecraft-tooltip minecraft-payment-blocks {
  z-index: 91;
}

minecraft-tooltip,
.mc-tooltip {
  background-color: #100010;
  background-color: rgba(16, 0, 16, 0.94);
  padding: 6px;
  font-family: Minecraft, "WenQuanYi Bitmap Song", SimSun, Unifont, NISC18030, Beijing, Courier, sans-serif;
  font-size: 16px;
  word-spacing: 4px;
  white-space: nowrap;
  line-height: 1.25em;
  margin: 2px 4px;
  position: relative;
  color: #FFF;
  text-shadow: 2px 2px 0 #3F3F3F;
}
minecraft-tooltip .mct-wrapper,
.mc-tooltip .mct-wrapper {
  padding: 2px;
}
minecraft-tooltip::before, minecraft-tooltip::after,
.mc-tooltip::before,
.mc-tooltip::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
minecraft-tooltip::before,
.mc-tooltip::before {
  top: 2px;
  right: -1px;
  bottom: 2px;
  left: -1px;
  border: 2px solid #100010;
  border-style: none solid;
  border-color: rgba(16, 0, 16, 0.94);
}
minecraft-tooltip::after,
.mc-tooltip::after {
  top: 2px;
  right: 0;
  bottom: 2px;
  left: 0;
  border: 2px solid #2D0A63;
  -o-border-image: linear-gradient(rgba(80, 0, 255, 0.31), rgba(40, 0, 127, 0.31)) 1;
     border-image: linear-gradient(rgba(80, 0, 255, 0.31), rgba(40, 0, 127, 0.31)) 1;
}
minecraft-tooltip.rarity-common,
.mc-tooltip.rarity-common {
  --rarity-text-color: #fff;
}
minecraft-tooltip.rarity-uncommon,
.mc-tooltip.rarity-uncommon {
  --rarity-text-color: #ffff55;
}
minecraft-tooltip.rarity-rare,
.mc-tooltip.rarity-rare {
  --rarity-text-color: #55ffff;
}
minecraft-tooltip.rarity-epic,
.mc-tooltip.rarity-epic {
  --rarity-text-color: #ff55ff;
}
minecraft-tooltip .tooltip-tooltips,
.mc-tooltip .tooltip-tooltips {
  color: #a8a8a8;
  display: flex;
  flex-flow: column;
}
minecraft-tooltip .tooltip-title,
.mc-tooltip .tooltip-title {
  color: var(--rarity-text-color, #fff);
}
minecraft-tooltip .tooltip-left mc-image,
.mc-tooltip .tooltip-left mc-image {
  margin-right: 1rem;
}
minecraft-tooltip.disabled,
.mc-tooltip.disabled {
  filter: grayscale(1);
}
minecraft-tooltip.warning,
.mc-tooltip.warning {
  filter: grayscale(0.4);
}

minecraft-shop {
  display: flex;
  flex-flow: column;
  padding: 1rem;
  background: rgba(10, 10, 10, 0.5);
  border-radius: 4px;
}
minecraft-shop player-avatar {
  zoom: 0.6;
}
minecraft-shop mc-image {
  width: 48px;
  height: 48px;
}
minecraft-shop .top {
  min-height: 11rem;
}
minecraft-shop .top,
minecraft-shop .bottom {
  display: flex;
}
minecraft-shop .top {
  margin-bottom: 1rem;
}
minecraft-shop .shop-info {
  font-family: Minecraft;
  margin-left: 1rem;
  display: flex;
  flex-flow: column;
  padding-top: 1rem;
  flex: 3 1;
}
minecraft-shop .shop-info .shop-name {
  font-size: 2rem;
  text-shadow: 1px 2px 0px black, 3px 3px 4px black;
}
minecraft-shop .shop-info .shop-by {
  margin-top: 0.5rem;
}
minecraft-shop .shop-map {
  flex: 0 1 33%;
}
minecraft-shop .shop-map leaflet-map {
  border-radius: 5px;
}
minecraft-shop .shop-slots {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 0.5rem;
  /*
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
  gap: 0.5rem;
  justify-content: flex-start;
  */
}
minecraft-shop minecraft-payment-blocks,
minecraft-shop minecraft-price {
  align-self: flex-end;
  justify-content: flex-end;
  display: flex;
  flex-flow: column;
}
@media (max-width: 1024px) {
  minecraft-shop .shop-slots {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 650px) {
  minecraft-shop .shop-slots {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 450px) {
  minecraft-shop .top {
    display: grid;
    grid-template-columns: 1fr;
  }
  minecraft-shop .top .shop-map {
    width: 100%;
    height: 18rem;
    margin-top: 1rem;
  }
}

minecraft-payment-blocks,
minecraft-price {
  display: flex;
  border-radius: 6px;
  align-self: flex-start;
}
minecraft-payment-blocks minecraft-item .tooltip-left .image-wrapper mc-image,
minecraft-price minecraft-item .tooltip-left .image-wrapper mc-image {
  margin-right: 0;
}
minecraft-payment-blocks minecraft-item .tooltip-left .image-wrapper .itemstack-count,
minecraft-price minecraft-item .tooltip-left .image-wrapper .itemstack-count {
  font-size: 1.4rem;
  right: 1px;
}
minecraft-payment-blocks minecraft-item minecraft-tooltip,
minecraft-price minecraft-item minecraft-tooltip {
  background: transparent;
  padding: 0;
}
minecraft-payment-blocks minecraft-item minecraft-tooltip .tooltip-right,
minecraft-price minecraft-item minecraft-tooltip .tooltip-right {
  display: none;
}
minecraft-payment-blocks minecraft-item minecraft-tooltip::before, minecraft-payment-blocks minecraft-item minecraft-tooltip::after,
minecraft-price minecraft-item minecraft-tooltip::before,
minecraft-price minecraft-item minecraft-tooltip::after {
  display: none;
}
minecraft-payment-blocks minecraft-item minecraft-tooltip .image-wrapper,
minecraft-price minecraft-item minecraft-tooltip .image-wrapper {
  zoom: 0.7;
}

minecraft-cooldown {
  display: block;
}