/* Drama tag page — head + pagination on top of drama-static cards */

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

/* ========== Visibility ========== */
@media (max-width: 768px) {
  .drama-tag-only-pc {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .drama-tag-only-h5 {
    display: none !important;
  }
}

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

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

  .drama-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;
  }

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

  .drama-tag-static .drama-crumb__h5,
  .drama-tag-static .drama-crumb__pc {
    display: none;
  }

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

  .drama-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;
  }

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

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

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

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

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

  .drama-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(--drama-text);
    font-size: 12px;
    line-height: 18px;
    text-align: center;
    font-family: inherit;
    box-sizing: border-box;
  }
}

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

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

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

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

  .drama-tag-static .drama-crumb__h5,
  .drama-tag-static .drama-crumb__pc {
    display: none;
  }

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

  .drama-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;
  }

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

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

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

  .drama-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;
  }

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

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

  .drama-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;
  }

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

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