/* hgdju.com /drama/* H5 — rem = 1.33333vw (~5px@375), max-width 959 */
@media (max-width: 959px) {
  body.hg-page-drama-detail {
    background: #1d2325;
    color: #f4f4f5;
  }
  body.hg-page-drama-detail .hg-main,
  body.hg-page-drama-detail .main {
    margin: 0;
    padding: 0;
    background: #1d2325;
  }
  .hg-drama-detail {
    box-sizing: border-box;
    width: 100%;
    min-height: 100dvh;
    padding: 0 0 4.8rem;
    color: #f4f4f5;
    background: #1d2325;
  }
  .hg-drama-detail__crumb {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 2.2rem 5.8rem 0;
    min-width: 0;
  }
  .hg-drama-detail__crumb a,
  .hg-drama-detail__crumb span {
    white-space: nowrap;
    font-size: 2.4rem;
    font-weight: 400;
    line-height: 4.4rem;
    color: #fff;
    text-decoration: none;
  }
  .hg-drama-detail__crumb-current {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #b0b1b3 !important;
  }
  .hg-drama-detail__crumb-sep {
    flex: none;
    width: 3.2rem;
    height: 3.2rem;
  }

  .hg-drama-detail__hero { margin-top: 2rem; }
  .hg-drama-detail__cover-wrap {
    margin: 0 1.8rem;
  }
  .hg-drama-detail__cover {
    width: 66.666%;
    max-width: none;
    aspect-ratio: 3 / 4;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 2rem;
  }
  .hg-drama-detail__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .hg-drama-detail__info {
    padding: 3.6rem 3.2rem 0;
  }
  .hg-drama-detail__title {
    margin: 0;
    font-size: 4rem;
    font-weight: 700;
    line-height: 4.8rem;
    color: #f1f1f1;
  }
  .hg-drama-detail__meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 1.6rem;
  }
  .hg-drama-detail__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 3.6rem;
    padding: 0 1.8rem;
    border-radius: 0.8rem;
    background: #274e00;
    color: #fff;
    font-size: 2rem;
    line-height: 2.4rem;
  }
  .hg-drama-detail__status {
    margin: 0;
    font-size: 2.4rem;
    line-height: 4.8rem;
    color: #f1f1f1;
  }
  .hg-drama-detail__eps { color: #b5e7c6; }
  .hg-drama-detail__updated {
    margin: 1.2rem 0 0;
    font-size: 2.2rem;
    line-height: 3.6rem;
    color: #b0b1b3;
  }
  .hg-drama-detail__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1.8rem;
    margin-top: 2.8rem;
  }
  .hg-drama-detail__tag {
    display: inline-flex;
    align-items: center;
    height: 4.4rem;
    padding: 0 2rem;
    border-radius: 999px;
    background: rgba(39, 78, 0, 0.2);
    color: #b5e7c6;
    font-size: 2rem;
    line-height: 4.2rem;
    text-decoration: none;
  }
  .hg-drama-detail__desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    margin: 2.4rem 0 0;
    font-size: 2.4rem;
    line-height: 1.5;
    color: #e8eced;
  }
  .hg-drama-detail__keywords {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 0.8rem;
    row-gap: 0;
    margin: 2.8rem 0 0;
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 4.2rem;
    color: #b5e7c6;
  }
  .hg-drama-detail__keywords-label { font-weight: 500; }
  .hg-drama-detail__actions {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    margin-top: 2.8rem;
  }
  /* button. 压过 common `button:not(.hg-btn){background-color:unset}` */
  button.hg-drama-detail__btn,
  a.hg-drama-detail__btn {
    box-sizing: border-box;
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 31.6rem;
    height: auto;
    min-height: 0;
    padding: 2.4rem;
    border: 0;
    border-radius: 2rem;
    color: #fff;
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
  }
  .hg-drama-detail__btn img {
    display: block;
    width: 3.2rem;
    height: 3.2rem;
    flex: none;
  }
  a.hg-drama-detail__btn--play,
  button.hg-drama-detail__btn--play {
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: rgba(230, 224, 233, 0.16);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
  }
  button.hg-drama-detail__btn--follow {
    background: #274e00;
    background-color: #274e00;
  }
  button.hg-drama-detail__btn--follow.is-favorited,
  button.hg-drama-detail__btn--follow[data-on="true"] {
    background: #3a3a3a;
    background-color: #3a3a3a;
  }
  .hg-drama-detail__follow-on { display: none; }
  button.hg-drama-detail__btn--follow.is-favorited .hg-drama-detail__follow-off,
  button.hg-drama-detail__btn--follow[data-on="true"] .hg-drama-detail__follow-off,
  button.hg-drama-detail__btn--follow.is-favorited > img,
  button.hg-drama-detail__btn--follow[data-on="true"] > img {
    display: none;
  }
  button.hg-drama-detail__btn--follow.is-favorited .hg-drama-detail__follow-on,
  button.hg-drama-detail__btn--follow[data-on="true"] .hg-drama-detail__follow-on {
    display: inline;
  }

  .hg-drama-detail__episodes {
    margin-top: 5.2rem;
    padding: 0 3.2rem;
  }
  .hg-drama-detail__section-head {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  .hg-drama-detail__section-title {
    margin: 0;
    font-size: 3.2rem;
    font-weight: 400;
    line-height: 3.5rem;
    color: #fff;
  }
  .hg-drama-detail__section-count {
    font-size: 2.4rem;
    line-height: 5.4rem;
    color: #fff;
  }
  .hg-drama-detail__ep-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2.4rem 2.2rem;
    margin-top: 2.8rem;
  }
  .hg-drama-detail__ep {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 9.6rem;
    height: 6.4rem;
    border: 0.05rem solid #35363c;
    border-radius: 1.6rem;
    background: #232429;
    color: #fff;
    font-size: 2.8rem;
    line-height: 1;
    text-decoration: none;
    filter: drop-shadow(0 2px 7.5px rgba(0, 0, 0, 0.4));
  }
  .hg-drama-detail__ep.is-active,
  .hg-drama-detail__ep:hover {
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: rgba(230, 224, 233, 0.16);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
    filter: none;
  }

  .hg-drama-detail__comments-anchor { scroll-margin-top: 10rem; }
  .hg-drama-detail__comments {
    margin-top: 3rem;
    padding: 0 2.6rem;
  }
  body.hg-page-drama-detail .hg-drama-detail__composer,
  body.hg-page-drama-detail .hg-web-play__composer.hg-drama-detail__composer {
    position: relative;
    display: block;
    align-items: unset;
    box-sizing: border-box;
    width: 100%;
    min-height: 18rem;
    margin: 3rem 0 0;
    margin-bottom: 0;
    padding: 0 0 8.2rem;
    border: 1px solid #35363c;
    border-radius: 2rem;
    background: #27282d;
    gap: 0;
  }
  .hg-drama-detail__composer .hg-web-play__composer-avatar,
  .hg-drama-detail__composer .hg-web-play__comment-field,
  .hg-drama-detail__composer .hg-web-play__comment-prefix {
    display: none !important;
  }
  .hg-drama-detail__composer-input,
  .hg-drama-detail__composer textarea,
  .hg-drama-detail__composer #vdCommentInput {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-height: 7.8rem;
    margin: 0;
    padding: 2rem 2rem 0;
    border: 0;
    resize: none;
    overflow: hidden;
    background: transparent;
    color: #fff;
    font-size: 2.4rem;
    line-height: 3.4rem;
    outline: none;
    box-shadow: none;
  }
  /* 压过 hg-51-skin 全局 :focus-visible 描边 */
  .hg-drama-detail__composer-input:focus,
  .hg-drama-detail__composer-input:focus-visible,
  .hg-drama-detail__composer textarea:focus,
  .hg-drama-detail__composer textarea:focus-visible,
  .hg-drama-detail__composer #vdCommentInput:focus,
  .hg-drama-detail__composer #vdCommentInput:focus-visible {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
  }
  .hg-drama-detail__composer #vdCommentInput::placeholder {
    color: #7f8189;
  }
  /* 压过 common button:not(.hg-btn){background-color:unset} 与 shell button font:inherit */
  body.hg-page-drama-detail .hg-drama-detail__composer #vdCommentSubmit,
  body.hg-page-drama-detail button#vdCommentSubmit {
    position: absolute;
    right: 2.2rem;
    bottom: 2.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 15.6rem;
    height: 6rem;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 2rem;
    background: #274e00 !important;
    background-color: #274e00 !important;
    background-image: none !important;
    color: #fff !important;
    font: 400 2.4rem/1 inherit;
    font-size: 2.4rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    white-space: nowrap;
    cursor: pointer;
  }
  body.hg-page-drama-detail .hg-drama-detail__composer #vdCommentSubmit:disabled,
  body.hg-page-drama-detail button#vdCommentSubmit:disabled {
    opacity: 0.6;
    cursor: default;
  }
  body.hg-page-drama-detail .hg-drama-detail__send-h5 {
    display: inline !important;
    color: #fff;
    font-size: 2.4rem;
    font-weight: 400;
    line-height: 1;
  }
  body.hg-page-drama-detail .hg-drama-detail__send-pc {
    display: none !important;
  }

  /* 压过 common.css 全局 .hg-web-play__comment*（flex/36px 头像） */
  body.hg-page-drama-detail .hg-drama-detail__comment-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 3rem 0 0;
    padding: 0;
    list-style: none;
  }
  body.hg-page-drama-detail .hg-drama-detail__comment,
  body.hg-page-drama-detail .hg-drama-detail__comment-list .hg-web-play__comment {
    position: relative;
    display: block;
    flex-direction: unset;
    align-items: unset;
    gap: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-bottom: 0;
    background: transparent;
  }
  body.hg-page-drama-detail .hg-drama-detail__avatar,
  body.hg-page-drama-detail .hg-drama-detail__comment-list .hg-web-play__comment-avatar {
    position: absolute;
    left: 0;
    top: 1rem;
    display: block;
    flex-shrink: 0;
    width: 6.4rem;
    height: 6.4rem;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 50%;
    background: #c4c4c4;
    font-size: 0;
    line-height: 0;
    color: transparent;
  }
  body.hg-page-drama-detail .hg-drama-detail__avatar img,
  body.hg-page-drama-detail .hg-drama-detail__comment-list .hg-web-play__comment-avatar img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    object-fit: cover;
  }
  body.hg-page-drama-detail .hg-drama-detail__comment-body,
  body.hg-page-drama-detail .hg-drama-detail__comment-list .hg-web-play__comment-body {
    display: block;
    box-sizing: border-box;
    flex: none;
    min-width: 0;
    width: 100%;
    padding: 0 0 0 7.4rem;
    margin: 0;
  }
  body.hg-page-drama-detail .hg-drama-detail__comment-meta,
  body.hg-page-drama-detail .hg-drama-detail__comment-list .hg-web-play__comment-meta {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1.6rem;
    margin: 0;
    margin-bottom: 0;
    padding: 0;
  }
  body.hg-page-drama-detail .hg-drama-detail__comment-name,
  body.hg-page-drama-detail .hg-drama-detail__comment-list .hg-web-play__comment-meta strong {
    margin: 0;
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 4.6rem;
    color: #fff;
  }
  body.hg-page-drama-detail .hg-drama-detail__comment-time,
  body.hg-page-drama-detail .hg-drama-detail__comment-list .hg-web-play__comment-meta > span:not(.hg-web-play__comment-audit):not(.hg-drama-detail__comment-audit) {
    margin: 0;
    font-size: 2.4rem;
    line-height: 3.6rem;
    color: #f4f4f5;
    white-space: nowrap;
  }
  body.hg-page-drama-detail .hg-drama-detail__comment-audit,
  body.hg-page-drama-detail .hg-drama-detail__comment-list .hg-web-play__comment-meta .hg-web-play__comment-audit,
  body.hg-page-drama-detail .hg-drama-detail__comment-list .hg-web-play__comment-meta .hg-drama-detail__comment-audit {
    flex: none;
    margin: 0;
    padding: 0 1rem;
    border: 0;
    border-radius: 0.6rem;
    background: #3a3a3a;
    color: #b5b7bf;
    font-size: 2rem;
    font-weight: 400;
    line-height: 3rem;
  }
  body.hg-page-drama-detail .hg-drama-detail__comment-text,
  body.hg-page-drama-detail .hg-drama-detail__comment-list .hg-web-play__comment-body > p.hg-drama-detail__comment-text,
  body.hg-page-drama-detail .hg-drama-detail__comment-list .hg-web-play__comment-body > p:not(.hg-web-play__comment-meta):not(.hg-drama-detail__comment-meta):not(.hg-web-play__comment-actions):not(.hg-drama-detail__comment-actions) {
    margin: 0.8rem 0 0;
    font-size: 2.8rem;
    line-height: 3.6rem;
    color: #f4f4f5;
    word-break: break-word;
  }
  body.hg-page-drama-detail .hg-drama-detail__comment-actions,
  body.hg-page-drama-detail .hg-drama-detail__comment-list .hg-web-play__comment-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0.8rem 0 0;
    padding: 0;
  }
  body.hg-page-drama-detail .hg-drama-detail__comment-like,
  body.hg-page-drama-detail .hg-drama-detail__comment-list button.hg-web-play__comment-like {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    height: auto;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    background-color: transparent;
    color: #f4f4f5;
    font-size: 2.4rem;
    font-weight: 400;
    line-height: 3.6rem;
    cursor: pointer;
  }
  body.hg-page-drama-detail .hg-drama-detail__comment-like:disabled,
  body.hg-page-drama-detail .hg-drama-detail__comment-list button.hg-web-play__comment-like:disabled {
    cursor: default;
    opacity: 1;
  }
  body.hg-page-drama-detail .hg-drama-detail__comment-like svg,
  body.hg-page-drama-detail .hg-drama-detail__comment-list button.hg-web-play__comment-like svg {
    width: 3.2rem;
    height: 3.2rem;
  }
  body.hg-page-drama-detail .hg-drama-detail__comment-reply,
  body.hg-page-drama-detail .hg-drama-detail__comment-list button.hg-web-play__comment-reply {
    height: auto;
    min-height: 0;
    margin-left: 3.2rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    background-color: transparent;
    color: #f4f4f5;
    font-size: 2.4rem;
    font-weight: 400;
    line-height: 3.6rem;
    cursor: pointer;
  }
  body.hg-page-drama-detail .hg-drama-detail__comment-reply:disabled,
  body.hg-page-drama-detail .hg-drama-detail__comment-list button.hg-web-play__comment-reply:disabled {
    cursor: default;
  }
  body.hg-page-drama-detail .hg-drama-detail__replies { margin-top: 2rem; }
  body.hg-page-drama-detail .hg-drama-detail__reply,
  body.hg-page-drama-detail .hg-drama-detail__comment-list .hg-web-play__reply {
    position: relative;
    display: block;
    margin: 2rem 0 0;
    padding: 0;
    border: 0;
    background: transparent;
  }
  body.hg-page-drama-detail .hg-drama-detail__reply-avatar,
  body.hg-page-drama-detail .hg-drama-detail__comment-list .hg-web-play__reply-avatar {
    position: absolute;
    left: 0;
    top: 0.6rem;
    display: block;
    width: 5.2rem;
    height: 5.2rem;
    overflow: hidden;
    border-radius: 50%;
    background: #c4c4c4;
  }
  body.hg-page-drama-detail .hg-drama-detail__reply-avatar img,
  body.hg-page-drama-detail .hg-drama-detail__comment-list .hg-web-play__reply-avatar img {
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    object-fit: cover;
  }
  body.hg-page-drama-detail .hg-drama-detail__reply-body,
  body.hg-page-drama-detail .hg-drama-detail__comment-list .hg-web-play__reply-body {
    padding-left: 6.8rem;
  }
  body.hg-page-drama-detail .hg-drama-detail__reply-name {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 4.5rem;
    color: #fff;
  }
  body.hg-page-drama-detail .hg-drama-detail__comment-empty,
  body.hg-page-drama-detail .hg-drama-detail__comment-list .hg-web-play__comment-empty {
    margin: 2rem 0 0;
    color: #999;
    font-size: 2.4rem;
    list-style: none;
  }

  .hg-drama-detail__recommend { margin-top: 4.8rem; }
  .hg-drama-detail__recommend-head { padding-left: 3.2rem; }
  .hg-drama-detail__recommend-title {
    display: flex;
    align-items: center;
    font-size: 3.2rem;
    line-height: 5rem;
    color: #f1f1f1;
  }
  .hg-drama-detail__recommend-icon { display: none; }
  .hg-drama-detail__recommend-h5 { display: inline; }
  .hg-drama-detail__recommend-pc { display: none; }
  .hg-drama-detail__recommend-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem 2rem;
    margin-top: 2.4rem;
    padding: 2rem;
  }
  .hg-drama-detail__recommend-grid .hg-drama-card {
    padding: 0;
    border: 0;
    background: transparent;
  }
  .hg-drama-detail__recommend-grid .hg-drama-card__cover {
    border-radius: 1.2rem;
    aspect-ratio: 3 / 4;
  }
  .hg-drama-detail__recommend-grid .hg-drama-card__title {
    margin-top: 0.6rem;
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 4.8rem;
  }
  .hg-drama-detail__recommend-grid .hg-drama-card__meta {
    font-size: 2.4rem;
    line-height: 4.8rem;
    color: #999;
  }
}
