* {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      color: #1f2937;
      background: linear-gradient(180deg, #ffffff 0, #f5f6f8 360px, #f5f6f8 100%);
      font-family: Arial, "Microsoft YaHei", sans-serif;
      letter-spacing: 0;
      line-height: 1.5;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    img {
      display: block;
      max-width: 100%;
    }

    input,
    button {
      font: inherit;
    }

    .topline {
      color: #cbd5e1;
      background: #211313;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .topline-inner,
    .header-inner,
    .page,
    .footer-inner {
      width: min(1240px, calc(100% - 32px));
      margin: 0 auto;
    }

    .topline-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      min-height: 40px;
      gap: 16px;
      font-size: 12px;
    }

    .site-slogan,
    .top-values,
    .top-status {
      display: flex;
      align-items: center;
      gap: 12px;
      white-space: nowrap;
    }

    .top-value::before {
      display: inline-block;
      width: 4px;
      height: 4px;
      margin-right: 7px;
      border-radius: 999px;
      background: #94a3b8;
      content: "";
      vertical-align: 2px;
    }

    .top-status strong {
      color: #ffffff;
    }

    .site-header {
      background: #ffffff;
      border-bottom: 1px solid #f1d7d7;
      box-shadow: 0 10px 24px rgba(127, 29, 29, 0.08);
    }

    .header-inner {
      display: grid;
      grid-template-columns: auto minmax(320px, 1fr) auto;
      align-items: center;
      min-height: 74px;
      gap: 24px;
    }

    .logo {
      display: inline-flex;
      align-items: center;
      color: #1f2937;
      font-size: 24px;
      font-weight: 900;
      white-space: nowrap;
    }

    .logo::before {
      width: 8px;
      height: 24px;
      margin-right: 10px;
      border-radius: 999px;
      background: #dc2626;
      content: "";
    }

    .search {
      display: flex;
      height: 40px;
      border: 1px solid #f1c6c6;
      border-radius: 6px;
      background: #ffffff;
      box-shadow: 0 8px 18px rgba(127, 29, 29, 0.10);
      overflow: hidden;
    }

    .search input {
      flex: 1;
      min-width: 0;
      padding: 0 12px;
      border: 0;
      color: #1f2937;
      font-size: 13px;
      outline: 0;
    }

    .search button {
      width: 76px;
      border: 0;
      color: #ffffff;
      background: #991b1b;
      font-weight: 900;
      cursor: pointer;
    }

    .channel-nav {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 14px;
      font-weight: 900;
      white-space: nowrap;
    }

    .channel-nav a {
      display: inline-flex;
      align-items: center;
      height: 34px;
      padding: 0 11px;
      border: 1px solid #f3d4d4;
      border-radius: 6px;
      color: #374151;
      background: #fff7f7;
      gap: 6px;
    }

    .channel-nav a::before {
      display: inline-grid;
      place-items: center;
      width: 17px;
      height: 17px;
      border-radius: 5px;
      color: #ffffff;
      background: #b91c1c;
      font-size: 11px;
      content: "游";
    }

    .channel-nav a.active {
      color: #ffffff;
      background: #b91c1c;
      border-color: #b91c1c;
    }

    .page {
      padding: 20px 0 0;
    }

    .mobile-board {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 340px;
      gap: 14px;
      align-items: start;
      margin-top: 16px;
    }

    .hot-recommend,
    .filter-panel,
    .game-list-panel,
    .game-detail-panel,
    .side-panel,
    .mobile-news-section {
      border: 1px solid #e5e7eb;
      border-radius: 8px;
      background: #ffffff;
      box-shadow: 0 10px 24px rgba(17, 24, 39, 0.045);
    }

    .hot-recommend {
      padding: 18px;
    }

    .hot-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 12px;
    }

    .hot-card {
      position: relative;
      display: grid;
      gap: 9px;
      padding: 10px;
      border: 1px solid #e2e8f0;
      border-radius: 8px;
      background: #f8fafc;
      transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    }

    .hot-card:hover {
      border-color: #f4b4bd;
      background: #ffffff;
      box-shadow: 0 10px 24px rgba(127, 29, 29, 0.08);
      transform: translateY(-2px);
    }

    .hot-card img {
      width: 100%;
      aspect-ratio: 16 / 9;
      border-radius: 6px;
      object-fit: cover;
      background: #fee2e2;
    }

    .hot-ribbon {
      position: absolute;
      top: 18px;
      left: 18px;
      height: 22px;
      padding: 0 8px;
      border-radius: 999px;
      color: #ffffff;
      background: rgba(153, 27, 27, 0.92);
      font-size: 11px;
      font-weight: 900;
      line-height: 22px;
    }

    .hot-card h3 {
      margin: 0;
      color: #0f172a;
      font-size: 16px;
      line-height: 1.35;
    }

    .hot-card p {
      margin: 0;
      color: #64748b;
      font-size: 12px;
      line-height: 1.6;
    }

    .hot-meta {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
    }

    .hot-meta span {
      display: inline-flex;
      align-items: center;
      height: 22px;
      padding: 0 8px;
      border-radius: 999px;
      color: #991b1b;
      background: #fef2f2;
      font-size: 12px;
      font-weight: 800;
    }

    .filter-panel {
      margin-top: 16px;
      padding: 16px;
    }

    .filter-row {
      display: grid;
      grid-template-columns: 76px minmax(0, 1fr);
      align-items: start;
      gap: 12px;
      padding: 10px 0;
      border-top: 1px solid #f1f5f9;
    }

    .filter-row:first-child {
      border-top: 0;
      padding-top: 0;
    }

    .filter-label {
      color: #374151;
      font-size: 13px;
      font-weight: 900;
      line-height: 32px;
    }

    .filter-options {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .filter-options a {
      display: inline-flex;
      align-items: center;
      height: 32px;
      padding: 0 12px;
      border: 1px solid #e5e7eb;
      border-radius: 999px;
      color: #4b5563;
      background: #ffffff;
      font-size: 13px;
      font-weight: 800;
    }

    .filter-options a.active,
    .filter-options a:hover {
      color: #ffffff;
      border-color: #b91c1c;
      background: #b91c1c;
    }

    .list-head,
    .panel-title {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 14px;
    }

    .list-head h2,
    .panel-title h2 {
      margin: 0;
      color: #111827;
      font-size: 18px;
    }

    .sort-tabs {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .sort-tabs a {
      display: inline-flex;
      align-items: center;
      height: 30px;
      padding: 0 10px;
      border-radius: 6px;
      color: #4b5563;
      background: #f8fafc;
      font-size: 12px;
      font-weight: 900;
    }

    .sort-tabs a.active {
      color: #ffffff;
      background: #991b1b;
    }

    .game-list-panel {
      margin-top: 0;
      padding: 18px;
    }

    .game-row-list {
      display: grid;
      gap: 10px;
    }

    .game-row {
      display: grid;
      grid-template-columns: 46px 116px minmax(0, 1fr) auto;
      align-items: center;
      gap: 12px;
      min-height: 92px;
      padding: 10px;
      border: 1px solid #e2e8f0;
      border-radius: 8px;
      background: #f8fafc;
      cursor: pointer;
      box-shadow: 0 6px 16px rgba(15, 23, 42, 0.035);
      transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    }

    .game-row:hover,
    .game-row:focus-within,
    .game-row.is-active {
      border-color: #f4b4bd;
      background: #ffffff;
      box-shadow: 0 10px 24px rgba(127, 29, 29, 0.08);
      transform: translateX(3px);
    }

    .game-row.is-active {
      box-shadow: inset 3px 0 0 #be123c, 0 10px 24px rgba(127, 29, 29, 0.08);
    }

    .game-no {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 42px;
      height: 48px;
      border: 1px solid #f8d7df;
      border-radius: 8px;
      color: #be123c;
      background: #fffafb;
      font-weight: 900;
      line-height: 1.1;
      flex-direction: column;
      box-shadow: inset 0 0 0 3px #ffffff;
    }

    .game-no span {
      color: #64748b;
      font-size: 9px;
      letter-spacing: 0;
    }

    .game-no strong {
      display: block;
      margin-top: 4px;
      font-size: 15px;
    }

    .game-cover {
      width: 116px;
      height: 72px;
      border-radius: 6px;
      object-fit: cover;
      background: #fee2e2;
    }

    .game-main h3 {
      margin: 0;
      color: #0f172a;
      font-size: 16px;
      line-height: 1.35;
    }

    .game-main {
      min-width: 0;
    }

    .game-main p {
      margin: 0;
      color: #64748b;
      font-size: 12px;
      line-height: 1.6;
    }

    .game-entry {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      justify-self: end;
      width: auto;
      height: 34px;
      padding: 0 12px;
      border-radius: 6px;
      color: #ffffff;
      background: #be123c;
      font-size: 12px;
      font-weight: 800;
      white-space: nowrap;
    }

    .game-entry::before,
    .detail-action::before {
      width: 0;
      height: 0;
      margin-right: 7px;
      border-top: 5px solid transparent;
      border-bottom: 5px solid transparent;
      border-left: 7px solid currentColor;
      content: "";
    }

    .game-detail-panel {
      position: sticky;
      top: 16px;
      display: flex;
      align-self: start;
      min-height: 602px;
      overflow: hidden;
      padding: 14px;
      flex-direction: column;
    }

    .game-detail-image {
      width: 100%;
      height: auto;
      aspect-ratio: 16 / 9;
      border-radius: 6px;
      object-fit: cover;
      background: #e5e7eb;
    }

    .game-detail-panel h2 {
      margin: 14px 0 8px;
      color: #0f172a;
      font-size: 18px;
      line-height: 1.35;
    }

    .game-detail-panel p {
      margin: 0;
      color: #64748b;
      font-size: 13px;
      line-height: 1.75;
    }

    .detail-facts {
      display: grid;
      gap: 8px;
      margin: 14px 0 0;
      padding: 0;
    }

    .detail-facts li {
      display: flex;
      align-items: center;
      gap: 8px;
      min-height: 32px;
      padding: 0 10px;
      border-radius: 6px;
      color: #0f172a;
      background: #f8fafc;
      font-size: 12px;
      font-weight: 800;
      list-style: none;
    }

    .detail-facts li::before {
      flex: 0 0 auto;
      width: 6px;
      height: 6px;
      border-radius: 999px;
      background: #991b1b;
      content: "";
    }

    .detail-facts b {
      flex: 0 0 auto;
      color: #0f172a;
    }

    .detail-facts span {
      min-width: 0;
      color: #0f172a;
      overflow-wrap: break-word;
    }

    .detail-action {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 36px;
      margin-top: auto;
      border-radius: 6px;
      color: #ffffff;
      background: #8f1d1d;
      font-size: 13px;
      font-weight: 800;
    }

    .side-stack {
      display: grid;
      gap: 16px;
    }

    .side-panel {
      padding: 16px;
    }

    .rank-list,
    .news-list {
      display: grid;
      gap: 10px;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .rank-list li {
      display: grid;
      grid-template-columns: 34px minmax(0, 1fr) auto;
      align-items: center;
      gap: 10px;
      padding: 9px;
      border-radius: 8px;
      background: #f8fafc;
    }

    .rank-no {
      display: grid;
      place-items: center;
      width: 32px;
      height: 30px;
      border-radius: 8px;
      color: #ffffff;
      background: #4b5563;
      font-size: 12px;
      font-weight: 900;
    }

    .rank-list li:nth-child(1) .rank-no {
      background: linear-gradient(145deg, #facc15, #b45309);
    }

    .rank-list li:nth-child(2) .rank-no {
      color: #111827;
      background: linear-gradient(145deg, #f3f4f6, #9ca3af);
    }

    .rank-list li:nth-child(3) .rank-no {
      background: linear-gradient(145deg, #b87333, #6f3f1f);
    }

    .rank-list strong {
      display: block;
      color: #111827;
      font-size: 13px;
    }

    .rank-list p {
      margin: 2px 0 0;
      color: #6b7280;
      font-size: 12px;
    }

    .rank-download {
      display: inline-flex;
      align-items: center;
      height: 24px;
      padding: 0 8px;
      border-radius: 999px;
      color: #991b1b;
      background: #fef2f2;
      font-size: 12px;
      font-weight: 900;
      white-space: nowrap;
    }

    .news-list a {
      display: block;
      padding: 10px 0;
      border-top: 1px solid #f1f5f9;
    }

    .news-list li:first-child a {
      border-top: 0;
    }

    .news-list strong {
      display: block;
      color: #111827;
      font-size: 13px;
      line-height: 1.55;
    }

    .news-list span {
      display: block;
      margin-top: 5px;
      color: #9ca3af;
      font-size: 12px;
    }

    .mobile-news-section {
      margin-top: 16px;
      padding: 18px;
    }

    .mobile-news-grid {
      display: grid;
      grid-template-columns: 360px minmax(0, 1fr);
      gap: 16px;
    }

    .news-lead {
      border: 1px solid #e5e7eb;
      border-radius: 8px;
      background: #f8fafc;
      overflow: hidden;
    }

    .news-lead img {
      width: 100%;
      aspect-ratio: 16 / 9;
      object-fit: cover;
    }

    .news-lead div {
      padding: 12px;
    }

    .news-lead h3 {
      margin: 0 0 6px;
      color: #0f172a;
      font-size: 17px;
      line-height: 1.45;
    }

    .news-lead p {
      margin: 0;
      color: #6b7280;
      font-size: 12px;
      line-height: 1.65;
    }

    .mobile-news-list {
      display: grid;
      gap: 8px;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .mobile-news-list a {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      align-items: center;
      gap: 10px;
      min-height: 44px;
      padding: 0 12px;
      border: 1px solid #e5e7eb;
      border-radius: 8px;
      background: #ffffff;
    }

    .mobile-news-list em {
      display: inline-flex;
      align-items: center;
      height: 22px;
      padding: 0 8px;
      border-radius: 999px;
      color: #991b1b;
      background: #fef2f2;
      font-size: 12px;
      font-style: normal;
      font-weight: 900;
      white-space: nowrap;
    }

    .mobile-news-list strong {
      color: #0f172a;
      font-size: 13px;
      line-height: 1.45;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .mobile-news-list span {
      color: #94a3b8;
      font-size: 12px;
      white-space: nowrap;
    }

    .load-more {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      margin-top: 18px;
      min-height: 42px;
      border: 1px dashed #e5b4b4;
      border-radius: 8px;
      color: #991b1b;
      background: #fff7f7;
      font-size: 13px;
      font-weight: 900;
    }

    .load-more::before {
      width: 15px;
      height: 15px;
      border: 2px solid #f3caca;
      border-top-color: #b91c1c;
      border-radius: 999px;
      content: "";
    }

    .site-footer {
      margin-top: 28px;
      color: #cbd5e1;
      background: #211313;
      border-top: 4px solid #991b1b;
    }

    .footer-inner {
      padding: 34px 0 22px;
    }

    .footer-main {
      display: grid;
      grid-template-columns: minmax(240px, 1.2fr) repeat(3, minmax(140px, 0.7fr));
      gap: 24px;
    }

    .footer-main h2,
    .footer-main h3 {
      margin: 0 0 12px;
      color: #ffffff;
    }

    .footer-main p,
    .footer-links a,
    .footer-bottom {
      color: #cbd5e1;
      font-size: 13px;
      line-height: 1.8;
    }

    .footer-links {
      display: grid;
      gap: 8px;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      margin-top: 24px;
      padding-top: 16px;
      border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    @media (max-width: 1120px) {
      .header-inner,
      .mobile-board,
      .mobile-news-grid {
        grid-template-columns: 1fr;
      }

      .channel-nav {
        overflow-x: auto;
      }

      .hot-grid,
      .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .game-detail-panel {
        position: static;
        min-height: auto;
      }

      .detail-action {
        margin-top: 14px;
      }
    }

    @media (max-width: 760px) {
      .topline-inner,
      .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
      }

      .hot-grid,
      .mobile-news-grid,
      .filter-row,
      .footer-main {
        grid-template-columns: 1fr;
      }

      .game-row {
        grid-template-columns: 42px 92px minmax(0, 1fr);
        gap: 10px;
      }

      .game-cover {
        width: 92px;
        height: 58px;
        grid-column: 2;
        grid-row: 1;
      }

      .game-no {
        grid-column: 1;
        grid-row: 1;
        width: 42px;
        height: 48px;
      }

      .game-main {
        grid-column: 3;
        grid-row: 1;
      }

      .game-main h3 {
        font-size: 16px;
      }

      .game-entry {
        grid-column: 2 / -1;
        justify-self: start;
      }

      .game-detail-image {
        height: auto;
      }

      .mobile-news-list a {
        grid-template-columns: auto minmax(0, 1fr);
      }

      .mobile-news-list span {
        display: none;
      }
    }
