/* Ranking / Mods / Article list — WAP (downsite references) */
.playmods-ranking-wap,
.playmods-mods-wap,
.playmods-article-list-wap,
.playmods-recommended-wap,
.playmods-mod-feature-wap {
  display: none;
}

.playmods-list-wap-loading {
  display: none;
}

@media screen and (max-width: 1024px) {
  .playmods-ranking-page .playmods-ranking-desktop,
  .playmods-mods-page .playmods-mods-desktop,
  .playmods-article-list-page .playmods-article-list-desktop,
  .playmods-recommended-page .playmods-recommended-desktop,
  .playmods-mod-feature-page .playmods-mod-feature-desktop {
    display: none !important;
  }

  .playmods-ranking-page .bread-nav,
  .playmods-mods-page .bread-nav,
  .playmods-article-list-page .bread-nav,
  .playmods-article-detail-page .bread-nav,
  .playmods-recommended-page .bread-nav,
  .playmods-mod-feature-page .bread-nav {
    display: none;
  }

  .playmods-ranking-page .search-side,
  .playmods-recommended-page .search-side {
    display: none !important;
  }

  .playmods-ranking-wap,
  .playmods-mods-wap,
  .playmods-article-list-wap,
  .playmods-recommended-wap,
  .playmods-mod-feature-wap {
    display: block;
  }

  .playmods-list-wap-loading {
    display: block;
    padding: 40px 14px;
    text-align: center;
    color: #656570;
    font-size: 14px;
    background: #fff;
  }

  /* —— Ranking —— */
  .playmods-ranking-wap .ranking-plate-type {
    background: #fff;
    padding: 12px 14px 0;
    position: sticky;
    top: 52px;
    z-index: 2001;
  }

  .playmods-ranking-wap .ranking-plate-type-content {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #f2f2f2;
  }

  .playmods-ranking-wap .ranking-plate-type-content > a {
    flex: 1;
    text-decoration: none;
    color: inherit;
  }

  .playmods-ranking-wap .ranking-plate-type-item {
    position: relative;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    color: #656570;
    padding: 12px 6px 14px;
    line-height: 1.2;
  }

  .playmods-ranking-wap .ranking-plate-type-item.active {
    color: #222236;
    font-weight: 600;
  }

  .playmods-ranking-wap .ranking-plate-type-item .sign {
    display: none;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 18px;
    height: 2px;
    background: #5342f6;
    border-radius: 1px;
  }

  .playmods-ranking-wap .ranking-plate-type-item.active .sign {
    display: block;
  }

  .playmods-ranking-wap-list .common-exhibition-line {
    padding: 0 14px;
    background: #fff;
  }

  /* —— Recommended —— */
  .playmods-recommended-wap-title {
    position: sticky;
    top: 52px;
    z-index: 2001;
    background: #fff;
    padding: 0 14px;
  }

  .playmods-recommended-wap-title .common-title-content {
    padding: 15px 0;
    border-bottom: 1px solid #f2f2f2;
  }

  .playmods-recommended-wap-title h1 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #222236;
    line-height: 1.35;
  }

  .playmods-recommended-wap-list .common-exhibition-line {
    padding: 0 14px;
    background: #fff;
  }

  /* —— Mod feature (/mod/:slug) —— */
  .playmods-mod-feature-wap-tier.common-tier {
    display: flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    background: #fff;
  }

  .playmods-mod-feature-wap-tier.common-tier a {
    text-decoration: none;
    color: inherit;
  }

  .playmods-mod-feature-wap-tier .tier-item {
    font-size: 13px;
    font-weight: 400;
    color: #222236;
    padding-right: 3px;
    white-space: nowrap;
  }

  .playmods-mod-feature-wap-tier .tier-item.active {
    color: #5342f6;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .playmods-mod-feature-wap-head {
    position: sticky;
    top: 52px;
    z-index: 2002;
    background: #fff;
    isolation: isolate;
  }

  .playmods-mod-feature-wap .classification-title {
    position: relative;
    margin-top: 0;
    padding: 10px 14px;
    border-bottom: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
  }

  .playmods-mod-feature-wap .classification-title-gameApp h1.title {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #222236;
    line-height: 1.35;
  }

  .playmods-mod-feature-wap-head > .classification-sort {
    position: static;
    top: auto;
    z-index: auto;
  }

  .playmods-mod-feature-type-select {
    position: absolute;
    top: 100%;
    left: -14px;
    right: -14px;
    min-height: 100vh;
    box-sizing: border-box;
    padding-bottom: 24px;
    background: rgba(0, 0, 0, 0.4);
    z-index: 5;
  }

  .playmods-mod-feature-type-select .main {
    background: #fff;
    padding: 10px 14px 4px;
  }

  .playmods-mod-feature-type-select .type-select-main {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.3rem;
  }

  .playmods-mod-feature-type-select .type-select-main > a {
    box-sizing: border-box;
    width: 33.333%;
    padding: 0;
    text-decoration: none;
    color: inherit;
    display: flex;
    justify-content: center;
  }

  /* downsite mod_iphone: ~6.2rem pill, 0.75rem text */
  .playmods-mod-feature-type-select .type-select-main .item {
    box-sizing: border-box;
    width: 6.2rem;
    max-width: calc(100% - 0.6rem);
    min-height: 0;
    padding: 0.3125rem 0.1875rem;
    margin: 0.3rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 400;
    color: #222236;
    text-align: center;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .playmods-mod-feature-type-select .type-select-main .item.active {
    color: #5342f6;
    border-color: #5342f6;
  }

  .playmods-mod-feature-type-select .type-close {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 15px 0 0;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .playmods-mod-feature-type-select .type-close-icon {
    display: block;
    width: 29px;
    height: 29px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: rgba(34, 34, 54, 0.55);
    position: relative;
  }

  .playmods-mod-feature-type-select .type-close-icon::before,
  .playmods-mod-feature-type-select .type-close-icon::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
  }

  .playmods-mod-feature-type-select .type-close-icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .playmods-mod-feature-type-select .type-close-icon::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .playmods-mod-feature-wap-list .common-exhibition-line {
    padding: 0 14px;
    background: #fff;
  }

  /* —— Mods —— */
  .playmods-mods-wap.section {
    padding: 0 14px;
    background: #fff;
  }

  .playmods-mods-wap .main-mods {
    padding: 16px 0;
  }

  .playmods-mods-wap .mods-card-head h2 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #222236;
    line-height: 18px;
    text-align: center;
  }

  .playmods-mods-wap .mods-card-head-desp {
    margin: 12px 0 0;
    font-size: 13px;
    color: #656570;
    line-height: 18px;
    text-align: center;
  }

  .playmods-mods-wap .mods-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 16px 0 12px;
  }

  .playmods-mods-wap .mods-line-icon {
    height: 10px;
    width: auto;
  }

  .playmods-mods-wap .mods-line-tips {
    font-size: 12px;
    color: #656570;
  }

  .playmods-mods-wap .mods-inside-modsGamer {
    text-align: center;
    margin-bottom: 16px;
    font-size: 12px;
  }

  .playmods-mods-wap .mods-card-graphic.inside {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f2f2f2;
  }

  .playmods-mods-wap .mods-card-graphic-main {
    flex: 1;
    min-width: 0;
    text-decoration: none;
    color: inherit;
  }

  .playmods-mods-wap .mods-card-graphic-flex {
    display: flex;
    align-items: center;
  }

  .playmods-mods-wap .mods-card-graphic-img {
    width: 71px;
    height: 71px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 16px;
    background: #e5e5e5;
  }

  .playmods-mods-wap .mods-card-graphic-content {
    margin: 0 10px 0 9px;
    line-height: 14px;
    max-width: 225px;
    min-width: 0;
  }

  .playmods-mods-wap .graphic-content-name {
    font-size: 14px;
    font-weight: 700;
    color: #222236;
    margin-bottom: 9px;
  }

  .playmods-mods-wap .graphic-content-inside {
    font-size: 13px;
    font-weight: 400;
    color: #656570;
    margin-bottom: 9px;
  }

  .playmods-mods-wap .graphic-content-vs {
    font-size: 13px;
    color: #656570;
  }

  .playmods-mods-wap .mods-card-download {
    flex-shrink: 0;
    height: 26px;
    background: #5342f6;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
  }

  .playmods-mods-wap .mods-card-download .download-text {
    font-size: 13px;
    font-weight: 400;
    color: #fff;
    line-height: 14px;
    white-space: nowrap;
  }

  .playmods-mods-wap .common-exhibition.inside-mods.mods-wap-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 8px;
    margin-bottom: 12px;
    padding: 0;
  }

  .playmods-mods-wap .mods-wap-grid-item {
    text-decoration: none;
    color: inherit;
    min-width: 0;
    display: flex;
    flex-direction: column;
  }

  .playmods-mods-wap .common-exhibition-card-icon {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 6px;
    flex-shrink: 0;
  }

  .playmods-mods-wap .common-exhibition-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .playmods-mods-wap .mods-wap-grid-name {
    font-size: 11px;
    color: #222236;
    line-height: 1.25;
    text-align: center;
  }

  .playmods-mods-wap .mods-wap-view-all {
    display: block;
    text-align: center;
    color: #5342f6;
    font-size: 14px;
    padding: 8px 0 20px;
    text-decoration: none;
  }

  .playmods-mods-wap .mods-wap-faq {
    padding: 12px 0 20px;
    font-size: 14px;
    color: #656570;
    line-height: 1.5;
  }

  .playmods-mods-wap .mods-wap-faq img {
    max-width: 100%;
    height: auto;
  }

  /* —— Article list —— */
  .playmods-article-list-wap {
    background: #fff;
  }

  .playmods-article-list-wap .article-column-head {
    position: sticky;
    top: 52px;
    z-index: 2001;
    background: #fff;
    padding: 0 14px;
    border-bottom: 1px solid #f2f2f2;
  }

  .playmods-article-list-wap .article-column-list-item {
    position: relative;
    padding: 14px 12px 12px;
    font-size: 14px;
    color: #656570;
    white-space: nowrap;
  }

  .playmods-article-list-wap .article-column-list-item h1 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #222236;
  }

  .playmods-article-list-wap .article-column-list-item.active {
    color: #222236;
    font-weight: 600;
  }

  .playmods-article-list-wap .article-column-list-item-sign {
    display: none;
    position: absolute;
    left: 50%;
    bottom: 4px;
    transform: translateX(-50%);
    width: 18px;
    height: 2px;
    background: #5342f6;
    border-radius: 1px;
  }

  .playmods-article-list-wap .article-column-list-item.active .article-column-list-item-sign {
    display: block;
  }

  .playmods-article-list-wap-body {
    padding: 8px 14px 16px;
  }

  .playmods-article-list-wap-row {
    display: flex;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid #f2f2f2;
    text-decoration: none;
    color: inherit;
  }

  .playmods-wap-article-excerpt {
    font-size: 12px;
    color: #656570;
    margin-top: 4px;
    line-height: 1.35;
  }

  /* —— Article detail —— */
  .playmods-article-detail-page .article-details-main {
    padding: 16px 14px 24px !important;
  }

  .playmods-article-detail-page .article-details-head h1 {
    font-size: 18px;
    line-height: 1.35;
  }

  .playmods-article-detail-page .article-details-appearance {
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 12px 0;
  }

  .playmods-article-detail-page .article-details-pre-content {
    font-size: 15px;
    line-height: 1.55;
  }

  .playmods-article-detail-page .article-details-pre-content img {
    max-width: 100%;
    height: auto;
  }

  .playmods-article-detail-page .article-details-stepByStep {
    padding: 0 14px 20px;
  }
}

