    .article-hero {
      min-height: 178px;
    }

    .page {
      padding-bottom: calc(86px + env(safe-area-inset-bottom));
    }

    .article-hero::before {
      background-image: var(--cover);
    }

    .article-panel {
      max-width: 100%;
      overflow: hidden;
      padding: 18px;
      border: 1px solid rgba(224, 237, 248, .9);
      border-radius: 16px;
      background: #fff;
      box-shadow: 0 12px 30px rgba(29, 67, 116, .08);
    }

    .article-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 16px;
    }

    .article-meta-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: start;
      gap: 12px;
      margin-bottom: 16px;
    }

    .article-meta-row .article-meta {
      margin-bottom: 0;
    }

    .article-meta span {
      display: inline-flex;
      align-items: center;
      min-height: 26px;
      padding: 0 10px;
      border-radius: 999px;
      background: #eaf4ff;
      color: var(--blue);
      font-size: 12px;
      font-weight: 850;
    }

    .favorite-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      height: 34px;
      padding: 0 13px;
      border: 1px solid rgba(18, 103, 255, .16);
      border-radius: 999px;
      background: rgba(255, 255, 255, .92);
      color: #1267ff;
      font-size: 13px;
      font-weight: 900;
      box-shadow: 0 8px 20px rgba(18, 103, 255, .10);
      white-space: nowrap;
    }

    .favorite-btn.is-active {
      border-color: rgba(255, 168, 35, .25);
      background: #fff7e8;
      color: #c46b00;
    }

    .article-panel h2 {
      margin: 0 0 12px;
      color: var(--deep);
      font-size: 19px;
      line-height: 1.32;
      overflow-wrap: anywhere;
    }

    .article-panel p,
    .article-panel li {
      max-width: 100%;
      color: #536179;
      font-size: 15px;
      line-height: 1.82;
      overflow-wrap: anywhere;
      word-break: break-word;
    }

    .article-panel p {
      margin: 0 0 14px;
    }

    .article-panel ul {
      max-width: 100%;
      margin: 0 0 16px;
      padding-left: 18px;
    }

    .article-panel img,
    .article-panel video,
    .article-panel iframe,
    .article-panel table {
      max-width: 100%;
    }

    .article-panel img {
      display: block;
      height: auto;
      border-radius: 14px;
    }

    .article-panel blockquote {
      display: block;
      width: 100%;
      margin: 14px 0 !important;
      padding: 12px 14px !important;
      border-left: 4px solid var(--blue) !important;
      border-radius: 10px;
      background: #f3f8ff;
      color: #42526a;
    }

    .article-panel blockquote,
    .article-panel blockquote * {
      max-width: 100%;
      box-sizing: border-box;
    }

    .article-panel blockquote p {
      margin: 0;
      color: #42526a;
    }

    .article-panel blockquote p + p {
      margin-top: 8px;
    }

    .article-panel code {
      display: inline-block;
      padding: 2px 6px;
      border: 1px solid #dbe7f3;
      border-radius: 7px;
      background: #f5f8fc;
      color: #0b3a75;
      font-family: "Cascadia Code", "Consolas", monospace;
      font-size: .92em;
      line-height: 1.55;
      vertical-align: baseline;
      white-space: break-spaces;
    }

    .article-sections {
      display: grid;
      gap: 16px;
      margin-top: 18px;
    }

    .article-sections h1,
    .article-sections h2,
    .article-sections h3,
    .article-sections h4,
    .article-sections h5,
    .article-sections h6 {
      margin: 1.25em 0 .55em;
      color: var(--deep);
      line-height: 1.35;
      overflow-wrap: anywhere;
    }

    .article-sections h1 { font-size: 26px; }
    .article-sections h2 { font-size: 23px; }
    .article-sections h3 { font-size: 20px; }
    .article-sections h4 { font-size: 18px; }
    .article-sections h5 { font-size: 16px; }
    .article-sections h6 { font-size: 15px; }
    .article-sections ul,
    .article-sections ol { margin: 12px 0; padding-left: 1.5em; }
    .article-sections li { margin: 6px 0; line-height: 1.75; }
    .article-sections blockquote { margin: 14px 0; padding: 10px 14px; border-left: 3px solid #2f7cff; background: #f3f7fd; color: #53657d; }
    .article-sections pre { max-width: 100%; overflow-x: auto; padding: 14px; border-radius: 8px; background: #0c1728; color: #edf5ff; }
    .article-sections table { width: 100%; margin: 14px 0; border-collapse: collapse; }
    .article-sections th,
    .article-sections td { padding: 9px 10px; border: 1px solid #dbe7f3; text-align: left; }
    .article-sections .md-blank-line { min-height: 1em; margin: 0; }

    .article-section {
      padding-top: 15px;
      border-top: 1px solid rgba(226, 237, 248, .92);
    }

    .article-section h3 {
      margin: 0 0 8px;
      color: var(--deep);
      font-size: 17px;
      line-height: 1.35;
      font-weight: 950;
      overflow-wrap: anywhere;
    }

    .article-section p:last-child {
      margin-bottom: 0;
    }

    .article-image {
      margin: 12px 0 4px;
      overflow: hidden;
      border: 1px solid rgba(224, 237, 248, .95);
      border-radius: 13px;
      background: #eef6ff;
    }

    .article-image img {
      display: block;
      width: 100%;
      aspect-ratio: 16 / 9;
      object-fit: cover;
    }

    .article-image figcaption {
      padding: 8px 10px 10px;
      color: #6f7f95;
      font-size: 12px;
      line-height: 1.5;
    }

    .article-video {
      margin: 16px 0 18px;
      overflow: hidden;
      border: 1px solid rgba(224, 237, 248, .95);
      border-radius: 15px;
      background: #07152b;
      box-shadow: 0 14px 32px rgba(5, 25, 58, .16);
    }

    .article-video video {
      display: block;
      width: 100%;
      max-height: 420px;
      background: #07152b;
    }

    .article-note {
      margin-top: 18px;
      padding: 13px;
      border-radius: 12px;
      background: #f2f8ff;
      color: #5d6e85;
      font-size: 13px;
      line-height: 1.7;
    }

    .article-panel .rich-paste-content {
      width: 100%;
      max-width: 100%;
      overflow: hidden;
      box-sizing: border-box;
      overflow-wrap: anywhere;
      word-break: break-word;
    }

    .article-panel .rich-paste-content * {
      max-width: 100%;
      box-sizing: border-box;
    }

    .article-panel .rich-paste-content img {
      max-width: 100% !important;
      height: auto !important;
    }

    .article-panel .rich-paste-content table {
      width: 100% !important;
      max-width: 100%;
    }

    .article-panel .paste-image-placeholder {
      display: block !important;
      clear: both;
      width: 100% !important;
      max-width: 100% !important;
      margin: 16px 0;
      padding: 16px;
      border: 1px dashed #b7d3ee;
      border-radius: 14px;
      background: #f4f9ff;
      color: #607089;
      font-size: 14px;
      line-height: 1.7;
      text-align: center;
    }

    .article-panel .paste-image-placeholder strong {
      display: block;
      color: var(--deep);
      font-weight: 950;
    }

    .article-panel .paste-image-placeholder button {
      display: none;
    }

    .article-panel .paste-image-placeholder span {
      display: block;
    }

    .article-panel .paste-step-heading {
      display: flex !important;
      align-items: stretch;
      width: 100% !important;
      max-width: 100% !important;
      margin: 18px 0 12px !important;
      overflow: hidden;
      background: #5e9ced;
      color: #fff;
      box-sizing: border-box;
    }

    .article-panel .paste-step-heading .paste-step-number {
      display: grid;
      min-width: 54px;
      padding: 10px 12px;
      place-items: center;
      background: #2097ff;
      color: #fff;
      font-size: 18px;
      font-weight: 950;
      line-height: 1;
    }

    .article-panel .paste-step-heading .paste-step-title {
      display: flex;
      flex: 1;
      min-width: 0;
      min-height: 42px;
      align-items: center;
      justify-content: center;
      padding: 10px 14px;
      color: #fff;
      font-size: 16px;
      font-weight: 950;
      line-height: 1.45;
      text-align: center;
      overflow-wrap: anywhere;
    }

    .comments-panel {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-rows: auto minmax(96px, auto) auto;
      max-height: min(76vh, 680px);
      overflow: hidden;
      padding: 18px 16px;
      border: 1px solid rgba(151, 194, 235, .62);
      border-radius: 18px;
      background: rgba(255, 255, 255, .94);
      box-shadow: 0 14px 38px rgba(26, 73, 125, .1);
    }

    .comments-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 14px;
    }

    .comments-head h2 {
      color: #052b64;
      font-size: 18px;
      line-height: 1.25;
      font-weight: 950;
    }

    .comments-head span {
      flex: 0 0 auto;
      color: #6f7f95;
      font-size: 12px;
      font-weight: 850;
    }

    .comment-form {
      position: relative;
      z-index: 2;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
      gap: 8px;
      margin-top: 12px;
      padding: 10px;
      border-radius: 14px;
      background: #f7fbff;
      box-shadow: 0 14px 34px rgba(26, 73, 125, .12);
    }

    .comment-reply-state {
      grid-column: 1 / -1;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding: 8px 10px;
      border-radius: 10px;
      background: #eaf4ff;
      color: #42617f;
      font-size: 12px;
      font-weight: 850;
    }

    .comment-reply-state[hidden] {
      display: none;
    }

    .comment-reply-state button {
      border: 0;
      background: transparent;
      color: #1267ff;
      font: inherit;
      font-weight: 950;
    }

    .comment-form textarea {
      width: 100%;
      height: 42px;
      min-height: 42px;
      max-height: 96px;
      resize: none;
      border: 1px solid #d9e8f6;
      border-radius: 999px;
      padding: 9px 13px;
      outline: 0;
      background: #fff;
      color: #17243a;
      font: inherit;
      font-size: 14px;
      line-height: 22px;
      overflow-y: auto;
    }

    .comment-form textarea:focus {
      border-color: rgba(18, 103, 255, .55);
      box-shadow: 0 0 0 3px rgba(18, 103, 255, .1);
    }

    .comment-actions {
      display: flex;
      align-items: center;
      justify-content: flex-end;
    }

    .comment-actions button {
      flex: 0 0 auto;
      height: 42px;
      padding: 0 17px;
      border: 0;
      border-radius: 999px;
      background: linear-gradient(135deg, #1267ff, #0f4dd8);
      color: #fff;
      font: inherit;
      font-size: 14px;
      font-weight: 950;
      box-shadow: 0 10px 22px rgba(18, 103, 255, .2);
    }

    .comment-actions button:disabled {
      cursor: default;
      background: #cfe0ff;
      color: rgba(255, 255, 255, .84);
      box-shadow: none;
    }

    .comment-list {
      display: grid;
      gap: 12px;
      margin-top: 14px;
      max-height: min(46vh, 420px);
      min-height: 96px;
      overflow-y: auto;
      padding-right: 2px;
      overscroll-behavior: contain;
      -webkit-overflow-scrolling: touch;
    }

    .comment-list::-webkit-scrollbar {
      width: 4px;
    }

    .comment-list::-webkit-scrollbar-thumb {
      border-radius: 999px;
      background: rgba(116, 155, 200, .34);
    }

    .comment-more {
      min-height: 38px;
      border: 1px solid #d7e7f6;
      border-radius: 999px;
      background: #eef6ff;
      color: #1267ff;
      font: inherit;
      font-size: 13px;
      font-weight: 900;
    }

    .comment-more:disabled {
      opacity: .62;
    }

    .comment-item {
      padding: 12px;
      border: 1px solid #e2eef9;
      border-radius: 14px;
      background: #fff;
      touch-action: manipulation;
      transition: transform .18s ease, border-color .18s ease, background .18s ease;
    }

    .comment-item.is-reply {
      margin-left: 18px;
      border-left: 3px solid #b8d8ff;
    }

    .comment-item.is-pressing {
      transform: scale(.985);
      border-color: rgba(18, 103, 255, .5);
      background: #f6fbff;
    }

    .comment-item header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 8px;
    }

    .comment-item strong {
      min-width: 0;
      color: #052b64;
      font-size: 14px;
      font-weight: 950;
      overflow-wrap: anywhere;
    }

    .comment-item time {
      flex: 0 0 auto;
      color: #8a99ac;
      font-size: 11px;
    }

    .comment-item p,
    .comment-empty {
      color: #5f6f84;
      font-size: 14px;
      line-height: 1.6;
      overflow-wrap: anywhere;
    }

    .comment-empty {
      padding: 14px;
      border: 1px dashed #cfe2f7;
      border-radius: 14px;
      background: #f8fbff;
      text-align: center;
    }

    .comment-reply-label {
      display: inline-flex;
      margin-bottom: 6px;
      color: #1267ff;
      font-size: 12px;
      font-weight: 900;
    }

    .comment-foot {
      display: flex;
      justify-content: flex-end;
      margin-top: 8px;
      color: #8a99ac;
      font-size: 12px;
      font-weight: 850;
    }

    .comment-foot:empty {
      display: none;
    }

    .detail-tabs {
      position: sticky;
      top: 0;
      z-index: 18;
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      margin: -2px -1px 0;
      border-bottom: 1px solid rgba(226, 237, 248, .94);
      background: rgba(255, 255, 255, .96);
      backdrop-filter: blur(14px);
    }

    .detail-tabs button {
      position: relative;
      height: 54px;
      background: transparent;
      color: #7b8798;
      font-size: 17px;
      font-weight: 850;
    }

    .detail-tabs button.active {
      color: #111827;
      font-weight: 950;
    }

    .detail-tabs button.active::after {
      content: "";
      position: absolute;
      left: 50%;
      bottom: 8px;
      width: 34px;
      height: 4px;
      border-radius: 999px;
      background: #1267ff;
      transform: translateX(-50%);
    }

    .comment-empty-preview {
      display: grid;
      width: 100%;
      min-height: 340px;
      place-items: center;
      gap: 12px;
      border: 0;
      background: transparent;
      color: #9aa4b2;
      font-size: 16px;
      font-weight: 800;
    }

    .comment-empty-icon {
      display: grid;
      width: 108px;
      height: 108px;
      place-items: center;
      border-radius: 50%;
      background: linear-gradient(180deg, #f2f5f8, #edf1f5);
      color: #c6cdd6;
    }

    .comment-empty-icon svg {
      width: 54px;
      height: 54px;
    }

    .comment-drawer[hidden],
    .comment-bottom-bar[hidden] {
      display: none;
    }

    .comment-drawer {
      position: fixed;
      inset: 0;
      z-index: 320;
      display: grid;
      align-items: end;
    }

    .comment-drawer-mask {
      position: absolute;
      inset: 0;
      background: rgba(3, 10, 22, .58);
      backdrop-filter: blur(3px);
    }

    .comment-drawer-sheet {
      position: relative;
      display: grid;
      grid-template-rows: auto auto minmax(180px, 1fr) auto;
      width: min(100%, 640px);
      height: min(72vh, 720px);
      margin: 0 auto;
      overflow: hidden;
      border-radius: 22px 22px 0 0;
      background: rgba(255, 255, 255, .96);
      box-shadow: 0 -18px 55px rgba(10, 26, 52, .22);
    }

    .comment-drawer-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      min-height: 62px;
      padding: 0 20px;
    }

    .comment-drawer-head h2 {
      color: #101828;
      font-size: 20px;
      font-weight: 950;
    }

    .comment-drawer-head button {
      display: grid;
      width: 42px;
      height: 42px;
      place-items: center;
      border-radius: 50%;
      background: transparent;
      color: #99a1ad;
    }

    .comment-drawer-head svg {
      width: 24px;
      height: 24px;
    }

    .comment-drawer-tools {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      padding: 0 20px 14px;
      color: #8b95a5;
      font-size: 15px;
      font-weight: 800;
    }

    .comment-sort {
      display: inline-flex;
      padding: 3px;
      border-radius: 999px;
      background: #f0f2f5;
    }

    .comment-sort button {
      min-width: 74px;
      height: 34px;
      border-radius: 999px;
      background: transparent;
      color: #727b8a;
      font-size: 14px;
      font-weight: 850;
    }

    .comment-sort button.active {
      background: #fff;
      color: #1267ff;
      box-shadow: 0 6px 16px rgba(17, 45, 91, .10);
    }

    .comment-drawer .comment-list {
      display: grid;
      align-content: start;
      gap: 14px;
      min-height: 0;
      max-height: none;
      margin: 0;
      padding: 12px 20px 18px;
      overflow-y: auto;
      background: #f6f7f9;
    }

    .comment-drawer .comment-empty {
      display: grid;
      min-height: 280px;
      place-items: center;
      border: 0;
      background: transparent;
      color: #9aa4b2;
      font-size: 17px;
    }

    .comment-drawer .comment-empty::before {
      content: "";
      display: block;
      width: 112px;
      height: 112px;
      margin: 0 auto 14px;
      border-radius: 50%;
      background:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23c9ced6' d='M18 18h28a5 5 0 0 1 5 5v16a5 5 0 0 1-5 5H31l-10 7v-7h-3a5 5 0 0 1-5-5V23a5 5 0 0 1 5-5Zm3 9v4h22v-4H21Zm0 9v4h14v-4H21Z'/%3E%3C/svg%3E") center / 56px 56px no-repeat,
        linear-gradient(180deg, #f0f2f5, #eceff3);
    }

    .comment-drawer .comment-form {
      margin: 0;
      padding: 12px max(18px, env(safe-area-inset-left)) calc(12px + env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-right));
      border-radius: 0;
      background: rgba(255, 255, 255, .98);
      box-shadow: 0 -8px 22px rgba(15, 23, 42, .08);
    }

    .comment-drawer .comment-form textarea {
      height: 46px;
      min-height: 46px;
      border: 0;
      background: #f3f4f6;
      font-size: 16px;
    }

    .comment-drawer .comment-actions button {
      height: 46px;
      min-width: 76px;
      background: #8db7ff;
      box-shadow: none;
      font-size: 16px;
    }

    .comment-drawer .comment-form textarea:not(:placeholder-shown) + .comment-actions button {
      background: #1267ff;
    }

    .comment-bottom-bar {
      position: fixed;
      left: 50%;
      bottom: 0;
      z-index: 180;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto auto;
      gap: 12px;
      width: min(100%, 640px);
      padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
      background: rgba(255, 255, 255, .96);
      box-shadow: 0 -10px 24px rgba(15, 23, 42, .08);
      transform: translateX(-50%);
    }

    .comment-bottom-input {
      height: 46px;
      border-radius: 999px;
      background: #f3f4f6;
      color: #a0a7b2;
      font-size: 16px;
      text-align: left;
      padding: 0 18px;
    }

    .comment-bottom-icon {
      position: relative;
      display: grid;
      width: 46px;
      height: 46px;
      place-items: center;
      border-radius: 50%;
      background: transparent;
      color: #4b5563;
    }

    .comment-bottom-icon svg {
      width: 25px;
      height: 25px;
    }

    .comment-bottom-icon span {
      position: absolute;
      right: 0;
      top: 2px;
      min-width: 16px;
      height: 16px;
      padding: 0 4px;
      border-radius: 999px;
      background: #ff6b35;
      color: #fff;
      font-size: 10px;
      line-height: 16px;
      font-weight: 900;
    }

    .live-stage {
      position: relative;
      overflow: hidden;
      margin: 16px 0 18px;
      border-radius: 16px;
      background: #061b3b;
      color: #fff;
      box-shadow: 0 16px 36px rgba(3, 22, 50, .22);
    }

    .live-stage img {
      display: block;
      width: 100%;
      aspect-ratio: 16 / 9;
      object-fit: cover;
      opacity: .86;
    }

    .live-stage::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(2, 16, 38, .76), rgba(2, 16, 38, .22) 58%, rgba(2, 16, 38, .08));
    }

    .live-stage-info {
      position: absolute;
      inset: auto 18px 18px 18px;
      z-index: 2;
      display: grid;
      gap: 8px;
    }

    .live-stage-info em {
      display: inline-flex;
      width: max-content;
      min-height: 28px;
      align-items: center;
      padding: 0 10px;
      border-radius: 999px;
      background: rgba(18, 103, 255, .86);
      font-size: 12px;
      font-style: normal;
      font-weight: 950;
    }

    .live-stage-info strong {
      font-size: clamp(22px, 5.6vw, 34px);
      line-height: 1.18;
      font-weight: 950;
    }

    .live-stage-info span {
      color: rgba(255, 255, 255, .86);
      font-size: 14px;
      font-weight: 750;
    }

    .live-play {
      position: absolute;
      left: 50%;
      top: 50%;
      z-index: 3;
      display: grid;
      width: 76px;
      height: 76px;
      place-items: center;
      border-radius: 50%;
      background: rgba(0, 0, 0, .42);
      color: #fff;
      transform: translate(-50%, -50%);
      backdrop-filter: blur(4px);
    }

    .live-play svg {
      width: 38px;
      height: 38px;
      transform: translateX(3px);
    }

    html[data-theme="dark"] .detail-tabs,
    html[data-theme="dark"] .comment-bottom-bar,
    html[data-theme="dark"] .comment-drawer .comment-form {
      border-color: rgba(127, 158, 196, .22);
      background: rgba(8, 17, 31, .96);
    }

    html[data-theme="dark"] .detail-tabs button.active,
    html[data-theme="dark"] .comment-drawer-head h2 {
      color: #f3f8ff;
    }

    html[data-theme="dark"] .detail-tabs button,
    html[data-theme="dark"] .comment-drawer-tools,
    html[data-theme="dark"] .comment-bottom-icon {
      color: #9fb0c6;
    }

    html[data-theme="dark"] .comment-drawer-sheet {
      background: rgba(13, 24, 41, .98);
      box-shadow: 0 -18px 55px rgba(0, 0, 0, .42);
    }

    html[data-theme="dark"] .comment-drawer .comment-list {
      background: #0a1423;
    }

    html[data-theme="dark"] .comment-sort {
      background: rgba(255, 255, 255, .06);
    }

    html[data-theme="dark"] .comment-sort button.active {
      background: rgba(47, 125, 246, .24);
      color: #8cb9ff;
      box-shadow: none;
    }

    html[data-theme="dark"] .comment-bottom-input,
    html[data-theme="dark"] .comment-drawer .comment-form textarea {
      background: rgba(255, 255, 255, .08);
      color: #eff6ff;
    }

    html[data-theme="dark"] .comment-empty-preview,
    html[data-theme="dark"] .comment-drawer .comment-empty {
      color: #8fa0b7;
    }

    html[data-theme="dark"] .comment-empty-icon,
    html[data-theme="dark"] .comment-drawer .comment-empty::before {
      background-color: rgba(255, 255, 255, .06);
      color: #60718a;
    }

    .comment-toast {
      position: fixed;
      left: 50%;
      bottom: 96px;
      z-index: 120;
      max-width: calc(100vw - 40px);
      padding: 10px 14px;
      border-radius: 999px;
      background: rgba(5, 43, 100, .92);
      color: #fff;
      font-size: 13px;
      font-weight: 850;
      opacity: 0;
      transform: translate(-50%, 12px);
      transition: opacity .2s ease, transform .2s ease;
      pointer-events: none;
    }

    .comment-toast.show {
      opacity: 1;
      transform: translate(-50%, 0);
    }

    .comment-delete-modal[hidden] {
      display: none;
    }

    .comment-delete-modal {
      position: fixed;
      inset: 0;
      z-index: 520;
      display: grid;
      align-items: center;
      padding: 16px;
    }

    .comment-delete-mask {
      position: absolute;
      inset: 0;
      background: rgba(5, 12, 24, .5);
      backdrop-filter: blur(5px);
    }

    .comment-delete-sheet {
      position: relative;
      width: min(100%, 320px);
      margin: 0 auto;
      padding: 16px;
      border-radius: 18px;
      background: #fff;
      box-shadow: 0 24px 60px rgba(0, 0, 0, .22);
    }

    .comment-delete-sheet strong {
      display: block;
      color: #10233d;
      font-size: 17px;
      line-height: 1.35;
      font-weight: 950;
    }

    .comment-delete-sheet p {
      margin-top: 6px;
      color: #718198;
      font-size: 13px;
      line-height: 1.5;
    }

    .comment-delete-actions {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      margin-top: 14px;
    }

    .comment-delete-actions button {
      height: 42px;
      border: 0;
      border-radius: 12px;
      font: inherit;
      font-size: 14px;
      font-weight: 900;
    }

    .comment-delete-actions button:first-child {
      background: #edf3fa;
      color: #526274;
    }

    .comment-delete-actions .danger {
      background: #ff4d4f;
      color: #fff;
    }

    @media not all {
      body {
        color: #dce8f6;
        background: #0e1624;
      }

      .article-panel,
      .comments-panel {
        border-color: rgba(116, 155, 200, .3);
        background: rgba(20, 30, 45, .96);
        box-shadow: 0 14px 38px rgba(0, 0, 0, .28);
      }

      .article-panel h2,
      .article-section h3,
      .comments-head h2,
      .comment-item strong {
        color: #edf6ff;
      }

      .article-panel p,
      .article-panel li,
      .comment-item p,
      .comment-empty {
        color: #b9c8d9;
      }

      .comment-form,
      .comment-empty {
        border-color: rgba(116, 155, 200, .28);
        background: #101b2b;
      }

      .comment-form textarea,
      .comment-item {
        border-color: rgba(116, 155, 200, .28);
        background: #172235;
        color: #edf6ff;
      }

      .comment-form textarea::placeholder {
        color: #718198;
      }

      .comment-reply-state {
        background: rgba(18, 103, 255, .18);
        color: #b8d4ff;
      }
    }
    .page.is-media-detail .article-hero {
      display: none;
    }

    .page.is-article-detail .detail-tabs,
    .page.is-article-detail .media-stage-shell {
      display: none;
    }

    .media-stage-shell {
      margin: 10px 0 0;
    }

    .media-stage-shell [data-video-wrap] {
      display: block;
    }

    .media-stage-shell .live-stage,
    .media-stage-shell .article-video {
      margin: 0;
      border-radius: 0;
      box-shadow: none;
    }

    .media-stage-shell .live-stage img,
    .media-stage-shell .article-video video {
      aspect-ratio: 16 / 9;
      border-radius: 0;
    }

    .page.is-media-detail .article-panel {
      border: 0;
      border-radius: 0;
      background: #fff;
      box-shadow: none;
    }

    .page.is-media-detail .article-meta-row,
    .page.is-media-detail [data-section-title],
    .page.is-media-detail [data-lead] {
      display: none;
    }

    .detail-tabs {
      position: sticky;
      top: 0;
      z-index: 18;
      margin: 0;
      border: 0;
      background: rgba(255, 255, 255, .96);
    }

    .detail-tabs button {
      height: 56px;
      border: 0;
      color: #7b8492;
      font-size: 16px;
      font-weight: 850;
    }

    .detail-tabs button.active {
      color: #101828;
    }

    .detail-tabs button.active::after {
      bottom: 5px;
      width: 32px;
      height: 4px;
    }

    .comments-panel {
      display: grid;
      grid-template-rows: auto minmax(220px, 1fr) auto;
      max-height: none;
      min-height: 420px;
      padding: 16px 18px 0;
      border: 0;
      border-radius: 0;
      background: #fff;
      box-shadow: none;
    }

    .comments-head {
      margin: 0 0 12px;
    }

    .comments-head h2 {
      color: #101828;
      font-size: 20px;
    }

    .comments-panel .comment-list {
      gap: 8px;
      align-content: start;
      align-items: start;
      grid-auto-rows: max-content;
      max-height: 52vh;
      min-height: 160px;
      margin: 0;
      padding: 4px 0 12px;
    }

    .page.is-live-detail .comments-panel .comment-list {
      display: flex;
      flex-direction: column;
      gap: 8px;
      justify-content: flex-start;
      overflow-y: auto;
    }

    .comment-item {
      width: fit-content;
      max-width: min(88%, 520px);
      border: 0;
      border-radius: 12px;
      background: transparent;
      box-shadow: none;
      padding: 0;
    }

    .comment-item header {
      justify-content: flex-start;
      margin: 0 0 5px;
      color: #8b95a5;
    }

    .comment-item strong {
      color: #7a8494;
      font-size: 13px;
    }

    .comment-item p {
      display: inline-block;
      margin: 0;
      padding: 11px 14px;
      border-radius: 8px;
      background: #f6f7f9;
      color: #303846;
      font-size: 15px;
      line-height: 1.55;
    }

    .comment-foot,
    .comment-reply-label {
      display: none;
    }

    .comment-empty {
      display: grid;
      min-height: 300px;
      place-items: center;
      border: 0;
      background: transparent;
      color: #9aa3af;
      font-size: 16px;
    }

    .comment-empty::before {
      content: "";
      display: block;
      width: 104px;
      height: 104px;
      margin: 0 auto 12px;
      border-radius: 50%;
      background:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23c9ced6' d='M18 18h28a5 5 0 0 1 5 5v16a5 5 0 0 1-5 5H31l-10 7v-7h-3a5 5 0 0 1-5-5V23a5 5 0 0 1 5-5Zm3 9v4h22v-4H21Zm0 9v4h14v-4H21Z'/%3E%3C/svg%3E") center / 52px 52px no-repeat,
        linear-gradient(180deg, #f0f2f5, #eceff3);
    }

    .comment-empty-preview {
      display: none;
    }

    .live-comment-form {
      margin: 0 -18px;
      padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
      border-top: 1px solid #eef1f5;
      border-radius: 0;
      background: rgba(255, 255, 255, .98);
      box-shadow: 0 -8px 18px rgba(15, 23, 42, .06);
    }

    .live-comment-form[hidden] {
      display: none;
    }

    .comment-bottom-bar {
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 10px;
      background: rgba(255, 255, 255, .97);
    }

    .comment-bottom-input {
      border: 0;
      background: #f4f5f7;
      color: #9aa3af;
    }

    .comment-bottom-icon[data-open-comments] {
      display: none;
    }

    .comment-bottom-icon {
      width: 44px;
      height: 44px;
    }

    .comment-drawer-sheet {
      height: min(68vh, 680px);
      border-radius: 20px 20px 0 0;
    }

    .comment-drawer .comment-item {
      max-width: min(92%, 520px);
    }

    .comment-drawer .comment-list {
      background: #f6f7f9;
    }

    .comment-drawer .comment-form,
    .live-comment-form {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 10px;
    }

    .comment-drawer .comment-form textarea,
    .live-comment-form textarea {
      height: 46px;
      min-height: 46px;
      border: 0;
      border-radius: 999px;
      background: #f4f5f7;
      font-size: 16px;
    }

    .comment-drawer .comment-actions button,
    .live-comment-form .comment-actions button {
      height: 46px;
      min-width: 76px;
      background: #8db7ff;
      box-shadow: none;
    }

    html[data-theme="dark"] .comments-panel,
    html[data-theme="dark"] .page.is-media-detail .article-panel,
    html[data-theme="dark"] .detail-tabs,
    html[data-theme="dark"] .comment-bottom-bar,
    html[data-theme="dark"] .live-comment-form,
    html[data-theme="dark"] .comment-drawer .comment-form {
      background: rgba(8, 17, 31, .98);
      border-color: rgba(127, 158, 196, .18);
    }

    html[data-theme="dark"] .comment-drawer .comment-list,
    html[data-theme="dark"] .comment-item p,
    html[data-theme="dark"] .comment-bottom-input,
    html[data-theme="dark"] .comment-drawer .comment-form textarea,
    html[data-theme="dark"] .live-comment-form textarea {
      background: rgba(255, 255, 255, .08);
      color: #eef6ff;
    }

    html[data-theme="dark"] .comments-head h2,
    html[data-theme="dark"] .detail-tabs button.active {
      color: #f3f8ff;
    }

    .media-stage-shell {
      overflow: hidden;
      border-radius: 18px;
      box-shadow: 0 14px 32px rgba(10, 39, 78, .13);
    }

    .media-stage-shell .live-stage,
    .media-stage-shell .article-video,
    .media-stage-shell .live-stage img,
    .media-stage-shell .article-video video {
      border-radius: inherit;
    }

    .page.is-article-detail .article-panel {
      margin-bottom: 0;
      border-bottom-color: transparent;
      border-radius: 18px 18px 0 0;
      box-shadow: 0 10px 24px rgba(29, 67, 116, .07);
    }

    .page.is-article-detail .comments-panel {
      margin-top: 0;
      border: 1px solid rgba(224, 237, 248, .9);
      border-top: 0;
      border-radius: 0 0 18px 18px;
      background: #fff;
      box-shadow: 0 16px 34px rgba(29, 67, 116, .08);
      overflow: hidden;
    }

    .page.is-media-detail:not(.is-live-detail) .comments-panel {
      border-radius: 0 0 18px 18px;
      overflow: hidden;
    }

    .page.is-live-detail .comments-panel {
      border-radius: 0 0 18px 18px;
      overflow: hidden;
    }

    .page.is-live-detail .live-comment-form {
      margin-right: -18px;
      margin-bottom: 0;
      margin-left: -18px;
      border-radius: 0 0 18px 18px;
      overflow: hidden;
    }

    .comment-bottom-bar {
      width: min(100%, 480px);
      max-width: 480px;
      padding-right: calc(16px + env(safe-area-inset-right));
      padding-left: calc(16px + env(safe-area-inset-left));
    }

    .comment-bottom-input {
      height: 42px;
      min-width: 0;
      padding: 0 16px;
      font-size: 15px;
    }

    .comment-bottom-icon {
      width: 42px;
      height: 42px;
    }

    .comment-drawer {
      padding: 0 calc((100vw - min(100vw, 480px)) / 2);
    }

    .comment-drawer-sheet {
      width: min(100%, 480px);
      max-width: 480px;
      height: min(62vh, 620px);
      border-radius: 18px 18px 0 0;
    }

    .comment-drawer-head {
      min-height: 54px;
      padding: 0 18px;
    }

    .comment-drawer-head h2 {
      font-size: 18px;
    }

    .comment-drawer-head button {
      width: 38px;
      height: 38px;
    }

    .comment-drawer-tools {
      padding: 0 18px 12px;
      font-size: 14px;
    }

    .comment-sort button {
      min-width: 66px;
      height: 30px;
      font-size: 13px;
    }

    .comment-drawer .comment-list {
      gap: 8px;
      padding: 10px 18px 14px;
    }

    .comment-drawer .comment-empty {
      min-height: 220px;
      font-size: 15px;
    }

    .comment-drawer .comment-empty::before {
      width: 92px;
      height: 92px;
      background-size: 46px 46px, auto;
    }

    .comment-drawer .comment-form {
      padding: 10px calc(16px + env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) calc(16px + env(safe-area-inset-left));
    }

    .comment-drawer .comment-form textarea,
    .live-comment-form textarea {
      height: 42px;
      min-height: 42px;
      font-size: 15px;
    }

    .comment-drawer .comment-actions button,
    .live-comment-form .comment-actions button {
      height: 42px;
      min-width: 68px;
      font-size: 15px;
    }

    .comment-drawer .comment-item {
      max-width: min(92%, 400px);
    }

    .comments-panel .comment-item,
    .comment-drawer .comment-item {
      position: relative;
      width: 100%;
      max-width: 100%;
      height: auto;
      min-height: 0;
      align-self: start;
      flex: 0 0 auto;
      padding: 10px 12px 11px;
      border: 1px solid rgba(218, 230, 244, .9);
      border-radius: 14px;
      background: linear-gradient(180deg, #fbfdff 0%, #f5f9ff 100%);
      box-shadow: 0 8px 18px rgba(29, 67, 116, .045);
    }

    .comments-panel .comment-item:last-child,
    .comment-drawer .comment-item:last-child {
      border-bottom: 1px solid rgba(226, 238, 249, .86);
    }

    .comments-panel .comment-item header,
    .comment-drawer .comment-item header {
      align-items: center;
      gap: 8px;
      margin: 0 0 5px;
      line-height: 1.2;
    }

    .comments-panel .comment-item strong,
    .comment-drawer .comment-item strong {
      color: #335075;
      font-size: 13px;
      font-weight: 850;
      letter-spacing: 0;
    }

    .comments-panel .comment-item time,
    .comment-drawer .comment-item time {
      color: #7f8fa6;
      font-size: 12px;
    }

    .comments-panel .comment-item p,
    .comment-drawer .comment-item p {
      display: block;
      margin: 0;
      padding: 0 0 0 1em;
      border-radius: 0;
      background: transparent;
      color: #12233c;
      font-size: 15px;
      line-height: 1.58;
    }

    .page.is-live-detail .comments-panel .comment-item {
      width: 100%;
      max-width: 100%;
      height: auto;
      min-height: 0;
      flex: 0 0 auto;
      padding: 10px 12px 11px;
      border: 1px solid rgba(218, 230, 244, .9);
      border-radius: 14px;
      background: linear-gradient(180deg, #fbfdff 0%, #f5f9ff 100%);
    }

    .page.is-live-detail .comments-panel .comment-item p {
      display: block;
      padding: 0 0 0 1em;
      border-radius: 0;
      background: transparent;
      color: #12233c;
    }

    html[data-theme="dark"] .page.is-article-detail .comments-panel,
    html[data-theme="dark"] .page.is-article-detail .article-panel,
    html[data-theme="dark"] .page.is-media-detail:not(.is-live-detail) .comments-panel,
    html[data-theme="dark"] .page.is-live-detail .comments-panel {
      border-color: rgba(127, 158, 196, .22);
      background: rgba(8, 17, 31, .98);
      box-shadow: 0 16px 34px rgba(0, 0, 0, .24);
    }

    html[data-theme="dark"] .comments-panel .comment-item,
    html[data-theme="dark"] .comment-drawer .comment-item {
      border-color: rgba(127, 158, 196, .2);
      background: linear-gradient(180deg, rgba(255, 255, 255, .075) 0%, rgba(255, 255, 255, .045) 100%);
      box-shadow: 0 8px 18px rgba(0, 0, 0, .14);
    }

    html[data-theme="dark"] .comments-panel .comment-item strong,
    html[data-theme="dark"] .comment-drawer .comment-item strong {
      color: #f2f7ff;
    }

    html[data-theme="dark"] .comments-panel .comment-item time,
    html[data-theme="dark"] .comment-drawer .comment-item time {
      color: #92a3ba;
    }

    html[data-theme="dark"] .comments-panel .comment-item p,
    html[data-theme="dark"] .comment-drawer .comment-item p {
      background: transparent;
      color: #d8e5f7;
    }

    html[data-theme="dark"] .page.is-live-detail .comments-panel .comment-item p {
      background: transparent;
      color: #eef6ff;
    }

    .comments-panel .comment-item,
    .comment-drawer .comment-item,
    .page.is-live-detail .comments-panel .comment-item {
      display: grid;
      grid-template-columns: 34px minmax(0, 1fr);
      gap: 10px;
      width: 100%;
      max-width: 100%;
      height: auto;
      min-height: 0;
      padding: 0;
      border: 0;
      border-radius: 0;
      background: transparent;
      box-shadow: none;
    }

    .comment-avatar {
      display: grid;
      width: 34px;
      height: 34px;
      margin-top: 2px;
      place-items: center;
      overflow: hidden;
      border: 2px solid rgba(255, 255, 255, .96);
      border-radius: 50%;
      background: linear-gradient(135deg, #2f80ed, #56ccf2);
      box-shadow: 0 8px 18px rgba(28, 68, 124, .12);
      color: #fff;
      font-size: 13px;
      font-weight: 900;
      line-height: 1;
    }

    .comment-avatar img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .comment-card {
      min-width: 0;
      padding: 10px 12px 11px;
      border: 1px solid rgba(218, 230, 244, .9);
      border-radius: 14px;
      background: linear-gradient(180deg, #fbfdff 0%, #f5f9ff 100%);
      box-shadow: 0 8px 18px rgba(29, 67, 116, .045);
    }

    .comments-panel .comment-item header,
    .comment-drawer .comment-item header {
      margin: 0 0 5px;
    }

    .comments-panel .comment-item p,
    .comment-drawer .comment-item p,
    .page.is-live-detail .comments-panel .comment-item p {
      padding-left: .5em;
    }

    .comments-panel .comment-item.is-reply,
    .comment-drawer .comment-item.is-reply {
      margin-left: 22px;
      width: calc(100% - 22px);
    }

    html[data-theme="dark"] .comments-panel .comment-item,
    html[data-theme="dark"] .comment-drawer .comment-item {
      background: transparent;
      box-shadow: none;
    }

    html[data-theme="dark"] .comment-avatar {
      border-color: rgba(148, 180, 216, .26);
      box-shadow: 0 8px 18px rgba(0, 0, 0, .22);
    }

    html[data-theme="dark"] .comment-card {
      border-color: rgba(127, 158, 196, .2);
      background: linear-gradient(180deg, rgba(255, 255, 255, .075) 0%, rgba(255, 255, 255, .045) 100%);
      box-shadow: 0 8px 18px rgba(0, 0, 0, .14);
    }

    .comments-panel .comment-foot,
    .comment-drawer .comment-foot {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      gap: 8px;
      margin-top: 9px;
      color: #7f8fa6;
      font-size: 12px;
      font-weight: 850;
    }

    .comment-like-btn,
    .comment-reply-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 28px;
      padding: 0 10px;
      border: 1px solid rgba(198, 216, 236, .9);
      border-radius: 999px;
      background: rgba(255, 255, 255, .72);
      color: #66768f;
      font: inherit;
      font-size: 12px;
      font-weight: 850;
      line-height: 1;
      box-shadow: 0 4px 10px rgba(29, 67, 116, .05);
    }

    .comment-like-btn.is-liked {
      border-color: rgba(52, 125, 255, .26);
      background: rgba(52, 125, 255, .1);
      color: #1267ff;
    }

    .comment-like-btn:disabled {
      opacity: .62;
    }

    html[data-theme="dark"] .comment-like-btn,
    html[data-theme="dark"] .comment-reply-btn {
      border-color: rgba(143, 174, 213, .24);
      background: rgba(255, 255, 255, .07);
      color: #b8c7dc;
      box-shadow: none;
    }

    html[data-theme="dark"] .comment-like-btn.is-liked {
      border-color: rgba(125, 170, 255, .42);
      background: rgba(55, 126, 255, .18);
      color: #8db7ff;
    }

    html[data-theme="dark"] .comment-actions button:disabled {
      background: rgba(141, 183, 255, .34);
      color: rgba(228, 238, 255, .7);
    }

    html[data-theme="dark"] .comment-delete-sheet {
      border: 1px solid rgba(127, 158, 196, .22);
      background: #111e31;
      box-shadow: 0 24px 60px rgba(0, 0, 0, .42);
    }

    html[data-theme="dark"] .comment-delete-sheet strong {
      color: #f2f7ff;
    }

    html[data-theme="dark"] .comment-delete-sheet p {
      color: #a9b8ca;
    }

    html[data-theme="dark"] .comment-delete-actions button:first-child {
      background: rgba(255, 255, 255, .08);
      color: #d8e5f7;
    }

    /* Stable comment layout: drawer, article comments, and live chat each keep their own flow. */
    .comments-panel .comment-list,
    .comment-drawer .comment-list {
      min-height: 0;
      overflow-y: auto;
      overscroll-behavior: contain;
      -webkit-overflow-scrolling: touch;
    }

    .comments-panel .comment-item,
    .comment-drawer .comment-item,
    .page.is-live-detail .comments-panel .comment-item {
      display: grid;
      grid-template-columns: 34px minmax(0, 1fr);
      align-items: start;
      gap: 9px;
      width: 100%;
      max-width: 100%;
      height: auto;
      min-height: 0;
      padding: 0;
      border: 0;
      border-radius: 0;
      background: transparent;
      box-shadow: none;
    }

    .comments-panel .comment-card,
    .comment-drawer .comment-card {
      min-width: 0;
      height: auto;
      min-height: 0;
      padding: 10px 12px;
      border: 1px solid rgba(218, 230, 244, .92);
      border-radius: 14px;
      background: linear-gradient(180deg, #fbfdff 0%, #f5f9ff 100%);
      box-shadow: 0 8px 18px rgba(29, 67, 116, .045);
    }

    .comments-panel .comment-item header,
    .comment-drawer .comment-item header {
      display: flex;
      flex-wrap: wrap;
      align-items: baseline;
      justify-content: flex-start;
      gap: 7px;
      margin: 0 0 5px;
      line-height: 1.2;
    }

    .comments-panel .comment-item strong,
    .comment-drawer .comment-item strong {
      color: #335075;
      font-size: 13px;
      font-weight: 850;
      letter-spacing: 0;
    }

    .comments-panel .comment-item time,
    .comment-drawer .comment-item time {
      color: #7f8fa6;
      font-size: 12px;
    }

    .comments-panel .comment-item p,
    .comment-drawer .comment-item p,
    .page.is-live-detail .comments-panel .comment-item p {
      display: block;
      margin: 0;
      padding: 0 0 0 .5em;
      border-radius: 0;
      background: transparent;
      color: #12233c;
      font-size: 15px;
      line-height: 1.56;
      white-space: pre-wrap;
      overflow-wrap: anywhere;
    }

    .comment-drawer {
      padding-bottom: var(--qc-keyboard-inset, 0px);
    }

    .comment-drawer-sheet {
      grid-template-rows: auto auto minmax(0, 1fr) auto;
      width: min(100%, 480px);
      max-width: 480px;
      height: min(72vh, 680px);
      max-height: calc(var(--qc-visual-vh, 100vh) - 18px);
      overflow: hidden;
      border-radius: 22px 22px 0 0;
    }

    .comment-drawer .comment-list {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      gap: 10px;
      min-height: 0;
      max-height: none;
      margin: 0;
      padding: 12px 18px 16px;
      background: #f6f7f9;
    }

    .comment-drawer .comment-empty {
      display: grid;
      width: 100%;
      min-height: 260px;
      place-items: center;
      border: 0;
      background: transparent;
      color: #9aa4b2;
      text-align: center;
    }

    .comment-drawer .comment-form,
    .live-comment-form {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
      gap: 10px;
    }

    .comment-drawer .comment-form textarea,
    .live-comment-form textarea {
      width: 100%;
      min-width: 0;
      height: 42px;
      min-height: 42px;
      max-height: 92px;
      padding: 9px 14px;
      border-radius: 999px;
      font-size: 15px;
      line-height: 22px;
    }

    .comment-drawer .comment-actions button,
    .live-comment-form .comment-actions button {
      height: 42px;
      min-width: 66px;
      padding: 0 15px;
      background: #cfe0ff;
      color: rgba(255, 255, 255, .86);
      box-shadow: none;
    }

    .comment-drawer .comment-form.has-comment-text .comment-actions button,
    .live-comment-form.has-comment-text .comment-actions button {
      background: linear-gradient(135deg, #1267ff, #0f4dd8);
      color: #fff;
      box-shadow: 0 10px 22px rgba(18, 103, 255, .18);
    }

    .page.is-live-detail .comments-panel {
      display: grid;
      grid-template-rows: auto minmax(0, 1fr) auto;
      min-height: min(58vh, 520px);
      overflow: hidden;
    }

    .page.is-live-detail .comments-panel .comment-list {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      justify-content: flex-start;
      gap: 9px;
      min-height: 0;
      max-height: none;
      overflow-y: auto;
      padding: 4px 0 12px;
    }

    .page.is-live-detail .comments-panel .comment-empty {
      display: grid;
      width: 100%;
      min-height: 260px;
      place-items: center;
      border-radius: 16px;
      background: #f6f9fd;
      color: #98a4b5;
      text-align: center;
    }

    .page.is-live-detail .live-comment-form {
      margin: 0 -18px;
      padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
      border-radius: 0 0 18px 18px;
    }

    html[data-theme="dark"] .comments-panel .comment-card,
    html[data-theme="dark"] .comment-drawer .comment-card {
      border-color: rgba(127, 158, 196, .22);
      background: linear-gradient(180deg, rgba(255, 255, 255, .075) 0%, rgba(255, 255, 255, .045) 100%);
      box-shadow: 0 8px 18px rgba(0, 0, 0, .14);
    }

    html[data-theme="dark"] .comments-panel .comment-item strong,
    html[data-theme="dark"] .comment-drawer .comment-item strong {
      color: #f2f7ff;
    }

    html[data-theme="dark"] .comments-panel .comment-item time,
    html[data-theme="dark"] .comment-drawer .comment-item time {
      color: #92a3ba;
    }

    html[data-theme="dark"] .comments-panel .comment-item p,
    html[data-theme="dark"] .comment-drawer .comment-item p,
    html[data-theme="dark"] .page.is-live-detail .comments-panel .comment-item p {
      color: #d8e5f7;
    }

    html[data-theme="dark"] .comment-drawer .comment-list {
      background: #0d1828;
    }

    html[data-theme="dark"] .page.is-live-detail .comments-panel .comment-empty {
      background: rgba(255, 255, 255, .045);
      color: #94a6bd;
    }

    html[data-theme="dark"] .comment-drawer .comment-form.has-comment-text .comment-actions button,
    html[data-theme="dark"] .live-comment-form.has-comment-text .comment-actions button {
      background: linear-gradient(135deg, #4c8dff, #1e6dff);
      color: #fff;
    }

    html,
    body {
      max-width: 100%;
      overflow-x: hidden;
    }

    .page {
      width: min(100%, 480px);
      max-width: 100vw;
      overflow-x: hidden;
    }

    .article-panel,
    .comments-panel,
    .media-stage-shell,
    .detail-tabs,
    .contact {
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
    }

    .comment-bottom-bar {
      width: min(100vw, 480px);
      max-width: 100vw;
      box-sizing: border-box;
    }

    .comments-panel .comment-list,
    .comment-drawer .comment-list {
      box-sizing: border-box;
      width: 100%;
      max-width: 100%;
    }

    .comments-panel .comment-item,
    .comment-drawer .comment-item,
    .page.is-live-detail .comments-panel .comment-item {
      gap: 8px;
    }

    .comments-panel .comment-card,
    .comment-drawer .comment-card {
      position: relative;
      padding: 8px 10px 9px;
      padding-right: 42px;
      border-radius: 13px;
    }

    .comments-panel .comment-item header,
    .comment-drawer .comment-item header {
      margin-bottom: 4px;
    }

    .comments-panel .comment-item p,
    .comment-drawer .comment-item p,
    .page.is-live-detail .comments-panel .comment-item p {
      padding-left: .5em;
      font-size: 15px;
      line-height: 1.48;
    }

    .comments-panel .comment-foot,
    .comment-drawer .comment-foot {
      position: absolute;
      right: 8px;
      bottom: 8px;
      gap: 6px;
      margin-top: 0;
      line-height: 1;
    }

    .comment-like-btn,
    .comment-reply-btn {
      min-height: 24px;
      padding: 0 8px;
      font-size: 11px;
    }

    @media (max-width: 520px) {
      .page,
      .comment-bottom-bar,
      .comment-drawer-sheet {
        width: 100dvw !important;
        max-width: 100dvw !important;
      }

      .page {
        margin-right: 0 !important;
        margin-left: 0 !important;
      }

      .article-panel,
      .comments-panel,
      .contact {
        overflow: hidden;
      }

      .article-panel p,
      .article-panel li,
      .article-panel h2,
      .article-panel h3,
      .comment-card,
      .comment-card p {
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
      }
    }

    /* 2026-06-23: final comment interaction pass for mobile scroll, keyboard, and empty states. */
    .comments-panel .comment-list {
      overscroll-behavior-y: auto !important;
      -webkit-overflow-scrolling: touch;
    }

    .comment-drawer {
      align-items: end;
      padding-top: max(10px, env(safe-area-inset-top));
      overflow: hidden;
    }

    .comment-drawer-sheet {
      display: grid;
      grid-template-rows: auto auto minmax(0, 1fr) auto;
      height: min(70dvh, calc(var(--qc-visual-vh, 100vh) - 12px));
      max-height: calc(var(--qc-visual-vh, 100vh) - 12px);
      min-height: 360px;
    }

    html.qc-keyboard-open .comment-drawer-sheet {
      height: min(72dvh, calc(var(--qc-visual-vh, 100vh) - 8px));
      max-height: calc(var(--qc-visual-vh, 100vh) - 8px);
    }

    .comment-drawer .comment-list {
      min-height: 0;
      overflow-y: auto;
      overscroll-behavior-y: contain !important;
      -webkit-overflow-scrolling: touch;
    }

    .comment-drawer .comment-form,
    .live-comment-form {
      flex-shrink: 0;
    }

    .page.is-live-detail .comments-panel {
      min-height: min(56vh, 500px);
    }

    .page.is-live-detail .comments-panel .comment-list {
      align-items: stretch !important;
      min-height: 0;
      overflow-y: auto;
      overscroll-behavior-y: auto !important;
    }

    .page.is-live-detail .comments-panel .comment-empty,
    .comments-panel .comment-list > .comment-empty {
      width: 100%;
      max-width: none;
      align-self: stretch;
    }

    .comment-empty {
      min-height: 220px;
    }

    .comment-actions button:disabled,
    .comment-drawer .comment-actions button:disabled,
    .live-comment-form .comment-actions button:disabled {
      background: #d9e6ff;
      color: rgba(255, 255, 255, .72);
      cursor: default;
      box-shadow: none;
      opacity: 1;
    }

    html[data-theme="dark"] .comment-actions button:disabled,
    html[data-theme="dark"] .comment-drawer .comment-actions button:disabled,
    html[data-theme="dark"] .live-comment-form .comment-actions button:disabled {
      background: rgba(99, 141, 205, .28);
      color: rgba(215, 227, 244, .62);
    }

    /* 2026-06-23: keep live/replay composer inside the mobile page frame. */
    .page.is-live-detail .live-comment-form {
      width: 100%;
      box-sizing: border-box;
      margin: 0;
      padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
      border-top: 1px solid rgba(132, 160, 196, .18);
      border-radius: 0 0 18px 18px;
    }

    .page.is-live-detail .live-comment-form .comment-actions {
      min-width: 0;
    }

    .page.is-live-detail .live-comment-form .comment-actions button {
      min-width: 58px;
      padding: 0 14px;
      white-space: nowrap;
    }

    html[data-theme="dark"] .page.is-live-detail .live-comment-form {
      border-top-color: rgba(126, 157, 194, .2);
    }

    /* Threaded comments: replies stay attached to their parent comment. */
    .comments-panel .comment-list,
    .comment-drawer .comment-list,
    .page.is-live-detail .comments-panel .comment-list {
      display: flex !important;
      flex-direction: column;
      align-items: stretch;
      gap: 10px;
    }

    .comment-thread {
      display: flex;
      flex-direction: column;
      gap: 7px;
      min-width: 0;
    }

    .comment-thread.is-nested {
      gap: 6px;
    }

    .comment-replies {
      display: flex;
      flex-direction: column;
      gap: 7px;
      margin-left: 42px;
      padding-left: 10px;
      border-left: 2px solid rgba(174, 202, 235, .56);
    }

    .comment-replies .comment-replies {
      margin-left: 20px;
    }

    .comment-reply-toggle {
      width: fit-content;
      min-height: 28px;
      padding: 0 11px;
      border: 0;
      border-radius: 999px;
      background: rgba(18, 103, 255, .08);
      color: #1267ff;
      font: inherit;
      font-size: 12px;
      font-weight: 900;
    }

    .comments-panel .comment-item.is-reply,
    .comment-drawer .comment-item.is-reply {
      width: 100%;
      margin-left: 0;
    }

    .comment-card {
      height: auto;
      min-height: 0;
    }

    .comment-item {
      user-select: none;
      -webkit-user-select: none;
    }

    .comments-panel .comment-item p,
    .comment-drawer .comment-item p,
    .page.is-live-detail .comments-panel .comment-item p {
      padding-left: .5em;
      user-select: text;
      -webkit-user-select: text;
    }

    .comments-panel .comment-reply-label,
    .comment-drawer .comment-reply-label {
      display: inline-flex;
      margin: 0 0 5px;
      color: #1267ff;
      font-size: 12px;
      font-weight: 900;
    }

    .comment-delete-modal {
      z-index: 900;
    }

    html[data-theme="dark"] .comment-replies {
      border-left-color: rgba(134, 164, 204, .28);
    }

    html[data-theme="dark"] .comment-reply-toggle {
      background: rgba(87, 143, 255, .16);
      color: #8db7ff;
    }

    /* 2026-06-24: Douyin/Xiaohongshu-inspired comment stream. */
    .comments-panel .comment-list,
    .comment-drawer .comment-list,
    .page.is-live-detail .comments-panel .comment-list {
      gap: 0 !important;
      padding: 8px 16px 14px;
      background: transparent !important;
    }

    .comments-panel .comment-thread,
    .comment-drawer .comment-thread,
    .page.is-live-detail .comments-panel .comment-thread {
      gap: 0;
      padding: 12px 0;
      border-bottom: 1px solid rgba(211, 224, 240, .72);
    }

    .comments-panel .comment-thread:last-child,
    .comment-drawer .comment-thread:last-child,
    .page.is-live-detail .comments-panel .comment-thread:last-child {
      border-bottom: 0;
    }

    .comment-thread.is-nested {
      padding: 7px 0 0;
      border-bottom: 0;
    }

    .comments-panel .comment-item,
    .comment-drawer .comment-item,
    .page.is-live-detail .comments-panel .comment-item {
      display: grid !important;
      grid-template-columns: 36px minmax(0, 1fr);
      gap: 10px;
      align-items: start;
      width: 100%;
      max-width: 100%;
      min-height: 0;
      padding: 0 !important;
      border: 0 !important;
      background: transparent !important;
      box-shadow: none !important;
    }

    .comment-replies {
      display: flex;
      flex-direction: column;
      gap: 0;
      margin: 4px 0 0 46px;
      padding-left: 0;
      border-left: 0;
    }

    .comment-replies .comment-item,
    .comments-panel .comment-item.is-reply,
    .comment-drawer .comment-item.is-reply {
      grid-template-columns: 28px minmax(0, 1fr);
      gap: 9px;
      width: 100%;
      margin-left: 0;
    }

    .comment-replies .comment-replies {
      margin-left: 37px;
    }

    .comment-avatar {
      width: 36px;
      height: 36px;
      margin-top: 1px;
      border: 0;
      box-shadow: 0 1px 0 rgba(255, 255, 255, .92);
      background: linear-gradient(135deg, #2f80ed, #56ccf2);
      font-size: 13px;
    }

    .comment-item.is-reply .comment-avatar {
      width: 28px;
      height: 28px;
      font-size: 11px;
    }

    .comments-panel .comment-card,
    .comment-drawer .comment-card,
    .page.is-live-detail .comments-panel .comment-card {
      min-width: 0;
      padding: 0 !important;
      border: 0 !important;
      border-radius: 0 !important;
      background: transparent !important;
      box-shadow: none !important;
    }

    .comments-panel .comment-item header,
    .comment-drawer .comment-item header,
    .page.is-live-detail .comments-panel .comment-item header {
      display: flex;
      align-items: center;
      gap: 6px;
      margin: 0 0 3px;
      line-height: 1.22;
    }

    .comments-panel .comment-item strong,
    .comment-drawer .comment-item strong,
    .page.is-live-detail .comments-panel .comment-item strong {
      color: #68758a;
      font-size: 13px;
      font-weight: 850;
    }

    .comments-panel .comment-item.is-pinned strong::after,
    .comment-drawer .comment-item.is-pinned strong::after {
      content: "置顶";
      display: inline-flex;
      margin-left: 6px;
      padding: 1px 5px;
      border-radius: 999px;
      background: rgba(18, 103, 255, .1);
      color: #1267ff;
      font-size: 10px;
      font-weight: 900;
      vertical-align: 1px;
    }

    .comments-panel .comment-item p,
    .comment-drawer .comment-item p,
    .page.is-live-detail .comments-panel .comment-item p {
      display: block;
      margin: 0;
      padding: 0 !important;
      background: transparent !important;
      color: #111827;
      font-size: 15px;
      font-weight: 500;
      line-height: 1.48;
      white-space: pre-wrap;
      overflow-wrap: anywhere;
    }

    .comments-panel .comment-reply-label,
    .comment-drawer .comment-reply-label {
      display: inline-flex;
      align-items: baseline;
      gap: 3px;
      margin: 0 0 2px;
      color: #8a95a7;
      font-size: 12px;
      font-weight: 700;
    }

    .comment-reply-label b {
      color: #1267ff;
      font-weight: 850;
    }

    .comments-panel .comment-foot,
    .comment-drawer .comment-foot,
    .page.is-live-detail .comments-panel .comment-foot {
      position: static !important;
      display: flex !important;
      justify-content: flex-start;
      align-items: center;
      gap: 12px;
      margin-top: 5px;
      color: #8b95a5;
      font-size: 12px;
      font-weight: 700;
      line-height: 1.2;
    }

    .comments-panel .comment-item time,
    .comment-drawer .comment-item time,
    .page.is-live-detail .comments-panel .comment-item time {
      color: #8b95a5;
      font-size: 12px;
      font-weight: 650;
    }

    .comment-like-btn,
    .comment-reply-btn {
      min-height: 22px !important;
      padding: 0 !important;
      border: 0 !important;
      border-radius: 0 !important;
      background: transparent !important;
      box-shadow: none !important;
      color: #7d8796;
      font: inherit;
      font-size: 12px;
      font-weight: 750;
      line-height: 1.2;
    }

    .comment-like-btn.is-liked {
      color: #ff4d6d;
    }

    .comment-reply-toggle {
      width: fit-content;
      min-height: 24px;
      margin: 4px 0 0;
      padding: 0;
      border: 0;
      border-radius: 0;
      background: transparent;
      color: #748399;
      font-size: 12px;
      font-weight: 850;
    }

    .comment-reply-toggle::before {
      content: "";
      display: inline-block;
      width: 24px;
      height: 1px;
      margin-right: 7px;
      background: rgba(123, 137, 158, .5);
      vertical-align: middle;
    }

    .comment-more {
      align-self: center;
      margin: 12px auto 4px;
      border: 0;
      background: transparent;
      color: #748399;
      box-shadow: none;
      font-size: 13px;
      font-weight: 850;
    }

    .comments-panel .comment-empty,
    .comment-drawer .comment-empty,
    .page.is-live-detail .comments-panel .comment-empty {
      min-height: 260px;
      border: 0;
      background: transparent !important;
      color: #a2adbb;
      font-weight: 700;
    }

    .comment-drawer-sheet {
      background: #fff;
    }

    .comment-drawer-tools {
      color: #7c8797;
    }

    .comment-sort-button {
      border: 0;
      background: #f1f4f8;
      color: #748399;
      box-shadow: none;
    }

    .comment-sort-button.is-active {
      background: #e8f1ff;
      color: #1267ff;
      box-shadow: none;
    }

    html[data-theme="dark"] .comments-panel .comment-thread,
    html[data-theme="dark"] .comment-drawer .comment-thread,
    html[data-theme="dark"] .page.is-live-detail .comments-panel .comment-thread {
      border-bottom-color: rgba(126, 151, 186, .18);
    }

    html[data-theme="dark"] .comments-panel .comment-item strong,
    html[data-theme="dark"] .comment-drawer .comment-item strong,
    html[data-theme="dark"] .page.is-live-detail .comments-panel .comment-item strong {
      color: #99a7bb;
    }

    html[data-theme="dark"] .comments-panel .comment-item p,
    html[data-theme="dark"] .comment-drawer .comment-item p,
    html[data-theme="dark"] .page.is-live-detail .comments-panel .comment-item p {
      color: #f2f6fd;
    }

    html[data-theme="dark"] .comments-panel .comment-foot,
    html[data-theme="dark"] .comment-drawer .comment-foot,
    html[data-theme="dark"] .page.is-live-detail .comments-panel .comment-foot,
    html[data-theme="dark"] .comments-panel .comment-item time,
    html[data-theme="dark"] .comment-drawer .comment-item time,
    html[data-theme="dark"] .page.is-live-detail .comments-panel .comment-item time,
    html[data-theme="dark"] .comment-like-btn,
    html[data-theme="dark"] .comment-reply-btn,
    html[data-theme="dark"] .comment-reply-toggle {
      color: #8f9db1;
    }

    html[data-theme="dark"] .comment-like-btn.is-liked {
      color: #ff7790;
    }

    html[data-theme="dark"] .comment-reply-label {
      color: #8f9db1;
    }

    html[data-theme="dark"] .comment-reply-label b,
    html[data-theme="dark"] .comments-panel .comment-item.is-pinned strong::after,
    html[data-theme="dark"] .comment-drawer .comment-item.is-pinned strong::after {
      color: #8db7ff;
    }

    html[data-theme="dark"] .comment-drawer-sheet {
      background: #111827;
    }

    html[data-theme="dark"] .comment-sort-button {
      background: rgba(255, 255, 255, .06);
      color: #93a1b6;
    }

    html[data-theme="dark"] .comment-sort-button.is-active {
      background: rgba(67, 137, 255, .18);
      color: #8db7ff;
    }

    html[data-theme="dark"] .comment-avatar {
      border-color: transparent;
      box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
    }

    /* Replies are visually one nested stream, not an infinite staircase. */
    .comment-replies .comment-replies {
      margin-left: 0 !important;
    }

    .comments-panel .comment-reply-label,
    .comment-drawer .comment-reply-label,
    .page.is-live-detail .comments-panel .comment-reply-label {
      display: inline !important;
      margin: 0 4px 0 0 !important;
      color: #8a95a7;
      font-size: inherit;
      font-weight: 650;
    }

    .comment-reply-label b {
      color: #1267ff;
      font-weight: 850;
    }

    html[data-theme="dark"] .comments-panel .comment-reply-label,
    html[data-theme="dark"] .comment-drawer .comment-reply-label,
    html[data-theme="dark"] .page.is-live-detail .comments-panel .comment-reply-label {
      color: #8f9db1;
    }

    .video-intro-card {
      display: grid;
      gap: 13px;
    }

    .detail-content-shell {
      display: grid;
      gap: 0;
      width: 100%;
      min-width: 0;
    }

    .page.is-video-detail .media-stage-shell {
      margin-bottom: 0;
      border-radius: 18px 18px 0 0;
    }

    .page.is-video-detail .media-stage-shell .article-video,
    .page.is-video-detail .media-stage-shell .article-video video {
      border-radius: inherit;
    }

    .page.is-video-detail .detail-tabs {
      margin: 0;
      border-radius: 0;
      overflow: hidden;
    }

    .page.is-video-detail .article-panel,
    .page.is-video-detail .comments-panel {
      margin: 0;
      border-radius: 0 0 18px 18px;
      overflow: hidden;
    }

    .article-panel[hidden],
    .comments-panel[hidden],
    .video-intro-card[hidden] {
      display: none !important;
    }

    .video-intro-card h2 {
      display: -webkit-box;
      overflow: hidden;
      margin: 0;
      font-size: 20px;
      line-height: 1.4;
      letter-spacing: var(--title-letter-spacing);
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 3;
    }

    .video-intro-date {
      margin: 0;
      color: #8795a9;
      font-size: 12px;
      font-weight: 700;
      line-height: 1.4;
    }

    .video-intro-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 7px;
    }

    .video-intro-tags[hidden] {
      display: none;
    }

    .video-intro-tag {
      display: inline-flex;
      align-items: center;
      min-height: 26px;
      padding: 0 10px;
      border-radius: 7px;
      background: #edf5ff;
      color: #2361a6;
      font-size: 12px;
      font-weight: 800;
    }

    html[data-theme="dark"] .video-intro-tag {
      background: rgba(73, 130, 200, .18);
      color: #b9d7ff;
    }

    html[data-theme="dark"] .video-intro-date {
      color: #96a8c0;
    }
