/* Novel tag page — head + pagination on top of novel-static cards */

.novel-tag-static .novel-crumb__current {
  color: var(--novel-muted);
}

.nt-only-pc,
.nt-only-h5 {
  display: none;
}

@media (max-width: 768px) {
  .nt-only-h5 {
    display: inline;
  }

  .novel-tag-only-pc {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .nt-only-pc {
    display: inline;
  }

  .novel-tag-only-h5 {
    display: none !important;
  }
}

/* ========== H5 ========== */
@media (max-width: 768px) {
  .novel-tag-static .novel-view {
    padding: 12px 16px 24px;
  }

  .novel-tag-static .novel-inner {
    gap: 18px;
  }

  .novel-tag-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    align-self: stretch;
    padding: 6px 12px;
    background: rgba(255, 225, 32, 0.1);
    border-radius: 6px;
  }

  .novel-tag-static .novel-crumb {
    font-size: 12px;
    line-height: 18px;
    color: var(--novel-text);
  }

  .novel-pager--h5 {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    overflow: hidden;
    align-self: center;
  }

  .novel-pager__h5-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    padding: 6px 12px;
    border: 0;
    border-radius: 6px;
    font-size: 12px;
    line-height: 18px;
    font-family: inherit;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
  }

  .novel-pager__h5-btn--prev {
    background: rgba(255, 225, 32, 0.3);
    color: rgba(255, 255, 255, 0.5);
  }

  .novel-pager__h5-btn--prev.is-disabled {
    pointer-events: none;
    cursor: not-allowed;
  }

  .novel-pager__h5-btn--next {
    background: var(--novel-accent, #ecd227);
    color: #333;
  }

  .novel-pager__h5-btn--jump {
    width: 60px;
    min-width: 60px;
    background: rgba(255, 255, 255, 0.1);
    color: #989898;
  }

  .novel-pager__h5-info {
    color: var(--novel-text);
    font-size: 12px;
    line-height: 18px;
    white-space: nowrap;
  }

  .novel-pager__h5-input {
    width: 60px;
    height: 30px;
    padding: 6px 12px;
    border: 0;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    color: var(--novel-text);
    font-size: 12px;
    line-height: 18px;
    text-align: center;
    font-family: inherit;
    box-sizing: border-box;
  }
}

/* ========== PC ========== */
@media (min-width: 769px) {
  .novel-tag-static .novel-view {
    padding: 30px 200px 60px;
  }

  .novel-tag-static .novel-inner {
    gap: 30px;
  }

  .novel-tag-head {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
  }

  .novel-tag-static .novel-crumb {
    font-size: 18px;
    line-height: 24px;
    color: var(--novel-muted);
  }

  .novel-pager--pc {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 4px 0;
    align-self: center;
    overflow: hidden;
  }

  .novel-pager__circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: #3d3d3d;
    color: rgba(255, 255, 255, 0.55);
    font-size: 16px;
    line-height: 22px;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    box-sizing: border-box;
  }

  .novel-pager__circle:disabled {
    opacity: 0.55;
    cursor: not-allowed;
  }

  .novel-pager__circle--active {
    background: var(--novel-accent, #ecd227);
    color: #3d3d3d;
    cursor: default;
  }

  .novel-pager__circle img {
    display: block;
    width: 24px;
    height: 24px;
  }

  .novel-pager__ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 48px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 16px;
    line-height: 22px;
  }

  .novel-pager__goto {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
  }

  .novel-pager__goto-label {
    color: rgba(255, 255, 255, 0.55);
    font-size: 16px;
    line-height: 22px;
  }

  .novel-pager__goto-input {
    width: 72px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: #3d3d3d;
    color: #fff;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    font-family: inherit;
    box-sizing: border-box;
  }

  .novel-pager__goto-btn {
    width: 96px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: var(--novel-accent, #ecd227);
    color: #3d3d3d;
    font-size: 16px;
    line-height: 22px;
    font-family: inherit;
    cursor: pointer;
  }
}

@media (min-width: 769px) and (max-width: 1600px) {
  .novel-tag-static .novel-view {
    padding-left: 48px;
    padding-right: 48px;
  }
}
