* {
  margin: 0;
  padding: 0; }

body,
html {
  width: 100%;
  height: 100%;
  background: #662794; }

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 900;
  color: #fff;
  margin-block: 0; }

ul li {
  list-style-type: none;
  padding-left: 0; }

.footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #8366b4;
  box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
  color: #fff; }

.footer .link-box {
  display: flex;
  justify-content: center;
  font-size: 12px;
  margin-bottom: 10px; }

.footer .link-box .separate {
  margin: 0 16px; }

.footer .link-box a {
  text-decoration: none;
  color: #fff; }

.footer .copyright {
  margin: 16px 0;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px; }

.footer .copyright img {
  width: 35px;
  height: 35px;
  cursor: pointer; }

.footer .copyright span {
  font-size: 12px; }

::-webkit-scrollbar {
  width: 1px; }

::-webkit-scrollbar-track {
  background: #fff; }

::-webkit-scrollbar-button {
  background: #fff; }

::-webkit-scrollbar-thumb {
  background: #fff;
  border-radius: 5px; }

::-webkit-scrollbar-thumb:hover {
  background: #fff; }

#app {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding-top: 111px; }

.container {
  height: 100%;
  display: flex; }

.ant-input {
  border: none !important;
  color: #000 !important;
  border-radius: 3px !important;
  background-color: #fff !important;
  border-color: #dbdbdb !important;
  border-style: solid !important;
  border-width: 2px !important;
  box-shadow: 0px 0px !important;
  font-family: Nunito, Arial, 'Helvetica Neue', Helvetica, sans-serif;
  font-weight: 700 !important;
  font-size: 13px !important;
  height: 36px !important; }

.ant-input-clear-icon {
  font-size: 16px !important;
  color: #000 !important; }

.ant-input-affix-wrapper .ant-input-prefix,
.ant-input-affix-wrapper .ant-input-suffix {
  font-size: 16px !important;
  color: #000 !important; }

.ant-input:focus,
.ant-input:hover {
  border: 2px solid #dbdbdb !important;
  box-shadow: none !important; }

.top-heng {
  max-width: 100%;
  min-width: 100%;
  width: 100%;
  max-height: 100%;
  min-height: 100%;
  height: 100%;
  padding: 5px;
  border-radius: 5px;
  box-shadow: 0px 0px 4px 0px #ccc;
  background: #8366b4;
  box-sizing: border-box;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative; }
  .top-heng:hover {
    background: #44b6fd; }
  .top-heng .img-m {
    height: calc(100% - 40px);
    max-height: 100%;
    aspect-ratio: 1 / 1; }
    .top-heng .img-m .img {
      width: 100%;
      height: 100% !important;
      border-radius: 5px; }
  .top-heng .text-m {
    display: flex;
    width: 100%;
    flex-direction: column;
    height: 40px; }
    .top-heng .text-m .text {
      width: 100%;
      font-size: 14px;
      font-weight: 700;
      color: #fff;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      text-align: center; }
    .top-heng .text-m .name {
      width: 100%;
      font-size: 12px;
      color: #dddddd;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      text-align: center; }

.type-title {
  width: 100%;
  color: #fff;
  font-size: 19px;
  font-weight: 900;
  border-bottom: #c9c9c9 solid 1px; }

.category-list-m {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding: 20px; }
  .category-list-m .category-item-m {
    padding: 2px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    text-align: center;
    background: #fff;
    border-radius: 27px;
    box-shadow: 1px 1px 5px -3px #44b6fd; }
    .category-list-m .category-item-m .name {
      text-align: center;
      width: 100%;
      max-width: 100%;
      min-width: 100%;
      font-weight: 700;
      font-size: 15px;
      color: #44b6fd;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis; }
    .category-list-m .category-item-m .num {
      font-size: 12px;
      color: #44b6fd; }

.list-m,
.grid-m {
  max-width: 100%;
  min-width: 100%;
  width: 100%;
  display: grid;
  grid-gap: 12px;
  grid-auto-rows: 1fr; }
  .list-m.height,
  .grid-m.height {
    height: 581px; }

@media screen and (max-width: 576px) {
  .list-m {
    grid-template-columns: repeat(2, 1fr); }
  .grid-m {
    grid-template-columns: repeat(3, 1fr); }
  .ip0 {
    grid-column: span 3;
    grid-row: span 2; } }

@media screen and (min-width: 577px) {
  .list-m {
    grid-template-columns: repeat(9, 1fr); }
  .grid-m {
    grid-template-columns: repeat(4, 1fr); }
  .ip0 {
    grid-column: span 4;
    grid-row: span 2; } }
