/* roulang page: index */
:root {
      --xg-primary: #ff4734;
      --xg-primary-hover: #e03725;
      --xg-primary-light: #fff0ee;
      --xg-bg: #fcf8f5;
      --xg-card-bg: #ffffff;
      --xg-text-main: #1f2329;
      --xg-text-muted: #8f959e;
      --xg-tag-bg: #ff4734;
      --xg-rate-color: #ffa114;
      --xg-border: #f0ebe6;
    }
    body {
      background-color: var(--xg-bg);
      color: var(--xg-text-main);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      margin: 0;
      padding: 0;
      -webkit-font-smoothing: antialiased;
    }
    a {
      text-decoration: none;
      color: inherit;
      transition: color 0.2s ease, opacity 0.2s ease;
    }
    .header-nav {
      padding: 24px 0 16px;
    }
    .pill-nav {
      display: flex;
      align-items: center;
      gap: 12px;
      overflow-x: auto;
      padding-bottom: 4px;
      scrollbar-width: none;
    }
    .pill-nav::-webkit-scrollbar {
      display: none;
    }
    .pill-link {
      display: inline-block;
      padding: 6px 22px;
      border-radius: 999px;
      font-size: 15px;
      color: #333333;
      font-weight: 500;
      white-space: nowrap;
      transition: all 0.2s ease;
    }
    .pill-link:hover {
      color: var(--xg-primary);
      background-color: var(--xg-primary-light);
    }
    .pill-link.active {
      background-color: var(--xg-primary);
      color: #ffffff !important;
    }
    .section-header {
      display: flex;
      align-items: baseline;
      gap: 12px;
      margin-top: 16px;
      margin-bottom: 22px;
    }
    .section-title {
      font-size: 24px;
      font-weight: 800;
      color: #1a1a1a;
      letter-spacing: -0.5px;
      margin: 0;
    }
    .section-subtitle {
      font-size: 13px;
      color: #8c8c8c;
      font-weight: 400;
    }
    .section-subtitle::before {
      content: "·";
      margin-right: 6px;
      font-weight: bold;
    }
    .media-card {
      background: var(--xg-card-bg);
      border-radius: 14px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      height: 100%;
      border: 1px solid rgba(0, 0, 0, 0.03);
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }
    .media-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
    }
    .poster-box {
      position: relative;
      width: 100%;
      aspect-ratio: 3 / 4.1;
      background-color: #eee7e1;
      overflow: hidden;
    }
    .poster-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.35s ease;
    }
    .media-card:hover .poster-img {
      transform: scale(1.04);
    }
    .badge-category {
      position: absolute;
      top: 10px;
      left: 10px;
      background-color: var(--xg-tag-bg);
      color: #ffffff;
      font-size: 11px;
      font-weight: 600;
      padding: 2px 10px;
      border-radius: 20px;
      letter-spacing: 0.5px;
      z-index: 2;
    }
    .badge-category.tv {
      background-color: #1ea868;
    }
    .badge-category.skit {
      background-color: #f7a01d;
    }
    .badge-category.anime {
      background-color: #1890ff;
    }
    .rating-badge {
      position: absolute;
      right: 10px;
      bottom: 8px;
      color: var(--xg-rate-color);
      font-size: 13px;
      font-weight: 700;
      text-shadow: 0 1px 3px rgba(0,0,0,0.8);
      z-index: 2;
    }
    .rating-badge i {
      font-size: 11px;
      margin-right: 2px;
    }
    .card-meta {
      padding: 12px 14px 14px;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
    }
    .media-title {
      font-size: 15px;
      font-weight: 700;
      color: #222222;
      margin-bottom: 6px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .media-tags {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 12px;
      color: #888888;
    }
    .meta-tag {
      background-color: #f5f2ed;
      padding: 1px 8px;
      border-radius: 4px;
      color: #777777;
    }
    .comment-card {
      background: #ffffff;
      border-radius: 18px;
      padding: 28px 32px;
      border: 1px solid #f2ede8;
      box-shadow: 0 4px 16px rgba(0,0,0,0.02);
      margin-top: 36px;
      margin-bottom: 40px;
    }
    .comment-item {
      display: flex;
      align-items: flex-start;
      gap: 16px;
      padding: 16px 20px;
      background: #faf7f5;
      border-radius: 12px;
      border-left: 3px solid var(--xg-primary);
      margin-bottom: 16px;
    }
    .user-avatar {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      object-fit: cover;
      border: 1px solid #ede5df;
      flex-shrink: 0;
    }
    .comment-right {
      flex: 1;
    }
    .comment-user-line {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 6px;
    }
    .user-name-group {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .user-name {
      font-size: 14px;
      font-weight: 700;
      color: #333333;
    }
    .user-badge {
      font-size: 11px;
      background: #e8e3de;
      color: #666;
      padding: 1px 6px;
      border-radius: 4px;
    }
    .comment-time {
      font-size: 12px;
      color: #a8a29e;
    }
    .comment-text {
      font-size: 13.5px;
      color: #4b5563;
      line-height: 1.6;
      margin: 0;
    }
    .comment-form {
      margin-top: 24px;
    }
    .comment-input-row {
      display: flex;
      gap: 14px;
      margin-bottom: 12px;
    }
    .custom-input {
      background-color: #faf7f5;
      border: 1px solid #ebdcd5;
      border-radius: 8px;
      padding: 10px 14px;
      font-size: 14px;
      color: #333;
      width: 100%;
      outline: none;
      transition: border-color 0.2s ease;
    }
    .custom-input:focus {
      border-color: var(--xg-primary);
      background-color: #ffffff;
    }
    .comment-textarea {
      background-color: #faf7f5;
      border: 1px solid #ebdcd5;
      border-radius: 8px;
      padding: 12px 14px;
      font-size: 14px;
      color: #333;
      width: 100%;
      min-height: 90px;
      resize: vertical;
      outline: none;
      transition: border-color 0.2s ease;
    }
    .comment-textarea:focus {
      border-color: var(--xg-primary);
      background-color: #ffffff;
    }
    .btn-submit-comment {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: linear-gradient(135deg, #ff8c1a 0%, #e87b00 100%);
      color: #ffffff;
      font-size: 14px;
      font-weight: 600;
      padding: 9px 24px;
      border-radius: 20px;
      border: none;
      margin-top: 14px;
      cursor: pointer;
      transition: opacity 0.2s ease;
    }
    .btn-submit-comment:hover {
      opacity: 0.92;
      color: #ffffff;
    }
    .footer-bar {
      border-top: 1px solid #ede7e0;
      padding: 30px 0 40px;
      font-size: 13px;
      color: #99948e;
      text-align: center;
    }
    .footer-links {
      display: flex;
      justify-content: center;
      gap: 20px;
      margin-bottom: 12px;
      flex-wrap: wrap;
    }
    .footer-links a {
      color: #77726b;
    }
    .footer-links a:hover {
      color: var(--xg-primary);
    }
    @media (max-width: 991px) {
      .comment-card {
        padding: 20px 18px;
      }
    }
    @media (max-width: 576px) {
      .section-title {
        font-size: 20px;
      }
      .comment-input-row {
        flex-direction: column;
        gap: 10px;
      }
      .comment-item {
        padding: 12px 14px;
      }
    }

/* roulang page: article */
:root {
      --xg-primary: #ff4734;
      --xg-primary-hover: #e03725;
      --xg-primary-light: #fff0ee;
      --xg-bg: #fcf8f5;
      --xg-card-bg: #ffffff;
      --xg-text-main: #1f2329;
      --xg-text-muted: #8f959e;
      --xg-tag-bg: #ff4734;
      --xg-rate-color: #ffa114;
      --xg-border: #f0ebe6;
    }
    body {
      background-color: var(--xg-bg);
      color: var(--xg-text-main);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      margin: 0;
      padding: 0;
      -webkit-font-smoothing: antialiased;
    }
    a {
      text-decoration: none;
      color: inherit;
      transition: color 0.2s ease, opacity 0.2s ease;
    }
    .header-nav {
      padding: 24px 0 16px;
    }
    .pill-nav {
      display: flex;
      align-items: center;
      gap: 12px;
      overflow-x: auto;
      padding-bottom: 4px;
      scrollbar-width: none;
    }
    .pill-nav::-webkit-scrollbar {
      display: none;
    }
    .pill-link {
      display: inline-block;
      padding: 6px 22px;
      border-radius: 999px;
      font-size: 15px;
      color: #333333;
      font-weight: 500;
      white-space: nowrap;
      transition: all 0.2s ease;
    }
    .pill-link:hover {
      color: var(--xg-primary);
      background-color: var(--xg-primary-light);
    }
    .pill-link.active {
      background-color: var(--xg-primary);
      color: #ffffff !important;
    }
    .breadcrumb-box {
      font-size: 14px;
      color: #8c8c8c;
      margin-bottom: 18px;
    }
    .breadcrumb-box a {
      color: #666;
    }
    .breadcrumb-box a:hover {
      color: var(--xg-primary);
    }
    .article-wrap {
      background: var(--xg-card-bg);
      border-radius: 18px;
      border: 1px solid var(--xg-border);
      box-shadow: 0 4px 18px rgba(0,0,0,0.02);
      padding: 36px 42px;
      margin-bottom: 30px;
    }
    .article-header {
      border-bottom: 1px solid var(--xg-border);
      padding-bottom: 20px;
      margin-bottom: 24px;
    }
    .article-header h1 {
      font-size: 28px;
      font-weight: 800;
      color: #1a1a1a;
      line-height: 1.4;
      margin-bottom: 14px;
      letter-spacing: -0.5px;
    }
    .article-meta-info {
      display: flex;
      align-items: center;
      gap: 16px;
      font-size: 13px;
      color: var(--xg-text-muted);
      flex-wrap: wrap;
    }
    .article-tag {
      background: var(--xg-primary-light);
      color: var(--xg-primary);
      padding: 2px 10px;
      border-radius: 4px;
      font-weight: 600;
    }
    .article-body {
      font-size: 16px;
      line-height: 1.85;
      color: #30343a;
      word-break: break-word;
    }
    .article-body p {
      margin-bottom: 1.25rem;
    }
    .article-body h2 {
      font-size: 22px;
      font-weight: 700;
      color: #1f2329;
      margin-top: 32px;
      margin-bottom: 16px;
      border-left: 4px solid var(--xg-primary);
      padding-left: 12px;
    }
    .article-body h3 {
      font-size: 18px;
      font-weight: 600;
      color: #222;
      margin-top: 24px;
      margin-bottom: 12px;
    }
    .article-body img {
      max-width: 100%;
      height: auto;
      border-radius: 12px;
      margin: 18px 0;
    }
    .sidebar-block {
      background: var(--xg-card-bg);
      border-radius: 18px;
      border: 1px solid var(--xg-border);
      box-shadow: 0 4px 18px rgba(0,0,0,0.02);
      padding: 24px 22px;
      margin-bottom: 24px;
    }
    .sidebar-title {
      font-size: 17px;
      font-weight: 800;
      color: #1a1a1a;
      margin-bottom: 16px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .sidebar-title i {
      color: var(--xg-primary);
    }
    .side-list {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }
    .side-item {
      display: flex;
      gap: 12px;
      align-items: center;
    }
    .side-thumb {
      width: 72px;
      height: 98px;
      border-radius: 6px;
      object-fit: cover;
      flex-shrink: 0;
    }
    .side-meta {
      flex: 1;
      min-width: 0;
    }
    .side-meta h4 {
      font-size: 14px;
      font-weight: 700;
      color: #222;
      margin-bottom: 6px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .side-meta p {
      font-size: 12px;
      color: #999;
      margin: 0;
    }
    .side-meta .rate {
      color: var(--xg-rate-color);
      font-weight: bold;
      font-size: 12px;
    }
    .section-header {
      display: flex;
      align-items: baseline;
      gap: 12px;
      margin-top: 16px;
      margin-bottom: 22px;
    }
    .section-title {
      font-size: 22px;
      font-weight: 800;
      color: #1a1a1a;
      letter-spacing: -0.5px;
      margin: 0;
    }
    .section-subtitle {
      font-size: 13px;
      color: #8c8c8c;
      font-weight: 400;
    }
    .section-subtitle::before {
      content: "·";
      margin-right: 6px;
      font-weight: bold;
    }
    .media-card {
      background: var(--xg-card-bg);
      border-radius: 14px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      height: 100%;
      border: 1px solid rgba(0, 0, 0, 0.03);
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }
    .media-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
    }
    .poster-box {
      position: relative;
      width: 100%;
      aspect-ratio: 2 / 2.85;
      background-color: #ede8e3;
      overflow: hidden;
    }
    .poster-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.35s ease;
    }
    .media-card:hover .poster-img {
      transform: scale(1.04);
    }
    .badge-category {
      position: absolute;
      top: 10px;
      left: 10px;
      background-color: var(--xg-tag-bg);
      color: #ffffff;
      font-size: 11px;
      font-weight: 600;
      padding: 2px 10px;
      border-radius: 20px;
      letter-spacing: 0.5px;
      z-index: 2;
    }
    .badge-category.tv {
      background-color: #1ea868;
    }
    .badge-category.skit {
      background-color: #f7a01d;
    }
    .badge-category.anime {
      background-color: #1890ff;
    }
    .rating-badge {
      position: absolute;
      right: 10px;
      bottom: 8px;
      color: var(--xg-rate-color);
      font-size: 13px;
      font-weight: 700;
      text-shadow: 0 1px 3px rgba(0,0,0,0.8);
      z-index: 2;
    }
    .rating-badge i {
      font-size: 11px;
      margin-right: 2px;
    }
    .card-meta {
      padding: 12px 14px 14px;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
    }
    .media-title {
      font-size: 15px;
      font-weight: 700;
      color: #222222;
      margin-bottom: 6px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .media-tags {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 12px;
      color: #888888;
    }
    .meta-tag {
      background-color: #f5f2ed;
      padding: 1px 8px;
      border-radius: 4px;
      color: #777777;
    }
    .comment-card {
      background: #ffffff;
      border-radius: 18px;
      padding: 28px 32px;
      border: 1px solid #f2ede8;
      box-shadow: 0 4px 16px rgba(0,0,0,0.02);
      margin-top: 24px;
      margin-bottom: 40px;
    }
    .comment-item {
      display: flex;
      align-items: flex-start;
      gap: 16px;
      padding: 16px 20px;
      background: #faf7f5;
      border-radius: 12px;
      border-left: 3px solid var(--xg-primary);
      margin-bottom: 16px;
    }
    .user-avatar {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      object-fit: cover;
      flex-shrink: 0;
    }
    .user-badge {
      font-size: 11px;
      background: #e8e3de;
      color: #666;
      padding: 1px 6px;
      border-radius: 4px;
    }
    .comment-time {
      font-size: 12px;
      color: #a49f99;
      margin-left: auto;
    }
    .comment-input-row {
      display: flex;
      gap: 14px;
      margin-bottom: 12px;
    }
    .custom-input {
      background-color: #faf7f5;
      border: 1px solid #ebdcd5;
      border-radius: 8px;
      padding: 10px 14px;
      font-size: 14px;
      color: #333;
      width: 100%;
      outline: none;
      transition: border-color 0.2s ease;
    }
    .custom-input:focus {
      border-color: var(--xg-primary);
      background-color: #ffffff;
    }
    .comment-textarea {
      background-color: #faf7f5;
      border: 1px solid #ebdcd5;
      border-radius: 8px;
      padding: 12px 14px;
      font-size: 14px;
      color: #333;
      width: 100%;
      min-height: 90px;
      resize: vertical;
      outline: none;
      transition: border-color 0.2s ease;
    }
    .comment-textarea:focus {
      border-color: var(--xg-primary);
      background-color: #ffffff;
    }
    .btn-submit-comment {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: linear-gradient(135deg, #ff8c1a 0%, #e87b00 100%);
      color: #ffffff;
      font-size: 14px;
      font-weight: 600;
      padding: 9px 24px;
      border-radius: 20px;
      border: none;
      margin-top: 14px;
      cursor: pointer;
      transition: opacity 0.2s ease;
    }
    .btn-submit-comment:hover {
      opacity: 0.92;
      color: #ffffff;
    }
    .footer-bar {
      border-top: 1px solid #ede7e0;
      padding: 30px 0 40px;
      font-size: 13px;
      color: #99948e;
      text-align: center;
    }
    .footer-links {
      display: flex;
      justify-content: center;
      gap: 20px;
      margin-bottom: 12px;
      flex-wrap: wrap;
    }
    .footer-links a {
      color: #77726b;
    }
    .footer-links a:hover {
      color: var(--xg-primary);
    }
    .empty-tip {
      text-align: center;
      padding: 60px 20px;
    }
    .empty-tip h2 {
      font-size: 22px;
      margin-bottom: 12px;
      color: #555;
    }
    .btn-return-home {
      display: inline-block;
      margin-top: 10px;
      background-color: var(--xg-primary);
      color: #fff;
      padding: 8px 24px;
      border-radius: 20px;
      font-size: 14px;
    }
    .btn-return-home:hover {
      background-color: var(--xg-primary-hover);
      color: #fff;
    }
    @media (max-width: 991px) {
      .article-wrap {
        padding: 24px 20px;
      }
      .article-header h1 {
        font-size: 22px;
      }
      .comment-card {
        padding: 20px 18px;
      }
      .comment-input-row {
        flex-direction: column;
        gap: 10px;
      }
    }
    @media (max-width: 520px) {
      .pill-link {
        padding: 5px 16px;
        font-size: 14px;
      }
      .article-wrap {
        padding: 18px 14px;
        border-radius: 12px;
      }
      .comment-item {
        flex-direction: column;
        gap: 8px;
      }
      .comment-time {
        margin-left: 0;
      }
    }

/* roulang page: category1 */
:root {
      --xg-primary: #ff4734;
      --xg-primary-hover: #e03725;
      --xg-primary-light: #fff0ee;
      --xg-bg: #fcf8f5;
      --xg-card-bg: #ffffff;
      --xg-text-main: #1f2329;
      --xg-text-muted: #8f959e;
      --xg-tag-bg: #ff4734;
      --xg-rate-color: #ffa114;
      --xg-border: #f0ebe6;
    }
    body {
      background-color: var(--xg-bg);
      color: var(--xg-text-main);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      margin: 0;
      padding: 0;
      -webkit-font-smoothing: antialiased;
    }
    a {
      text-decoration: none;
      color: inherit;
      transition: color 0.2s ease, opacity 0.2s ease;
    }
    .header-nav {
      padding: 24px 0 16px;
    }
    .pill-nav {
      display: flex;
      align-items: center;
      gap: 12px;
      overflow-x: auto;
      padding-bottom: 4px;
      scrollbar-width: none;
    }
    .pill-nav::-webkit-scrollbar {
      display: none;
    }
    .pill-link {
      display: inline-block;
      padding: 6px 22px;
      border-radius: 999px;
      font-size: 15px;
      color: #333333;
      font-weight: 500;
      white-space: nowrap;
      transition: all 0.2s ease;
    }
    .pill-link:hover {
      color: var(--xg-primary);
      background-color: var(--xg-primary-light);
    }
    .pill-link.active {
      background-color: var(--xg-primary);
      color: #ffffff !important;
    }
    .hero-banner {
      background: linear-gradient(135deg, #1f2329 0%, #2f343d 100%);
      border-radius: 20px;
      padding: 38px 44px;
      margin-bottom: 30px;
      color: #ffffff;
      position: relative;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,0.08);
      box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    }
    .hero-banner::after {
      content: "";
      position: absolute;
      right: -20px;
      top: -30px;
      width: 280px;
      height: 280px;
      background: radial-gradient(circle, rgba(255, 71, 52, 0.35) 0%, rgba(255, 71, 52, 0) 70%);
      pointer-events: none;
    }
    .hero-title {
      font-size: 30px;
      font-weight: 800;
      letter-spacing: -0.5px;
      margin-bottom: 12px;
      line-height: 1.3;
    }
    .hero-desc {
      font-size: 15px;
      color: #cbd2dc;
      max-width: 720px;
      line-height: 1.7;
      margin-bottom: 22px;
    }
    .hero-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }
    .hero-tag-item {
      background: rgba(255,255,255,0.12);
      backdrop-filter: blur(8px);
      padding: 5px 14px;
      border-radius: 20px;
      font-size: 13px;
      color: #f0f3f6;
      border: 1px solid rgba(255,255,255,0.1);
    }
    .sub-filter-bar {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 24px;
      padding: 12px 18px;
      background: #ffffff;
      border-radius: 12px;
      border: 1px solid var(--xg-border);
      overflow-x: auto;
      scrollbar-width: none;
    }
    .filter-label {
      font-size: 13px;
      font-weight: 700;
      color: #555555;
      white-space: nowrap;
    }
    .filter-btn {
      font-size: 13px;
      color: #666666;
      padding: 3px 12px;
      border-radius: 6px;
      white-space: nowrap;
      transition: all 0.2s ease;
    }
    .filter-btn.active, .filter-btn:hover {
      background-color: var(--xg-primary-light);
      color: var(--xg-primary);
      font-weight: 600;
    }
    .section-header {
      display: flex;
      align-items: baseline;
      gap: 12px;
      margin-top: 10px;
      margin-bottom: 20px;
    }
    .section-title {
      font-size: 22px;
      font-weight: 800;
      color: #1a1a1a;
      letter-spacing: -0.5px;
      margin: 0;
    }
    .section-subtitle {
      font-size: 13px;
      color: #8c8c8c;
      font-weight: 400;
    }
    .section-subtitle::before {
      content: "·";
      margin-right: 6px;
      font-weight: bold;
    }
    .media-card {
      background: var(--xg-card-bg);
      border-radius: 14px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      height: 100%;
      border: 1px solid rgba(0, 0, 0, 0.03);
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }
    .media-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
    }
    .poster-wrap {
      position: relative;
      width: 100%;
      aspect-ratio: 3 / 4;
      background-color: #eee;
      overflow: hidden;
    }
    .poster-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.35s ease;
    }
    .media-card:hover .poster-img {
      transform: scale(1.04);
    }
    .badge-category {
      position: absolute;
      top: 10px;
      left: 10px;
      background-color: var(--xg-tag-bg);
      color: #ffffff;
      font-size: 11px;
      font-weight: 600;
      padding: 2px 10px;
      border-radius: 20px;
      letter-spacing: 0.5px;
      z-index: 2;
    }
    .rating-badge {
      position: absolute;
      right: 10px;
      bottom: 8px;
      color: var(--xg-rate-color);
      font-size: 13px;
      font-weight: 700;
      text-shadow: 0 1px 3px rgba(0,0,0,0.8);
      z-index: 2;
    }
    .rating-badge i {
      font-size: 11px;
      margin-right: 2px;
    }
    .card-meta {
      padding: 12px 14px 14px;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
    }
    .media-title {
      font-size: 15px;
      font-weight: 700;
      color: #222222;
      margin-bottom: 6px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .media-tags {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 12px;
      color: #888888;
    }
    .meta-tag {
      background-color: #f5f2ed;
      padding: 1px 8px;
      border-radius: 4px;
      color: #777777;
    }
    .feature-panel {
      background: #ffffff;
      border-radius: 16px;
      padding: 28px;
      margin: 34px 0;
      border: 1px solid var(--xg-border);
    }
    .feature-item {
      display: flex;
      gap: 16px;
      align-items: flex-start;
    }
    .feature-icon-box {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      background-color: var(--xg-primary-light);
      color: var(--xg-primary);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      flex-shrink: 0;
    }
    .feature-title {
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 6px;
      color: #1a1a1a;
    }
    .feature-desc {
      font-size: 13px;
      color: #77726b;
      line-height: 1.6;
      margin: 0;
    }
    .faq-panel {
      background: #ffffff;
      border-radius: 18px;
      padding: 30px;
      margin-bottom: 35px;
      border: 1px solid var(--xg-border);
    }
    .faq-title {
      font-size: 20px;
      font-weight: 800;
      margin-bottom: 20px;
      color: #222222;
    }
    .faq-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
    }
    .faq-box {
      background: #faf7f5;
      padding: 18px 20px;
      border-radius: 12px;
      border-left: 3px solid var(--xg-primary);
    }
    .faq-q {
      font-size: 15px;
      font-weight: 700;
      color: #222222;
      margin-bottom: 8px;
    }
    .faq-a {
      font-size: 13px;
      color: #66605a;
      line-height: 1.6;
      margin: 0;
    }
    .comment-card {
      background: #ffffff;
      border-radius: 18px;
      padding: 28px 32px;
      border: 1px solid #f2ede8;
      box-shadow: 0 4px 16px rgba(0,0,0,0.02);
      margin-bottom: 40px;
    }
    .comment-item {
      display: flex;
      align-items: flex-start;
      gap: 16px;
      padding: 16px 20px;
      background: #faf7f5;
      border-radius: 12px;
      border-left: 3px solid var(--xg-primary);
      margin-bottom: 16px;
    }
    .user-avatar-wrap {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      overflow: hidden;
      flex-shrink: 0;
      background-color: #ebdcd5;
    }
    .user-avatar-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .user-info-row {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 4px;
    }
    .user-name {
      font-size: 14px;
      font-weight: 700;
      color: #333333;
    }
    .user-badge {
      font-size: 11px;
      background: #e8e3de;
      color: #666;
      padding: 1px 6px;
      border-radius: 4px;
    }
    .comment-time {
      margin-left: auto;
      font-size: 12px;
      color: #aaa49e;
    }
    .comment-text {
      font-size: 13px;
      color: #555555;
      line-height: 1.6;
      margin: 0;
    }
    .comment-form {
      margin-top: 24px;
    }
    .comment-input-row {
      display: flex;
      gap: 14px;
      margin-bottom: 12px;
    }
    .custom-input {
      background-color: #faf7f5;
      border: 1px solid #ebdcd5;
      border-radius: 8px;
      padding: 10px 14px;
      font-size: 14px;
      color: #333;
      width: 100%;
      outline: none;
      transition: border-color 0.2s ease;
    }
    .custom-input:focus {
      border-color: var(--xg-primary);
      background-color: #ffffff;
    }
    .comment-textarea {
      background-color: #faf7f5;
      border: 1px solid #ebdcd5;
      border-radius: 8px;
      padding: 12px 14px;
      font-size: 14px;
      color: #333;
      width: 100%;
      min-height: 90px;
      resize: vertical;
      outline: none;
      transition: border-color 0.2s ease;
    }
    .comment-textarea:focus {
      border-color: var(--xg-primary);
      background-color: #ffffff;
    }
    .btn-submit-comment {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: linear-gradient(135deg, #ff8c1a 0%, #e87b00 100%);
      color: #ffffff;
      font-size: 14px;
      font-weight: 600;
      padding: 9px 24px;
      border-radius: 20px;
      border: none;
      margin-top: 14px;
      cursor: pointer;
      transition: opacity 0.2s ease;
    }
    .btn-submit-comment:hover {
      opacity: 0.92;
      color: #ffffff;
    }
    .footer-bar {
      border-top: 1px solid #ede7e0;
      padding: 30px 0 40px;
      font-size: 13px;
      color: #99948e;
      text-align: center;
    }
    .footer-links {
      display: flex;
      justify-content: center;
      gap: 20px;
      margin-bottom: 12px;
      flex-wrap: wrap;
    }
    .footer-links a {
      color: #77726b;
    }
    .footer-links a:hover {
      color: var(--xg-primary);
    }
    @media (max-width: 991px) {
      .faq-grid {
        grid-template-columns: 1fr;
      }
      .hero-banner {
        padding: 28px 24px;
      }
      .hero-title {
        font-size: 24px;
      }
    }
    @media (max-width: 767px) {
      .comment-card {
        padding: 20px 16px;
      }
      .section-title {
        font-size: 19px;
      }
      .comment-input-row {
        flex-direction: column;
        gap: 10px;
      }
      .comment-item {
        padding: 12px 14px;
      }
      .feature-panel {
        padding: 20px 16px;
      }
    }
    @media (max-width: 520px) {
      .pill-link {
        padding: 5px 16px;
        font-size: 14px;
      }
      .hero-banner {
        padding: 22px 18px;
        border-radius: 14px;
      }
      .hero-title {
        font-size: 20px;
      }
      .hero-desc {
        font-size: 13px;
      }
    }

/* roulang: framework shim */
/* 覆盖 Bootstrap 等对 a/btn 的全局默认，避免导航出现下划线/蓝链 */
.site-header a,.site-header a:hover,.navbar a,.navbar a:hover,.nav-links a,.nav-links a:hover,header nav a,header nav a:hover{text-decoration:none}
.site-header .btn,.navbar .btn,.nav-cta{text-decoration:none}
