@import url("./common.1755635323132.css");

h1 {
  margin: 0;
  padding: 0;
}

.header {
  position: sticky;
  z-index: 1;
  top: -35px;

  @media (width >= 60em) {
    position: unset;
    z-index: unset;
    top: unset;
  }
}

.header-container {
  --background: rgb(40 40 40);

  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;

  width: 100%;
  height: 132px;
  margin-bottom: 52px;

  background: var(--background);

  &::before {
    content: "";

    position: absolute;
    z-index: -1;
    top: 40px;
    right: -7%;
    left: -7%;

    height: 125px;
    border-radius: 50%;

    background: var(--background);
  }

  & > img {
    position: fixed;
    top: 37px;
    height: 100px;
    transition: height 100ms;
  }

  & > .hidden {
    height: 0;
  }

  @media (width >= 60em) {
    --background: initial;

    height: 361px;
    margin-bottom: unset;

    &::before {
      display: none;
    }

    & > :is(img, .hidden) {
      position: unset;
      top: unset;

      flex: 1;

      width: 150px;
      height: 150px;
    }
  }
}

.header-back {
  position: fixed;
  top: 22px;
  left: 10px;

  width: 26px;
  height: 26px;

  & > a {
    display: flex;
    justify-content: center;
  }

  & img {
    transform: rotate(-90deg);
    width: 26px;
    height: 14px;

    @media (width >= 60em) {
      width: 39px;
      height: 21px;
    }
  }

  @media (width >= 60em) {
    position: absolute;
    top: 60px;
    left: 70px;

    width: 39px;
    height: 39px;
  }
}

.header-title {
  position: fixed;
  top: 12px;
  font-size: 16px;
  line-height: 25px;

  @media (width >= 60em) {
    position: unset;
    top: unset;

    margin-top: 44px;

    font-size: 32px;
    line-height: 51px;
  }
}

.main-search {
  position: sticky;
  z-index: 2;
  top: 55px;

  @media (width >= 60em) {
    position: relative;
    z-index: unset;
    top: unset;
  }
}

.panel {
  margin: 25px 0 0;

  @media (width >= 60em) {
    margin: 38px 51px 0;
  }
}

.panel-header {
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: space-between;

  margin: 0 10px;

  font-size: 14px;
  line-height: 15px;

  opacity: 0.5;

  & > img {
    width: 13px;
    height: 7px;
    transition: transform 250ms;

    @media (width >= 60em) {
      width: 26px;
      height: 14px;
    }
  }

  &.hidden > img {
    transform: rotate(180deg);
  }

  .panel:not(:has(.cell:not([hidden]))) > & {
    pointer-events: none;
    opacity: 0.1;

    & > img {
      display: none;
    }
  }

  @media (width >= 60em) {
    margin: unset;
    font-size: 21px;
    line-height: 22.5px;
  }
}

@keyframes hide-panel-body {
  0% {
    height: inherit;
    visibility: visible;
    opacity: 1;
  }

  99% {
    height: inherit;
    visibility: visible;
    opacity: 0;
  }

  100% {
    height: 0;
    visibility: hidden;
    opacity: 0;
  }
}

@keyframes show-panel-body {
  0% {
    height: 0;
    visibility: hidden;
    opacity: 0;
  }

  1% {
    height: inherit;
    visibility: visible;
    opacity: 0;
  }

  100% {
    height: inherit;
    visibility: visible;
    opacity: 1;
  }
}

.panel-body {
  padding: 0 5px;
  animation: show-panel-body 250ms forwards;

  .panel-header.hidden + & {
    overflow: hidden;
    animation: hide-panel-body 250ms forwards;
  }

  @media (width >= 60em) {
    width: 711px;
    margin-left: 21px;
    padding: unset;
  }
}

.cell {
  margin-top: 15px;
  padding: 15px 19px;
  border-radius: 25px;

  background: var(--text-background);
  box-shadow: 0 0 4px 0 var(--box-shadow);

  @media (width >= 60em) {
    margin-top: 22px;
    padding: 21px 30px;
    border-radius: 37.5px;
  }
}

.cell-title {
  font-size: 12px;
  line-height: 15px;

  @media (width >= 60em) {
    font-size: 18px;
    line-height: 22.5px;
  }
}

.cell-info {
  font-size: 10px;
  font-weight: normal;
  line-height: 15px;

  @media (width >= 60em) {
    font-size: 15px;
    line-height: 24px;
  }
}

.main-content:not(:has(.cell:not([hidden]))) > .panel,
.main-content:has(.cell:not([hidden])) > .noresults {
  display: none;
}
