body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: white;
  color: #000;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  
}

html, body {
  height: 100%;
  
  overscroll-behavior: contain; /* предотвращает странные скроллы */
}

main {
  padding-bottom: 150px; /* Make room for footer */
  flex: 1 0 auto;
  position: relative;
  z-index: 1;
}

.mobilebody #gallery {margin-top:0px!important;}
.mobilebody #user-info {text-align:center;}

header.controls {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: white;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 25px;
  align-items: stretch;
  box-sizing: border-box;
  flex-wrap: nowrap;
  position: sticky;
  align-items: stretch;
  
}
	#mobile-controls {justify-content:center;}

#iykyk-wink {
  position: absolute;
  top: -22px;
  right: 0px; /* регулируй это под своё */
  white-space: nowrap;
  
  color: #b41aa7;
  font-size: 14px;
  font-weight: bold;
  z-index: 10;
}

#iykyk-wink.show {
  display: block;
}

.id-input-block {
   flex-grow: 1; /* Растягивается */
  display: flex;
  flex-direction: column;
  position:relative;
}

.controls-row {
  display: inline-flex;
  align-items: stretch;
  gap: 20px;
}


.right-blocks {
 flex: 0 0 300px;
 flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 15px; /* Расстояние между блоками */
height:100%;
}

/* Делаем wallet-lookup под textarea */
.wallet-lookup {
  padding: 0 !important; /* Убираем старые отступы */
  margin-top: 0 !important;
   flex-shrink: 0; /* Не сжимается */
}

/* Делаем кнопку во всю ширину */
#walletLookupBtn {
  width: 100%;
  margin-top: 5px;
}

.filter-block {
  flex: 1 1 auto;
  min-width: 0;
}

.right-blocks {
  flex: 0 0 300px;
  width: 300px;
}


  #idFilter {
   flex-grow: 1; /* Занимает всё доступное пространство */
  width: 100%;
  min-height: 100px;
  resize: none;
  }

    .filter-top-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }


.wallet-lookup{display:flex;  flex-direction: column;  justify-content: center;  /* Центрує по вертикалі */
}

.filter-label{text-align:center;}



#filter-reset {background-color:#5992a5; color:white;}


.zoom-control {
  flex-shrink: 0;
  white-space: nowrap;
  display: flex;
  align-items: center;
  margin-right:8px;
}

.filter-top-row select {
  height: auto;
  padding: 4px;
}

.filter-checkbox-grid {
  display: flex;
  flex-wrap: wrap;    /* добавляем */
  gap: 12px;
  align-items: flex-start;
}


.filter-checkbox-grid label,
.filter-pair label {
  display: flex;
  align-items: center;
  gap: 4px;
}
.filter-pair {
  display: flex;
  align-items: flex-start;
  padding-right: 12px;
  border-right: 1px solid #cccccc;
  flex-shrink: 0; /* чтобы блоки не сжимались */
}

.filter-pair:last-child{border-right:none;}

.filter-label {
	margin-right: 5px;
  line-height: 1.2;
}

.filter-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.filter-checkboxes label {
  display: flex;
  align-items: center;
  gap: 4px;
}

input[type="checkbox"] {
  vertical-align: middle;
}

.gallery {
  padding: 4px;
  display: grid;
  gap: 4px;
  row-gap: 22px;
  max-width: 100vw; /* 💥 не шире экрана */
  box-sizing: border-box;
}


#gallery {
  padding-bottom: 200px; /* slightly more than footer height */
}

.gallery-empty-state {
  grid-column: 1 / -1;
  align-self: start;
  justify-self: center;
  width: min(520px, calc(100vw - 32px));
  margin: 28px auto;
  padding: 18px 20px;
  border: 1px solid #d6dde2;
  border-radius: 6px;
  background: #fff;
  color: #27343b;
  text-align: center;
  box-shadow: 0 10px 24px rgba(25, 37, 45, 0.08);
  cursor: pointer;
}

.gallery-empty-state strong,
.gallery-empty-state span {
  display: block;
}

.gallery-empty-state strong {
  margin-bottom: 6px;
  font-size: 16px;
}

.gallery-empty-state span {
  color: #63717a;
  font-size: 14px;
}


.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1; /* 💥 делает квадратные */
  object-fit: cover;   /* или 'contain' если не хочешь обрезки */
  cursor: pointer;
  border-radius: 4px;
  transition: opacity 0.2s;
  z-index: 1;
  position: relative;
}

.gallery img:hover {
  opacity: 0.8;
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;

  background: white;
  backdrop-filter: blur(8px);

  display: flex;
  flex-direction: row;
  /* `safe center` keeps the panel centred when it fits, but falls back to
     top-aligned when it's taller than the viewport – otherwise flex centering
     pushes the panel's top (the Lab/Market toggle) above the scroll origin
     where it can't be reached. Plain `center` is the fallback for old browsers. */
  align-items: center;
  align-items: safe center;
  justify-content: center;

  overflow-y: auto;  /* скролл всего лайтбокса */
  overflow-x: hidden;

  z-index: 2000;
  padding: 20px 20px 100px 20px;
  box-sizing: border-box;
}

#lightbox-wrapper {
  max-height: none;
  overflow: visible;
}

.lightbox.hidden {
  display: none;
}

#close-lightbox {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 40px;
  cursor: pointer;
}

#lightbox-image {
  max-height: 60vh;
  aspect-ratio: 1 / 1!important;
}


.dual-wrapper {
  display: flex;
  align-items: center; /* 🟢 по вертикали по центру */
  justify-content: center;
  gap: 10px;
  height: 60vh;
}

.dual-wrapper img {
  width: 50%;
  max-width: 50%;
  height: auto;
  object-fit: contain;
}

.dual-wrapper .info-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5px;
  text-align: center;
  font-size: 0.9em;
  line-height: 1.3;
  box-sizing: border-box;
}

/* The CENT # header ends with a <br> that becomes an empty full-height flex
   line in this column, opening a big gap before the traits. Hide it and give
   the title a small, controlled margin instead. */
.dual-wrapper .info-box br { display: none; }
.dual-wrapper .info-box strong { display: block; margin-bottom: 4px; }

#lightbox-image-back
{cursor: pointer;}
#lightbox-image-back.flipped-vertical {
    transform: rotate(180deg);

}

.triple-mode .img-label{display:none!important;}
/* Info grid: each tile was height:60vh, so the coin floated in a huge box and
   rows sat ~600px apart (looked like there was no second row). Size to content. */
.triple-mode .img-wrapper .dual-wrapper { height: auto; }
.triple-mode .img-wrapper .dual-wrapper img {object-fit:cover!important; aspect-ratio:1/1!important; height:auto!important; align-self:center!important; object-position:left center!important;}

.info-box hr{width:50%;}




#image-info {
  margin-top: 1rem;
  text-align: left;
  color: #000;
  margin-left: 5px;
}

#mp-info{
  margin-left:40px;
  min-width:260px;
  padding-top:100px;
  max-width:600px;
}

#mp-info h6 {text-align:center; font-size:16px;}

.image-info .logic-toggle{margin:20px auto 20px;}

#traits-block > div:last-child {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

#traits-block .trait-item { 

  width: auto;
  display: flex;
  align-items: center;
  padding: 0 10px;
  margin: 0;
  box-sizing: border-box;
  border-right: 1px solid #ddd;
}

#traits-block .trait-item:first-child {
 
}

#traits-block .trait-item:last-child {
  border-right: none !important;
  padding-right: 0;
}

.img-wrapper {
  
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-wrapper {
  display: grid;
  grid-template-rows: auto auto auto;
  align-items: start;
  justify-items: stretch;
  min-width: 0;
}

.img-wrapper > img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto !important;
  object-fit: cover;
}

.img-label {
  margin-top: 0px;
  font-weight:700;
  text-align: center;
}
.price-tag{text-align:center;margin-top:8px;font-size:0.9em;}
.price-tag[hidden]{display:none!important;}
.mp-offer-count{color:#777;font-size:0.82em;font-weight:400;}
.mp-offer-source{display:block;color:#777;font-size:0.72em;font-weight:500;line-height:1.1;}


/*header {box-shadow:0px 2px 7px rgba(0,0,0,0.05);}*/

input[type='range']{ accent-color: #ffffff; transform: rotate(180deg);  }

.site-title {
  font-size: 18px;
  line-height: 1.1;
  padding: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  color: #111;
  white-space:nowrap;
  padding: 0px 30px 0px 45px;
  justify-content:center;
}

.site-title h1 {
	font-weight:400;
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  white-space:nowrap;
}

input[type="checkbox"] {
  accent-color: #bbb; /* светло-серый */
}


.filter-solo-block {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  row-gap: 4px;
  max-width: 100%;
  margin-top: 4px;
}


.filter-solo-block label {
  display: flex;
  align-items: center;
  gap: 4px;
	margin-right:8px;
  white-space: nowrap;
}


.filter-inprogress-block{ display: flex;
  flex-wrap: wrap;
  gap: 4px;
  row-gap: 4px;
  max-width: 100%;
  margin-top: 4px;}

.filter-inprogress-block label {
  display: flex;
  align-items: center;
  gap: 4px;
	margin-right:8px;
  white-space: nowrap;
}

#work-in-progress-select{}





#impressum {padding:4vw 4vw;max-width:800px;margin:0 auto;line-height:1.5;}

#impressum h1 {text-align:center;}

#impressum h2 {margin-top:35px;}

footer {
  width: 100%;
  background: white;
  padding: 15px 20px;
  text-align: center;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 10000;
}

footer #menu-footer > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* ✅ Center the links */
  gap: 15px;
}

footer a {
  color: black;
  font-weight: 400;
  text-decoration: none;
}




.filter-top-row button{padding:5px 12px!important;border-radius:0px!important;}
.filter-top-row select{padding:4px 12px!important;border-radius:0px!important;}


#walletLookup, #walletLookupBtn{margin-top:5px;}
#walletLookup{box-sizing: border-box;border: 1px solid #222;
    border-radius: 0px !important;padding:4px;}

#idFilter{border-radius:0px!important;border:2px solid black;box-sizing: border-box;}


.half-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  clip-path: inset(0 0% 0 0); /* Показываем левую половину */
}

.full-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio:auto!important;
}
#walletLookupBtn{
    padding: 4px 12px !important;
    border-radius: 0px !important;
border: 1px solid #555;
cursor:pointer;}



textarea:focus,
input:focus {
  outline: none;
  border-radius: 0;
}




#zoomRange {
  -webkit-appearance: none;
  width: 300px;
  height: 10px;
  background: #ddd;
  border-radius: 5px;
  outline: none;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

/* Chrome, Safari */
#zoomRange::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 32px;
  height: 32px;
  background: url('pics/slider.jpg') no-repeat center;
  background-size: cover;
  border: none;

  cursor: pointer;
}

/* Firefox */
#zoomRange::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 32px;
  height: 32px;
  background: url('pics/slider.jpg') no-repeat center center;
  background-size: cover;
  border: none;
  border-radius: 50%;
  display: block;
  box-sizing: border-box;
  box-shadow: 0 0 4px rgba(0,0,0,0.3);
  position: relative;
}




.filter-top-row {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 10px;
  margin-bottom: 10px;
}

.filter-row-upper,
.filter-row-lower {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.filter-row-upper {
  justify-content: flex-start;
}

.filter-row-lower {
  justify-content: flex-start;
  margin-top: 6px;
}

.zoom-control {
 
  min-width: 200px;
}

#amountdiv {
  flex: 0 0 auto;

  white-space: nowrap;
}

.filter-row-upper select,
.filter-row-lower select,
.filter-row-lower button {
  flex: 0 0 auto;
  padding: 4px 10px;
  min-width: 130px;
}

.coin-label {
  display: inline-flex;
  align-items: center;
  gap: 5px; /* расстояние между иконкой и текстом */
  line-height: 1;
}
.coin-icon {
  width: 20px; /* немного меньше, чтобы не сдвигался текст */
  height: 20px;
  object-fit: cover;
  object-position: left center;
  border-radius: 3px;
}

#centamount{  min-width: 5ch;}




.select-wrapper {
  position: relative;
  display: inline-block;
  
  background: white;
  padding: 0;
  box-sizing: border-box;
}

.select-wrapper select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  width: 100%;
  padding: 4px 36px 5px 12px !important;
  font-size: 14px;
  border: none;
  background: transparent;
  outline: none;
  box-sizing: border-box;
    text-align: center;
	border-radius: 0 !important;
    -webkit-appearance: none !important;

}
.select-wrapper.select-arrow  select {border:2px solid black; }

/* Псевдострелка */
.select-wrapper.select-arrow::after {
  content: '▼';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 12px;
  color: black;
}
#auth-wrapper {
  position: fixed;
  top: 25%;
  right: -24px;
  z-index: 10000;

  transform: translateX(240px); /* скрыто */
  transition: transform 0.3s ease;
}

#auth-wrapper.open {
  transform: translateX(0);
}

/* кнопка едет ВМЕСТЕ с панелью */
#auth-toggle {
  position: absolute;
  left: -89px;
  top: 0;
  width: 90px;
  padding: 8px 12px;
  cursor: pointer;
  background: white;
  
  border: 1px solid #ccc;
  border-right: none;
  box-shadow: -4px 3px 5px rgba(0,0,0,0.04);
  /* Поднимаем кнопку над границей */
  z-index: 1;
}

#auth {
  width: 240px;
  background: #fff;
  border: 1px solid #ccc;
  padding: 12px;
  box-shadow: -4px 3px 5px rgba(0,0,0,0.04);
  /* Левая граница остается! */
}

/* твой стиль */
#auth-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#auth-section h3 {
  margin-bottom: 5px;
  font-size: 17px;
  font-weight: 400;
}

#auth-section input {
  width: 100%;
  margin-bottom: 10px;
}

#login-buttons {
  display: flex;
  gap: 10px;
}




  .candidate-traits {margin-top:4px;}
  
  #GDC, #centss, #TB{margin: 20px 0!important;}


/* Правые блоки группируем как колонку */
.id-input-block,
.wallet-lookup,
#auth {
    display: flex;
    flex-direction: column;
    
}


#all-controls {
    
}




#all-controls {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  transition: transform 0.25s ease;
  transform: translateY(0);

  background: #fff;
  z-index: 999;
}
#all-controls.hidden {
  transform: translateY(-100%);
}


.candidate-traits{display:none;}

#lightbox a{color:black; text-decoration:none;}
#lightbox a:hover{color:gray;}


.logic-toggle {
  position: relative;
  width: 140px;
  height: 29px;
  background: #bbbbbb;
  cursor: pointer;
box-shadow: inset 1px 1px 0px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  padding: 0;
  font-family: sans-serif;
  user-select: none;
}

.logic-toggle .label {
  width: 50%;
  text-align: center;
  font-size: 13px;
  z-index: 2;
  color: #555;
  position: relative;
}

.logic-toggle .thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: calc(50% - 3px);
  height: 25px;
  background: #fff;
  transition: transform 0.25s ease;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.25);
}





/* OR mode */
.logic-toggle.or .thumb {
  transform: translateX(100%);
}

.logic-toggle.or .or {
  color: #222;
}

.logic-toggle:not(.or) .and {
  color: #222;
}


.logic-toggle .label {
  position: relative;
}

/* tooltip */
.logic-toggle .label::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 6px;

  background: #ffffff;
  color: #222;
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 11px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.05s ease;
  border:1px solid #dddddd;
  box-shadow: 2px 2px 2px rgba(0,0,0,0.12);
}

/* show on hover */
.logic-toggle .label:hover::after {
  opacity: 1;
}
.view-switch {
  position: relative;
  width: 210px;
  height: 29px;
  padding: 2px;
  box-sizing: border-box;
  background: #bbb;
  display: flex;
  font-family: sans-serif;
  user-select: none;
  box-shadow: inset 1px 1px 0px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  
  /* Градиентные разделители с отступами сверху и снизу */
  background-image: linear-gradient(
    to right,
    transparent calc(33.333% - 0.5px),
    rgba(0, 0, 0, 0.25) calc(33.333% - 0.5px),
    rgba(0, 0, 0, 0.25) calc(33.333% + 0.5px),
    transparent calc(33.333% + 0.5px),
    transparent calc(66.666% - 0.5px),
    rgba(0, 0, 0, 0.25) calc(66.666% - 0.5px),
    rgba(0, 0, 0, 0.25) calc(66.666% + 0.5px),
    transparent calc(66.666% + 0.5px)
  );
  /* Отступы 10% сверху и снизу (80% высоты, по 10% с каждой стороны) */
  background-size: 100% 80%;
  background-position: 0 50%;
  background-repeat: no-repeat;
}


/* Палочки-разделители */
.view-switch > .view-btn:not(:last-child) {
  position: relative;
}


.view-btn {
  flex: 1;
  border: none;
  background: none;
  font-size: 13px;
  cursor: pointer;
  color: #222;
  /* Исправление: убираем z-index, чтобы палочки были над thumb */
  position: relative;
}

.view-btn.active {
  color: #000;
}

.view-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: calc((100% - 4px) / 3);
  height: calc(100% - 4px);
  background: #fff;
  transition: transform 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  pointer-events: none;
  /* Исправление: поднимаем z-index, чтобы thumb был под текстом */
  z-index: 1;
}

/* Дополнительное исправление - увеличьте z-index для текста кнопок */
.view-btn {
  z-index: 2;
}

/* смещение thumb */
.view-switch[data-view="0"] .view-thumb {
  transform: translateX(0);
}

.view-switch[data-view="1"] .view-thumb {
  transform: translateX(100%);
}

.view-switch[data-view="2"] .view-thumb {
  transform: translateX(200%);
}



@media (min-width: 1600px) {
.controls-row{gap:200px;}
}







/* On desktop: fixed */
@media (min-width: 1025px) {
   footer {
    position: fixed;
    bottom: 0;
    left: 0;
  }
}

/* On tablets and phones: static, scrolls naturally */
@media (max-width: 1024px) {
  footer {
	
    box-shadow: none;
    padding: 1.5rem 0 2rem;
  }
}


@media (max-width: 800px) {
	
	.lightbox {
    
    flex-direction: column !important;}
	
	.dual-wrapper {
   display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  max-width: 100%!important;
    width: 100%!important;
}
	
	.dual-wrapper img {
		height:auto!important; max-height:none!important;
  width: 100%;
  max-width: 90vw;  /* или 100% от .dual-wrapper */
  height: auto;
  object-fit: contain !important;
}
}

@media (max-width: 1024px) {
	
	
  /* auth-wrapper становится обычным блоком */
  #auth-wrapper {
    position: static;
    transform: none !important;
    transition: none;
    width: 100%;
    margin-top: 12px;
  }

  /* кнопка выезда – НАХУЙ */
  #auth-toggle {
    display: none;
  }

  /* сам auth – обычный блок */
  #auth {
    width: 100%;
    border: none;
    box-shadow: none;
    padding: 0;
    background: transparent;
  }

  /* выравнивание аккуратное */
  #auth-section {
    align-items: stretch;
  }

  #auth-section input {
    width: 100%;
  }

  #login-buttons {
    justify-content: space-between;
  }
  
  
	  .controls-row {
    display: flex;
    flex-direction: column;   /* ⬇️ друг под другом */
    gap: 16px;
  }

  .filter-block {
    width: 100%;
  }

  .right-blocks {
    width: 100%;
  }

  /* textarea фиксированной высоты */
  #idFilter {
    height: 200px;
    min-height: 200px;
    resize: vertical; /* если вдруг захочешь */
  }



	#auth-section{width:100%!important;}
	#auth-section input{max-width:200px!important;border:2px solid black;}
	#login-buttons button{border:2px solid black;}
	
	footer {padding:15px 0px;}
	.gallery {
  width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
  padding: 4px;
  display: grid;
  gap: 4px;
  row-gap: 22px;
  grid-template-columns: repeat(2, 1fr); /* на мобилке фиксируем на 2 */
}
	
	.dual-wrapper{
		
		 display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  max-width: 70%;
	}
	
	.dual-wrapper img {
  
	max-width: 45% !important;
    object-fit: contain;
  }
	.cent-info {margin-top:30px!important;}
	
	#lightbox{    flex-direction: column;       /* инфа под картинкой */
    align-items: center;
    justify-content: flex-start;  /* контент сверху вниз */
    overflow-y: auto;             /* включаем скролл */
    -webkit-overflow-scrolling: touch;
}
	#lightbox-image {
    width: 55vw!important;
    height: 55vw!important;
    object-fit: contain;
    max-width: none;
    max-height: none;
  }
  
	 .img-wrapper {
    flex-direction: column;
  }

  #image-info {
    margin-left: 0;
    margin-top: 1rem;
  }
	#zoomRange{width:100%!important;}
	
	#mobile-controls {
    display: none;
    flex-direction: column;
    gap: 12px;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
    max-height: 0;
    opacity: 0; overflow-y: auto;
    max-height: 100vh;
  }

#mobile-controls.open {
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 1;
  max-height: none; /* убираем ограничение по высоте */
  overflow-y: auto;
 
  -webkit-overflow-scrolling: touch;
}
  
  header.controls {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px;
	position:relative!important;
  }

  .site-title {
    padding: 0;
    font-size: 20px;
    justify-content: left;
    text-align: center;
  }

  .site-title h1 {
    font-size: 20px;
  }


  .zoom-control {
    width: 100%;
	order:99;
  }

  .zoom-control input[type="range"] {
    width: 100%;
  } 

  /* Остальные элементы по два в ряд */
  .filter-top-row select,
  #filter-reset,
  #union-mode,
  #amountdiv {
    box-sizing: border-box;
	padding: 4px;
	text-align: center;
  }

  .zoom-control {
    width: 100%;
    justify-content: center;
	margin-top: 15px;
	margin-bottom: 10px;
  }

  .zoom-control input[type="range"] {
    width: 100%;
  }

  .filter-checkbox-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .filter-pair {
    width: calc(50% - 6px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    border-right: none;
    padding-right: 0;
  }

  .filter-solo-block {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 8px;
  }

  .filter-solo-block label {
    min-width: 0;
  }

  #amountdiv {
    text-align: center;
    margin-left: 0;
    font-size: 14px;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .img-label {
    font-size: 12px;
  }

  .lightbox img {
    max-width: 90vw;
    max-height: 70vh;
  }
  
 .menu-toggle {
  width: 30px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1001;
  position: fixed;
  top: 3px;
  right: 3px;
  padding: 10px;
  gap: 6px;
}

.menu-toggle .bar {
  width: 22px;
  height: 2px;
  background-color: #555;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.menu-toggle.open .bar:nth-child(1) {
  transform: rotate(45deg);
  position: absolute;
}

.menu-toggle.open .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open .bar:nth-child(3) {
  transform: rotate(-45deg);
  position: absolute;
}
  
  .zoom-control label {width:100%;}
  
  
  .filter-checkbox-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Парные по два в ряд */
.filter-pair {
  width: calc(50% - 6px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  border-right: none;
  padding-right: 0;
}

/* Соло-фильтры – адаптивно */
.filter-solo-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 8px;
}

.filter-solo-block label {
  min-width: 0;
}

.filter-checkboxes {
  display: flex;
  flex-direction: row;
  gap: 4px;
  flex-wrap: wrap;

}
}


@media (min-width: 1101px) {
  .menu-toggle,
  .menu-overlay {
    display: none !important;
  }
   #mobile-controls {
    display: flex !important;
  }
}




@media (min-width: 1101px) and (max-width: 1366px) {
	
	 .dual-wrapper {
    max-width: 900px;  или другое значение по факту 
    margin-right: 20px;
  }

  .dual-wrapper img {
    width: 50%;
    max-width: 50%;
    height: auto!important;
  }

  #image-info {
    max-width: 320px;
    margin-left: 40px;
    font-size: 14px;
  }
  #mobile-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .filter-block {
    flex: 1 1 0%;
    min-width: 0;
    box-sizing: border-box;
  }

  .id-input-block,
  .wallet-lookup {
    flex: 0 0 230px;
    box-sizing: border-box;
    order: 2; 
  }



  .wallet-lookup {
    padding-left: 12px;
    padding-right: 12px;
  }

  .id-input-block textarea,
  .wallet-lookup input {
    width: 100% !important;
  }
  
.filter-solo-block{flex-wrap:nowrap;}
.filter-checkbox-grid{margin-top:25px;}
}

@media (min-width: 768px) and (max-width: 1100px) {
	
	.filter-top-row select, #filter-reset, #union-mode, #amountdiv{
		
		
	}

  /* Гибкая сетка для верхнего ряда (range, кнопки, select и пр.) */
  .filter-row-upper,
  .filter-row-lower {
    
    
    gap: 10px;
    width: 100%;
  }

  .filter-row-upper > *,
  .filter-row-lower > * {
   
    box-sizing: border-box;
  }

  /* Ползунок – минимум половина */
  .zoom-control {
    grid-column: span 2;
    width: 37%;
    justify-content: center;
    display: flex;
  }

  /* Hits справа, но компактно */
  #amountdiv {
    text-align: center;
    white-space: nowrap;
  }

  /* Парные фильтры – плотная сетка */
  .filter-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    width: 100%;
  }

  .filter-pair {
    border-right: none;
    padding-right: 0;
    width: 100%;
    box-sizing: border-box;
  }

  /* Соло-фильтры – сколько влезет */
  .filter-solo-block {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
    width: 100%;
  }

  .filter-solo-block label {
    white-space: nowrap;
  }
}

/* BIG title: "CENT #1234" */
.mp-centline{
  margin: 0 0 10px;
}

.mp-cent,
.mp-num{
  font-size: 34px;      /* bump up (try 32–40) */
  font-weight: 800;     /* bold */
  letter-spacing: 0.2px;
  line-height: 1.05;
}

/* Owner row (marketplace-ish) */
#owner-row{
  display:flex;
  align-items:baseline;
  gap:10px;
  margin: 6px 0 16px;
  font-size: 13px;
}
#owner-row .mp-owner-label{
  min-width: 54px;
  font-weight: 700;
}
#owner-row .mp-owner-link{
  text-decoration: underline;
  cursor: pointer;
}
#owner-row .mp-copy{
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
#owner-row .mp-copy img{
  width: 15px;
  height: 16px;
}
/* Make right-panel labels bold */
.mp-id-label,
.mp-subk,
.mp-owner-label{
  font-weight: 800 !important;
}

.mp-subt{white-space: nowrap;}

.mp-list-label{  font-weight: 800 !important;display:inline;
}
.mp-list-price{display:inline;}

.mp-id-value{
  font-weight: 400 !important;
}

/* Optional: also bold the left-panel labels in the traits list */
#traits-block strong{
  font-weight: 800;
}

/* Inscription ID value slightly smaller */
.mp-id-value{
  font-size: 12px !important;   /* adjust: 11–13 */
  line-height: 1.25 !important;
  font-weight: 400 !important;  /* keep it not bold */
}


.mp-uniqueid{
  margin-bottom: 10px;
}

#mp-info .mp-sub,
#mp-info .mp-id, .mp-market {
  margin-top: 14px;
}

#mp-info .mp-subrow {
  display: grid;
  grid-template-columns: 160px 160px auto;
  align-items: baseline!important;
  column-gap: 40px;
  row-gap: 0;
  margin: 0 0 4px;
}

#mp-info .mp-uniqueid {
  margin-top: 14px;
  margin-bottom: 14px;
}

/* Lab/Market toggle on the CENT detail panel */
#mp-info .mp-mode-toggle-wrap {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}
#mp-info .mp-mode-toggle {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 3px;
  border: 1px solid #d6dde2;
  border-radius: 999px;
  background: #f1efe8;
  cursor: pointer;
  font: inherit;
}
#mp-info .mp-mode-opt {
  position: relative;
  z-index: 1;
  padding: 6px 18px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  color: #8a8a8a;
  transition: color 0.18s ease;
}
#mp-info .mp-mode-thumb {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  transition: transform 0.18s ease;
}
#mp-info .mp-mode-toggle .mp-mode-lab { color: #27343b; }
#mp-info .mp-mode-toggle.is-market .mp-mode-lab { color: #8a8a8a; }
#mp-info .mp-mode-toggle.is-market .mp-mode-market { color: #27343b; }
#mp-info .mp-mode-toggle.is-market .mp-mode-thumb { transform: translateX(100%); }

/* Inline mint-year timeline under the Year row – population-share view */
#mp-info .mp-year-timeline {
  margin: 3px 0 12px;
  max-width: 360px;
}
#mp-info .myt-caption {
  position: relative;
  height: 15px;
  margin-bottom: 3px;
}
#mp-info .myt-coin {
  position: absolute;
  bottom: 0;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 700;
  color: #63717a;
}
#mp-info .myt-track {
  position: relative;
}
#mp-info .myt-bar {
  display: flex;
  height: 13px;
  border-radius: 0;
  overflow: hidden;
  background: #E8E5E0;
}
#mp-info .myt-bar .myt-seg {
  height: 100%;
  min-width: 0;
}
#mp-info .myt-bar .myt-seg + .myt-seg {
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.6);
}
#mp-info .myt-marker {
  position: absolute;
  top: 50%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #3a4452;
  box-shadow: 0 0 0 2px #fff;
}
#mp-info .myt-labels {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.25;
  color: #888;
}
#mp-info .myt-min {
  flex: 0 0 auto;
  color: #6e5f44;
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
#mp-info .myt-mid {
  flex: 0 0 auto;
  color: #3f5061;
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
#mp-info .myt-max {
  flex: 0 0 auto;
  color: #3f5061;
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
#mp-info .myt-note {
  margin-top: 3px;
  font-size: 11px;
  font-style: italic;
  color: #8a8a8a;
  line-height: 1.3;
}

#mp-info .mp-subk {
  
  white-space: nowrap;
}

#mp-info .mp-subv {
  min-width: 0;
}

#mp-info .mp-rarity {
  white-space: nowrap;
}

#mp-info .mp-id {
  margin-top: 16px;
}

#mp-info .mp-id-label {
  margin-bottom: 4px;
}

#mp-info .mp-id-value {
  word-break: break-all;
  line-height: 1.35;
}

/* Export this CENT – PNG (shareable) or PDF (coin clickable) */
#mp-info .mp-export-cent-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
#mp-info .mp-export-cent-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #27343b;
  margin-right: 2px;
}
#mp-info .mp-export-cent {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid #d6dde2;
  border-radius: 999px;
  background: #f1efe8;
  color: #27343b;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}
#mp-info .mp-export-cent:hover {
  background: #fff;
  border-color: #b9c4cc;
}

.info-box .market-trait {
  display: block;
  padding: 0;
  margin: 0;
  line-height: 1.3;
}

.info-box .market-trait:not(:last-child) {
  border-right: none;   /* horizontal divider looked stray once traits stack */
}

.trait-name.mp-subk {margin-bottom:6px;}

.trait-block{margin-bottom:12px;}

.price-lightbox{margin-top:30px;font-size: 1.2em;}
.price-lightbox .mp-subrow{margin-bottom:12px;}
.price-lightbox .mp-subrow:last-child{margin-bottom:0;}
.mp-market .mp-subrow{grid-template-columns:160px minmax(260px, 1fr)!important;}
.price-lightbox .mp-price-row{margin-bottom:18px;}
.price-lightbox .mp-price-row .mp-list-price,
.price-lightbox .mp-price-row .lb-market-price span{font-weight:800;}
.price-lightbox .mp-last-sold-row{margin-bottom:34px;}
.price-lightbox .mp-last-sold-row .mp-list-price{
  font-size:0.83em;
  line-height:1.25;
  font-weight:400;
}
#mp-top-offer-row .mp-list-price{
  white-space:nowrap;
  font-size:0.83em;
  line-height:1.25;
  font-weight:400;
}
#mp-top-offer-row .mp-offer-note{
  display:block;
  max-width:420px;
  white-space:normal;
  color:#777;
  font-size:0.72em;
  font-weight:400;
  line-height:1.35;
}
.mp-offer-count{white-space:nowrap;}
.mp-make-offer-controls{display:inline-flex!important;align-items:center;gap:14px;flex-wrap:wrap;}
.mp-make-offer-link{color:#0f6b4c!important;font-weight:800;text-decoration:none!important;}
.mp-make-offer-link:hover{text-decoration:underline!important;text-underline-offset:3px;}
.mp-make-offer-secondary{color:#777!important;font-size:0.9em;font-weight:600;text-decoration:none!important;}
.mp-make-offer-secondary:hover{text-decoration:underline!important;text-underline-offset:3px;}

.price-tag:last-child{color:#888888;}

.mp-market .mp-subrow:last-child *{font-size:0.8em!important;}

body.lab-mode .price-labels,
body.lab-mode #mp-market,
body.lab-mode .price-lightbox,
body.lab-mode #mp-activity,
body.lab-mode .marketplace-block {
  display: none !important;
}

.mp-activity {
  margin-top: 28px;
  width: 100%;
  font-size: 13px;
}

.mp-activity-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  border-bottom: 1px solid #d0d0d0;
  margin-bottom: 14px;
}

.mp-activity-tab {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  position: relative;
  display: block;
  padding: 0 0 9px;
  text-align: center;
  font-size: 16px;
  font-weight: 800;
}

.mp-activity-tab.is-active {
  color: #000;
}

.mp-activity-panel {
  display: none;
}

.mp-activity-panel.is-active {
  display: block;
}

.mp-activity-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: #555;
}

.mp-activity-head,
.mp-activity-row {
  display: grid;
  grid-template-columns: 180px 236px minmax(0, 1fr);
  column-gap: 14px;
  align-items: center;
}

.mp-activity-head {
  padding: 8px 0 11px;
  border-bottom: 1px solid #d0d0d0;
  font-weight: 800;
}

.mp-activity-row {
  min-height: 40px;
  border-bottom: 1px solid #e0e0e0;
}

.mp-offer-row {
  min-height: 38px;
}

.mp-offer-row.is-top-offer {
  border-top: 1px solid #d0d0d0;
}

.mp-mint-row {
  color: #555;
}

.mp-activity-event,
.mp-activity-price {
  font-weight: 800;
}

.mp-activity-price {
  white-space: nowrap;
}

.mp-price-arrow {
  color: #777;
  font-weight: 600;
  margin: 0 4px;
}

.mp-activity-price-empty {
  color: #999;
}

.mp-activity-details {
  display: grid;
  grid-template-columns: minmax(70px, auto) minmax(0, 1fr) 20px;
  gap: 8px;
  align-items: center;
  min-width: 0;
  text-align: right;
}

.mp-activity-time {
  color: #777;
  white-space: nowrap;
}

.mp-activity-route,
.mp-activity-market {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mp-activity-link {
  color: #555 !important;
  font-size: 18px;
  line-height: 1;
  text-decoration: none !important;
}

.mp-activity-empty {
  padding: 18px 0 2px;
  color: #777;
  text-align: center;
}

.mp-offers-summary {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 10px;
  align-items: baseline;
  padding: 12px 0 13px;
  color: #777;
  border-bottom: 1px solid #d0d0d0;
}

.mp-offers-summary strong {
  color: #000;
  font-size: 18px;
  white-space: nowrap;
}

.mp-offers-summary span:last-child {
  text-align: right;
}

.mp-offers-more {
  padding: 11px 0 0;
  color: #777;
  font-size: 12px;
  text-align: center;
}

.lab-toggle {
  position: relative;
  width: 240px;
  height: 29px;
  background: #bbbbbb;
  cursor: pointer;
  box-shadow: inset 1px 1px 0px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  padding: 0;
  font-family: sans-serif;
  user-select: none;
  overflow: hidden;
}

.lab-toggle .label {
  width: 50%;
  height: 100%;
  text-align: center;
  font-size: 13px;
  z-index: 2;
  color: #555;
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  box-sizing: border-box;
}

.lab-toggle .thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: calc(50% - 3px);
  height: 25px;
  background: #fff;
  transition: transform 0.25s ease;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.25);
  z-index: 1;
}

.trait-coin-icon {
  width: 18px;
  height: 18px;
  object-fit: cover;
  vertical-align: middle;
  margin-right: 6px;
  border-radius: 50%;
  cursor: pointer;
}

.trait-atlas-link {
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.mp-subt {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

@media (max-width: 1024px) {
  .img-wrapper {
    display: grid;
    grid-template-rows: auto 16px 34px 14px;
    align-items: start;
    justify-items: center;
    overflow: visible;
  }

  .img-wrapper > img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto !important;
    object-fit: cover;
  }

  .img-label {
    height: 16px;
    line-height: 16px;
    margin-top: 0;
    font-size: 12px;
  }

  .price-tag {
    height: 34px;
    line-height: 16px;
    margin-top: 0;
    font-size: 12px;
    text-align: center;
    overflow: hidden;
  }

  .price-labels {
    min-height: 68px;
  }
}

@media (max-width: 1024px) {
  #mobile-controls {
    display: none;
    flex-direction: column !important;
  }

  #mobile-controls.open {
    display: flex !important;
    flex-direction: column !important;
  }

  #mobile-footer-menu {
    width: 100%;
    order: -999999 !important;
    flex: 0 0 auto;
    padding: 8px 0 12px;
    margin: 0 0 12px;
    border-bottom: 1px solid #ddd;
  }

  #mobile-footer-menu #menu-footer > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  #mobile-footer-menu a {
    color: black;
    text-decoration: none;
    font-size: 15px;
  }

  #footer-placeholder {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  body.lab-mode .img-wrapper {
    grid-template-rows: auto 16px !important;
  }

  body.lab-mode .price-labels {
    display: none !important;
    min-height: 0 !important;
    height: 0 !important;
  }

  body.lab-mode .price-tag {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
  }

  body.lab-mode .gallery {
    row-gap: 10px;
  }
}

.lb-market-price {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-right: 14px;
  white-space: nowrap;
}

/* The price links to the marketplace listing – keep it looking like the price,
   not a default blue link, with a subtle hover affordance. */
a.lb-market-price {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
a.lb-market-price:hover {
  text-decoration: underline;
}

.lb-market-price-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  vertical-align: middle;
}

@media (max-width: 1024px) {
  .lightbox {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;

    width: 100vw !important;
    height: 100dvh !important;

    padding: 46px 18px 90px !important;
    box-sizing: border-box !important;

    overflow-y: auto !important;
    overflow-x: hidden !important;
  }

  #close-lightbox {
    position: fixed !important;
    top: 14px !important;
    right: 18px !important;
    font-size: 30px !important;
    line-height: 1 !important;
    z-index: 3000 !important;
  }

  #lightbox-wrapper {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    overflow: visible !important;
  }

  #lightbox-image {
    width: min(74vw, 340px) !important;
    height: min(74vw, 340px) !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    margin: 0 auto 26px !important;
  }

  .dual-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 auto 26px !important;
  }

  .dual-wrapper img {
    width: calc(50% - 8px) !important;
    max-width: calc(50% - 8px) !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
  }

  #image-info {
    width: 100% !important;
    margin: 0 !important;
    text-align: center !important;
  }

  #mp-info {
    width: 100% !important;
    max-width: 390px !important;
    min-width: 0 !important;

    margin: 0 auto !important;
    padding-top: 0 !important;

    text-align: center !important;
    box-sizing: border-box !important;
  }

  .mp-head {
    text-align: center !important;
  }

  .mp-centline {
    margin: 0 0 12px !important;
    text-align: center !important;
  }

  .mp-cent,
  .mp-num {
    font-size: 22px !important;
    line-height: 1.05 !important;
    letter-spacing: 0 !important;
  }

  #owner-row {
    justify-content: center !important;
    gap: 8px !important;
    margin: 6px 0 20px !important;
    text-align: center !important;
  }

  #mp-info .mp-subrow {
    display: grid !important;
    grid-template-columns: 110px minmax(0, 1fr) auto !important;
    column-gap: 10px !important;

    width: 100% !important;
    margin: 0 0 7px !important;

    text-align: left !important;
    align-items: baseline !important;
  }

  #mp-info .mp-uniqueid {
    margin-top: 12px !important;
    margin-bottom: 16px !important;
  }

  #mp-info .mp-subk,
  #mp-info .mp-id-label,
  .mp-list-label {
    font-size: 14px !important;
    line-height: 1.2 !important;
  }

  #mp-info .mp-subv,
  #mp-info .mp-rarity,
  .mp-list-price {
    font-size: 14px !important;
    line-height: 1.25 !important;
  }

  #mp-info .mp-id {
    margin-top: 18px !important;
    text-align: center !important;
  }

  #mp-info .mp-id-label {
    margin-bottom: 7px !important;
    text-align: center !important;
  }

  #mp-info .mp-id-value {
    max-width: 100% !important;
    font-size: 10.5px !important;
    line-height: 1.35 !important;
    word-break: break-all !important;
    text-align: center !important;
  }

  #lb-view-toggle-slot {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 18px 0 24px !important;
  }

  .mode-under-image {
    margin: 0 auto !important;
  }

  .price-lightbox {
    margin-top: 0 !important;
    font-size: 1em !important;
  }

  .price-lightbox .mp-subrow {
    display: grid !important;
    grid-template-columns: 110px minmax(180px, 1fr) !important;
    column-gap: 10px !important;
    align-items: center !important;
    margin-bottom: 9px !important;
  }

  .price-lightbox .mp-price-row {
    margin-bottom: 14px !important;
  }

  .price-lightbox .mp-last-sold-row {
    margin-bottom: 26px !important;
  }

  #mp-top-offer-row .mp-offer-note {
    font-size: 0.85em !important;
    line-height: 1.35 !important;
  }

  .mp-make-offer-controls {
    gap: 8px !important;
  }

  .lb-market-price {
    margin-right: 8px !important;
    gap: 4px !important;
  }

  .lb-market-price-icon {
    width: 16px !important;
    height: 16px !important;
  }

  .marketplace-block {
    margin-top: 34px !important;
    text-align: center !important;
  }

  .marketplace-block > div:last-child {
    justify-content: center !important;
  }
}

@media (max-width: 1024px) {
  .mp-activity {
    margin-top: 24px !important;
    font-size: 12px !important;
  }

  .mp-activity-tab {
    font-size: 14px !important;
  }

  .mp-activity-head,
  .mp-activity-row {
    grid-template-columns: 66px 86px minmax(0, 1fr) !important;
    column-gap: 10px !important;
    text-align: left !important;
  }

  .mp-activity-details {
    grid-template-columns: minmax(0, 1fr) 18px !important;
    gap: 6px !important;
  }

  .mp-activity-time {
    display: none !important;
  }

  .mp-activity-price {
    font-size: 12px !important;
  }

  .mp-offers-summary {
    grid-template-columns: 1fr auto !important;
    gap: 4px 10px !important;
  }

  .mp-offers-summary span:last-child {
    grid-column: 1 / -1 !important;
    text-align: left !important;
  }

  #mp-info .mp-traits-section {
    display: block !important;
    width: 100% !important;
    margin-top: 16px !important;
    text-align: left !important;
  }

  #mp-info .mp-traits-section > .mp-subk {
    display: block !important;
    margin-bottom: 6px !important;
    text-align: center !important;
  }

  #mp-info .mp-traits-list {
    width: 100% !important;
  }

  #mp-info .mp-traits-list .mp-subrow {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    column-gap: 12px !important;
    width: 100% !important;
    margin: 0 0 7px !important;
    align-items: center !important;
  }

  #mp-info .mp-traits-list .mp-subt {
    min-width: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
  }

  #mp-info .mp-traits-list .mp-rarity {
    justify-self: end !important;
    white-space: nowrap !important;
    text-align: right !important;
  }

  #mp-info .mp-traits-list .trait-coin-icon {
    flex: 0 0 auto !important;
  }
}

.mp-traits-section {margin-top:14px;}

#mp-info .mp-subrow {
  align-items: center !important;
}

#mp-info .mp-subrow > * {
  line-height: 18px !important;
}

#mp-info .mp-subt {
  display: flex !important;
  align-items: center !important;
  line-height: 18px !important;
  min-height: 18px !important;
}

#mp-info .mp-rarity {
  display: flex !important;
  align-items: center !important;
  line-height: 18px !important;
}

@media (min-width: 1025px) {
  .price-lightbox .mp-last-sold-row .mp-list-label,
  .price-lightbox .mp-last-sold-row .mp-list-price,
  #mp-top-offer-row .mp-list-label,
  #mp-top-offer-row .mp-list-price {
    font-size: 16px !important;
    line-height: 18px !important;
  }

  .price-lightbox .mp-last-sold-row .mp-list-label,
  #mp-top-offer-row .mp-list-label {
    font-weight: 800 !important;
  }

  .price-lightbox .mp-last-sold-row .mp-list-price,
  #mp-top-offer-row .mp-list-price {
    font-weight: 400 !important;
  }
}

@media (max-width: 1024px) {
  .price-lightbox .mp-last-sold-row .mp-list-label,
  .price-lightbox .mp-last-sold-row .mp-list-price,
  #mp-top-offer-row .mp-list-label,
  #mp-top-offer-row .mp-list-price {
    font-size: 14px !important;
    line-height: 18px !important;
  }

  .price-lightbox .mp-last-sold-row .mp-list-label,
  #mp-top-offer-row .mp-list-label {
    font-weight: 800 !important;
  }

  .price-lightbox .mp-last-sold-row .mp-list-price,
  #mp-top-offer-row .mp-list-price {
    font-weight: 400 !important;
  }
}

.trait-coin-icon {
  flex: 0 0 18px !important;
  width: 18px !important;
  height: 18px !important;
  display: block !important;
  margin-right: 6px !important;
}

#lb-view-toggle-slot{margin-top:16px;}

body.lab-mode #mp-filters {
  display: none;
}

body.lab-mode .img-label {
  font-weight: 400;
  color: #777;
}
