* {
  margin: 0;
  outline: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
  font-size: 11pt;
}

:root {
  --sat: env(safe-area-inset-top, 0px);
  --sar: env(safe-area-inset-right, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --sal: env(safe-area-inset-left, 0px);
}

/* Индикаторы безопасных зон (для наглядности) */
.safe-area-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--sat);
  background: rgba(0, 255, 0, 0.4);
}

.safe-area-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--sab);
  background: rgba(255, 0, 0, 0.4);
}

html,
body {
  /*height: 100vh;*/
  width: 100%;
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  overflow: hidden;
}

body {
  background-color: #060606;
  color: #a7a7a7;
}

#app {
  position: fixed;
  top: 0;
  bottom: 0;
  /*top: var(--tg-safe-area-inset-top);
  left: var(--tg-safe-area-inset-left);
  bottom: var(--tg-safe-area-inset-bottom);
  right: var(--tg-safe-area-inset-right);*/
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  /*margin-top: var(--tg-content-safe-area-inset-top);*/
  /*margin-bottom: var(--tg-content-safe-area-inset-bottom);
  margin-left: var(--tg-content-safe-area-inset-left);
  margin-right: var(--tg-content-safe-area-inset-right);*/
}

.content {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  /*padding: 16px;*/
  padding: 0pt 2pt 2pt;
  /*padding-bottom: 80px;*/
  /* Отступ для нижней панели */
  color: white;
  text-align: center;
}

.vmenu, .content, .nmenu {
  font-size: 17pt;
}

.vmenu {
  position: sticky;
  top: 0;
  z-index: 110;
  max-height: 100pt;
  background-color: #0a0a0a;
  display: flex;
  flex-direction: row;
  align-content: stretch;
  align-items: stretch;
  flex-wrap: nowrap;
  justify-content: center;
  column-gap: 10pt;
  padding: 10pt;
}

.vmenu>* {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-direction: row;
  flex-wrap: nowrap;
}


.vmenud {}

.vmenuc {
  flex-grow: 1;
}

.vmenuu {}

.vmenuu button {
  color: #cdcdcd;
  border: 0;
  border-radius: 50%;
  height: 35pt;
  width: 35pt;
  background-color: #113c7a;
  cursor: pointer;
  display: block;
  padding: 0;
}

.vmenuu button svg {
  fill: #cdcdcd;
}



.nmenu {
  position: sticky;
  bottom: -1px;
  z-index: 110;
  height: 42pt;
  background-color: #121212;
  display: flex;
  flex-direction: row;
  align-content: stretch;
  align-items: stretch;
  justify-content: space-evenly;
  flex-wrap: nowrap;

}

.nmenu *, ._cli {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent;
}



.nmenulist {
  display: flex;
  width: 100%;
  flex-grow: 1;
  height: 100%;
  justify-content: space-evenly;
  flex-wrap: nowrap;
  align-items: center;
  column-gap: 4pt;
}

.nmenuit {
  display: flex;
  height: 35pt;
  min-width: 45pt;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  /*background-color: #252525;*/
  cursor: pointer;
  border-radius: 5pt;
  /* flex-grow: 1;*/
}

.nmenuit.aktive .nmenun {
  color: #3061a9;
}

.nmenuit.aktive .nmenui svg {
  fill: #3061a9;
}

.nmenuit.aktive .nmenui .avatar {
  background-color: #3061a9;
}

.nmenui {
  flex-grow: 1;
  display: flex;
  align-items: center;
}

.nmenun {
  font-size: 8pt;
}

.alists {
  border-radius: 4pt;
  display: grid;
  /* grid-template-columns: repeat(auto-fill, minmax(148pt, 1fr)); */
  /*grid-template-columns: repeat(2, minmax(124pt, 1fr));*/
  grid-template-columns: repeat(auto-fill, minmax(120pt, 1fr));
  /*grid-template-rows: repeat(auto-fill, minmax(173pt, 1fr));*/
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  /*height: 100%;*/
  gap: 3pt;
  /* margin: 4pt;*/
}

.ait {
  background-color: #171717;
  background-color: #222222;
  border-radius: 15pt;
  display: flex;
  flex-direction: column;
  padding: 0 0 8pt;
  justify-content: space-evenly;
}

.aitphoto {
  height: 170pt;
  /*border-radius: 15pt;*/
  background: #ffffff url(/img/noimage.svg) no-repeat 50% 50%;
  background-size: contain;
  position: relative;
  overflow: hidden;
}

.aitphotofon {
  height: 150pt;
  border-radius: 15pt;
  position: relative;
  overflow: hidden;
}

.aitname {
  text-align: center;
  padding: 6pt 5pt 6pt;
  font-size: 11pt;
  line-height: 16pt;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  height: 40pt;
}

.aitlike {
  position: absolute;
  right: 5pt;
  height: 32px;
  width: 32px;
  top: 5pt;
  z-index: 60;
}

.aitshar {
  position: absolute;
  left: 5pt;
  height: 32px;
  width: 32px;
  top: 5pt;
  z-index: 60;
}

.aitlike.in {}

.aitlike .aitlikefon {
  top: 0px;
  position: absolute;
  left: 0pt;
}

.aitshar .aitsharfon {
  top: 0px;
  position: absolute;
  left: 0pt;
}

.aitlike .aitlikefon svg {
  fill: #ffffff;
  ;
}

.aitshar .aitsharfon svg {
  fill: #ffffff;
  ;
}

.aitlike .aitlikeh {
  position: absolute;
  left: 0px;
  top: 0px;
}

.aitshar .aitsharh {
  position: absolute;
  left: 0px;
  top: 0px;
}

.aitlike .aitlikeh svg {
  fill: #b6b4b2;
}

.aitshar .aitsharh svg {
  fill: #b6b4b2;
}

.aitlike.in .aitlikefon {}

.aitlike.in .aitlikefon svg {
  fill: #fd5231;
}

.aitlike.in .aitlikeh {}

.aitlike.in .aitlikeh svg {
  display: none;
}

.aitcena {
  padding2: 2pt 4pt;
  padding: 0;
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: row;
  align-content: center;
  flex-wrap: nowrap;
  gap: 2pt;
  justify-content: center;
  font-size: 10pt;
}

.aitcena .cenatab {
  display: grid;
  grid-template-columns: auto 1fr auto 15px;
  gap: 1px;
  align-items: center;
  width: 100%;
  padding: 0 6pt;
}

.aitcena .ch {
  font-weight: 500;
  font-size: 17pt;
  color2: #06ad57;
  text-align: right;
}


.aitcena .zn {
  font-weight: 300;
  font-size: 12pt;
  color2: #06ad57;
}

.aitcena .kr {
  text-align: right;
  font-size: 10pt;
}

.aitcena .za {
  float: left;
  overflow: hidden;
  white-space: nowrap
}



.aitdostup, .aitmesto {
  text-align: center;
  padding: 3pt 6pt 0pt;
  font-size: 10pt;
  line-height: 14pt;
  color: #ff9d61;
}

.aitdostup.d {
  color: #1ba51a;
}

.aitdostup.n {
  color: #fd5231;
}

.aitmesto {
  color: #8b8b8b;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  max-height: 31pt;
  flex-grow: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.aitknopki {}

.aitknopki button {
  width: calc(100% - 16pt);
  color: #343434;
  border: 0;
  border-radius: 15pt;
  height: 30pt;
  font-size: 15px;
  padding: 2px 16pt;
  background-color: #cdcdcd;
  cursor: pointer;
  margin-top: 5pt;
}

.aitknopki button.edit {
  background-color: #113c7a;
  color: #cdcdcd;
}

.avatar {
  background-color: #4d4d4d;
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  text-align: center;
  padding: 0;
  vertical-align: top;
  background: #4d4d4d url(//) no-repeat 50% 50%;
  background-size: contain;
}

.search {
  background-color: #2a2a2a;
  width: 100%;
  height: 35pt;
  padding: 0 12pt;
  border-radius: 15pt;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: space-evenly;
  align-items: center;
}

.search form {
  width: 100%;
  height: 100%;
}

.search .searchf {
  flex-grow: 1;
}

.search .searchf .searchflists {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-evenly;
  width: 100%;
  height: 100%;
  align-items: center;
  gap: 6pt;
}

.search .searchf .searchflist.q {
  flex-grow: 1;
}

.search .searchf .searchflist {}

.search form .q {
  color: #bfbfbf;
  background-color: #4d4d4d00;
  border: 0;
  width: 100%;
  height: 100%;
  font-size: 14pt;
}

.forms {
  width: 100%;
  height: 100%;
}

.formslists {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: stretch;
  justify-content: space-evenly;
  align-items: stretch;
  padding: 0 0 24pt;
}

.formslists .formslist .knopki {
  display: flex;
  flex-direction: row;
  padding: 9px;
  justify-content: space-around;
  flex-wrap: nowrap;
  width: 100%;
  gap: 6pt;
  border: 0;
  position: fixed;
  bottom: 55px;
  z-index: 1000;
  background-color: #060606a2;
}

.formslists .formslist button {
  color: #343434;
  border: 0;
  border-radius: 15pt;
  height: 30pt;
  font-size: 15px;
  padding: 2px 16pt;
  background-color: #cdcdcd;
  cursor: pointer;
  flex-grow: 1;
  white-space: nowrap;
}

.fotomenu {
  bottom: 4px;
  position: absolute;
  height: 24pt;
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-content: center;
  align-items: center;
  padding: 0pt;
  z-index: 10;
}

.fotomenu>div {
  height: 30pt;
  width: 30pt;
  padding: 3pt;
}

.formslist .ui-slider-handle {
  text-align: center;
  border: 0px !important;
  border-radius: 8pt !important;
  height: 13pt !important;
  width: 26pt !important;
}

.formslist .ui-state-active {
  background-color: #117a18 !important;
  color: #cdcdcd !important;
}


.formslists .formslist button[type=submit] {
  background-color: #117a18;
  color: #cdcdcd;
}

.formslist {
  padding: 7pt 5pt;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
}



.formslistit {
  width: 100%;
  display: flex;
  gap: 9pt;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}

._fild, ._cli, ._sha, ._filleadd, section, option {
  cursor: pointer;
}

.formslist textarea, .formslist select {
  /*color: #858585;
  background-color: #4d4d4d00;
  border: 0;
  color: #858585;
  background-color: #4d4d4d00;
  border: 0;
  background-color: #2a2a2a;
  height: 35pt;
  width: 100%;
  border-radius: 6pt;
  padding: 0 9pt;*/
}

/*
.formslist textarea {
  height: 140pt;
  padding: 10pt 9pt;
}*/

.formslist select {
  appearance: none;
}

.formslist input[type="file"] {
  display: none;
}

/*
.formslist {
  grid-row: span 2;
  height: 100%;
}*/

.formel {
  display: inline-block;
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
}

.formel label {
  top: calc(-7pt + 1px);
  position: absolute;
  font-size: 10pt;
  padding: calc(1pt - 2px) 4pt;
  border-radius: 7pt;
  left: 10pt;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  align-items: center;
  line-height: 10pt;
  color: #858585;
  border: 1px solid #4a4a4a;
  background-color: #0a0a0a;
  height: 13pt;
  z-index: 155;
}

.formel label.c {
  left: unset;
  margin-left: auto;
  margin-right: auto;
}



.formel input, .formel select, .formel textarea {
  color: #858585;
  border: 1px solid #4a4a4a;
  background-color: #2a2a2a;
  height: 35pt;
  width: 100%;
  border-radius: 6pt;
  padding: 0 9pt;
}

.formel input::placeholder {
  color: #575757;
  font-size: 10pt;
}

.formel textarea {
  height: 140pt;
  padding: 10pt 9pt;
  resize: none;
}

.formel input[type=range] {
  appearance: none;
  padding: 0;
  /*
  height: auto;*/

  accent-color: #cdcdcd;
  border: 1px solid #4a4a4a;
  height: 13pt;
  border-radius: 0pt 0pt 6pt 6pt;
  margin-top: -5pt;
}

.formel input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  border: 1px solid #4a4a4a;
  width: 14pt;
  height: 25pt;
  border-radius: 7pt;
  transition: 300ms;
  background: #cdcdcd url(/img/sl.svg) no-repeat 50% 50%;
  background-size: contain;
}

.formel input[type='date'] {
  ::-webkit-calendar-picker-indicator {
    filter: invert(100%);
    opacity: 0.7;
  }
}

.formel input[type='date']::-webkit-calendar-picker-indicator {
  filter: invert(100%);
  opacity: 0.7;
}

.formel input[type=range]::-moz-range-thumb {
  width: 30px;
  height: 30px;
  margin-top: 0;
  border: none;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 0 5px inset #c56fff;
  transition: 300ms;
}


.fotolists {
  border-radius: 4pt;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100pt, 1fr));
  grid-template-rows: minmax(100pt, 1fr);
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  height: 100%;
  gap: 4pt;
  margin: 4pt;
  width: 100%;
}

.fotolist {
  background-color: #2a2a2a;
  border-radius: 6pt;
  padding: 0pt;
  min-height: 100pt;
  display: flex;
  flex-wrap: nowrap;
  align-content: center;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.fotolist img {
  max-width: 100%;
  max-height: 100%;
  position: relative;
}


.publists {
  display: flex;
  width: 100%;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: stretch;
  gap: 2pt;
  align-items: center;
}

.publist {
  background-color: #222222;
  border-radius: 15pt;
  display: flex;
  flex-direction: row;
  padding: 5pt;
  width: 100%;
  flex-wrap: nowrap;
  align-items: center;

}

.publist .publistdan {
  flex-grow: 1;
  display: flex;
  width: 100%;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  padding: 0 0 2pt;
}

.publist .publistdan .publistname {
  color: #e1e0e0;
  font-size: 13pt;
  padding: 2pt 5pt 2pt 5pt;
  width: 100%;
  text-align: center;

}

.publistshar {
  position: absolute;
  right: 10px;
  top: 3px;
}

.publist .publistdan .publistname.z {
  padding: 0pt 5pt;
  font-size: 15pt;
  text-align: center;
  position: relative;
}

.publist .publistdan .publistval {
  color: #999999;
  font-size: 10pt;
  padding: 1pt 2pt 0;
  width: 100%;
  text-align: justify;
}

.publist .publistdan .publistdop {
  position: relative;
  width: 100%;
}

.publistdop .swiper {
  border-radius: 12pt;
  height: 295pt;
  margin: 0 0 7pt;
}

.pubtarifs {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: space-between;
  padding: 0;
  align-items: stretch;
  border-radius: 9pt;
  position: relative;
  overflow: hidden;
}

.pubtarif>div {
  background-color: #3a3a3a;
  padding: 4px 6px;
  color: #c1bfbf;
  font-size: 12pt;
  text-align: center;
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: center;
}

.pubtarif {
  border: 0;
  /* border-radius: 10pt; */
  font-size: 16px;
  padding: 1px 0 0;
  /* background-color: #cdcdcd; */
  cursor: pointer;
  display: grid;
  grid-template-columns: 50pt 1fr 45pt;
  /* grid-template-rows: repeat(auto-fill, minmax(173pt, 1fr)); */
  gap: 1pt;
  position: relative;
}

.pubtarif .pubtarifd {
  font-weight: 500;
  font-size: 17pt;
  color: #fff;
  padding-right: 5pt;
}

.pubtarif .pubtarifp {}

.pubkontakt {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  gap: 1pt;
}

.pubkontakt>* {
  text-align: center;
}

.pubkontakttel {
  font-weight: 500;
  font-size: 24pt;
  color: #fff;
  padding: 2pt 0 4pt;
}

.pubkontaktmesto {}

.pubkontaktgeo {
  .pubkontaktgeo {
    padding: 4pt 0 1pt;
  }
}

.optlists {
  display: flex;
  width: 100%;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: stretch;
  gap: 2pt;
  align-items: center;
}

.optlist {
  background-color: #222222;
  border-radius: 5pt;
  display: flex;
  flex-direction: row;
  padding: 5pt;
  width: 100%;
  flex-wrap: nowrap;
  align-items: center;

}

.optlist.ava {
  background-color: #060606;
  justify-content: center;
  padding: 3pt 3pt 13pt;
}

.optlist.ava .avatar {
  width: 100pt;
  height: 100pt;
}

.optlist .optlistdan {
  flex-grow: 1;
  display: flex;
  width: 100%;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-evenly;
}

.optlist .optlistdan .optlistname {
  color: #999999;
  font-size: 10pt;
  padding: 1pt 0 5pt;
}

.optlist .optlistdan .optlistval {
  color: #e1e0e0;
  font-size: 13pt;
  padding: 1pt 0 1pt;
}

.optlist .optlistparam {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60pt;
}

.swiper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 15pt;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;

  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-pagination-bullet-active {
  background: #3061a9;
}

.dialog {
  z-index: 0;
  position: absolute;
  top: 0;
}

.dialog>.modal {
  z-index: 200;
  position: absolute;
  top: 0;
  bottom: 0;
  height: 100vh;
  width: 100vw;
  background-color: #000;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
}

.modal .modalmenu {
  position: sticky;
  top: 0;
  max-height: 100pt;
  background-color: #0a0a0a;
  display: flex;
  flex-direction: row;
  align-content: stretch;
  align-items: stretch;
  flex-wrap: nowrap;
  justify-content: center;
  column-gap: 10pt;
  padding: 10pt;
}

.modal .modalmenu .modalmenun {}

.modal .modalmenu .modalmenuc {
  font-size: 17pt;
  flex-grow: 1;
  text-align: center;
  padding: 0px 26pt 0 0;
  color: #ff9d61;
}

.modal .modalmenu .modalmenuc.n {
  color: #fd5231;
}

.modal .modalmenu .modalmenuc.d {
  color: #1ba51a;
}

.modal .modalcontent {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0pt 2pt 2pt;
  color: white;
  text-align: center;
}