:root {
      --black: #191919;
      --red: #e42b2d;
      --red-dark: #b80e17;
      --blue: #456f9f;
      --green: #10a84d;
      --gold: #f7c84a;
      --text: #3f4855;
      --muted: #6f7884;
      --line: #e4e8ee;
      --page: #f5f7fb;
      --white: #fff;
      --max: 1050px;
    }

    * { box-sizing: border-box; }

    html,
    body {
      max-width: 100%;
      overflow-x: hidden;
    }

    body {
      margin: 0;
      font-family: Arial, Helvetica, sans-serif;
      color: var(--text);
      background: var(--page);
      letter-spacing: 0;
    }

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

    .top {
      background: var(--black);
    }

    .top-inner {
      width: min(var(--max), calc(100% - 32px));
      min-height: 72px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      color: #fff;
      font-weight: 900;
      line-height: 1;
    }

    .brand-mark {
      width: 62px;
      height: 42px;
      border-radius: 50% 42% 48% 40%;
      display: grid;
      place-items: center;
      color: #fff;
      background:
        radial-gradient(circle at 28% 38%, #20d564 0 32%, transparent 33%),
        linear-gradient(135deg, #1b7b39 0 40%, #df1f2a 41% 100%);
      box-shadow: 0 10px 22px rgba(0, 0, 0, .24);
      font-size: 18px;
    }

    .brand-word {
      font-size: 42px;
      color: #fff;
      text-transform: uppercase;
    }

    .brand-word span { color: var(--red); }

    .auth {
      display: flex;
      align-items: center;
      gap: 18px;
    }

    .btn {
      min-height: 42px;
      min-width: 0;
      padding: 0 24px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      border: 0;
      color: #fff;
      background: var(--blue);
      font-size: 14px;
      font-weight: 900;
      text-transform: uppercase;
      white-space: nowrap;
      box-shadow: 0 10px 20px rgba(69, 111, 159, .25);
    }

    .btn.red {
      background: linear-gradient(180deg, #ff4242, var(--red-dark));
      box-shadow: 0 12px 24px rgba(228, 43, 45, .24);
    }

    .btn.green {
      background: linear-gradient(180deg, #21c463, #0b8f3a);
      box-shadow: 0 12px 24px rgba(16, 168, 77, .24);
    }

    .nav {
      background: var(--red);
      border-bottom: 1px solid rgba(0, 0, 0, .1);
    }

    .nav-inner {
      width: min(var(--max), calc(100% - 32px));
      min-height: 70px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 24px;
      overflow-x: auto;
      scrollbar-width: none;
    }

    .nav-inner::-webkit-scrollbar { display: none; }

    .nav-inner a {
      flex: 0 0 auto;
      padding: 24px 0;
      color: #1f252c;
      font-size: 14px;
      font-weight: 900;
      text-transform: uppercase;
      position: relative;
      white-space: nowrap;
    }

    .nav-inner a:first-child::after,
    .nav-inner a.is-active::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: 15px;
      height: 3px;
      background: #1f252c;
    }

    .hero {
      background: #dfeaf8;
      position: relative;
      overflow: hidden;
    }

    .hero-media {
      position: relative;
      min-height: 460px;
      background-image:
        linear-gradient(90deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .2) 46%, rgba(255, 255, 255, .84) 72%, rgba(255, 255, 255, .96)),
        url("78win-hero.png");
      background-size: cover;
      background-position: center;
    }

    .hero-inner {
      width: min(var(--max), calc(100% - 32px));
      min-height: 460px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      position: relative;
    }

    .hero-card {
      width: min(455px, 100%);
      padding: 30px;
      border-radius: 8px;
      background: rgba(255, 255, 255, .94);
      border: 1px solid rgba(255, 255, 255, .72);
      box-shadow: 0 24px 54px rgba(30, 45, 64, .22);
    }

    .hero-card h1 {
      margin: 0 0 16px;
      color: #202832;
      font-size: 42px;
      line-height: 1.08;
      font-weight: 900;
      text-transform: uppercase;
    }

    .hero-card h1 span {
      display: block;
      color: var(--red);
    }

    .hero-card p {
      margin: 0 0 24px;
      color: var(--text);
      font-size: 16px;
      line-height: 1.72;
      font-weight: 700;
    }

    .hero-actions {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }

    .section {
      width: min(var(--max), calc(100% - 32px));
      margin: 34px auto 0;
    }

    .content-panel {
      padding: 28px 32px;
      background: var(--white);
      border: 1px solid var(--line);
      border-radius: 8px;
      box-shadow: 0 16px 34px rgba(31, 42, 56, .06);
    }

    .article-title,
    .section-title {
      margin: 0 0 18px;
      color: #3d4650;
      font-size: 28px;
      line-height: 1.28;
      font-weight: 900;
      text-align: center;
    }

    .section-title {
      text-align: left;
      color: #303a45;
    }

    .content-panel p,
    .info-card p,
    .offer-card p,
    .news-card p,
    .safe-card p {
      color: var(--muted);
      font-size: 16px;
      line-height: 1.8;
      margin: 0 0 16px;
    }

    .content-panel strong {
      color: #1e5b91;
    }

    .intro-grid {
      display: grid;
      grid-template-columns: 1.05fr .95fr;
      gap: 18px;
      align-items: start;
    }

    .info-card {
      padding: 22px;
      border-radius: 8px;
      border: 1px solid var(--line);
      background: var(--white);
      min-width: 0;
    }

    .info-card h3,
    .offer-card h3,
    .news-card h3,
    .safe-card h3 {
      margin: 0 0 10px;
      color: #303a45;
      font-size: 20px;
      line-height: 1.32;
      font-weight: 900;
    }

    .profile-list {
      display: grid;
      gap: 10px;
      margin-top: 18px;
    }

    .profile-row {
      display: grid;
      grid-template-columns: 132px minmax(0, 1fr);
      gap: 14px;
      padding: 12px 14px;
      border-radius: 8px;
      background: #f6f8fb;
      border: 1px solid var(--line);
      line-height: 1.55;
    }

    .profile-row b {
      color: var(--red);
      text-transform: uppercase;
      font-size: 13px;
    }

    .profile-row span {
      color: var(--text);
    }

    .offer-band {
      min-height: 220px;
      padding: 28px;
      border-radius: 8px;
      background:
        linear-gradient(90deg, rgba(228, 43, 45, .94), rgba(228, 43, 45, .78)),
        url("78win-hero.png");
      background-size: cover;
      background-position: center;
      color: #fff;
      display: grid;
      grid-template-columns: minmax(0, 1fr) 280px;
      gap: 24px;
      align-items: center;
      box-shadow: 0 18px 40px rgba(228, 43, 45, .2);
    }

    .offer-band h2 {
      margin: 0 0 12px;
      color: #fff;
      font-size: 34px;
      line-height: 1.18;
      text-transform: uppercase;
    }

    .offer-band p {
      margin: 0;
      color: rgba(255, 255, 255, .88);
      line-height: 1.75;
    }

    .offer-badge {
      min-height: 132px;
      border-radius: 8px;
      background: #fff;
      color: var(--red);
      display: grid;
      place-items: center;
      text-align: center;
      padding: 18px;
      font-size: 38px;
      font-weight: 900;
      box-shadow: 0 14px 26px rgba(0, 0, 0, .16);
    }

    .offer-badge span {
      display: block;
      margin-top: 8px;
      color: #303a45;
      font-size: 14px;
      text-transform: uppercase;
    }

    .card-grid,
    .safe-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 16px;
    }

    .offer-card,
    .safe-card,
    .news-card {
      min-width: 0;
      padding: 20px;
      border-radius: 8px;
      border: 1px solid var(--line);
      background: var(--white);
      box-shadow: 0 14px 26px rgba(31, 42, 56, .05);
    }

    .safe-card b {
      display: inline-flex;
      width: 34px;
      height: 34px;
      margin-bottom: 12px;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      color: #fff;
      background: var(--green);
      font-size: 14px;
    }

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

    .news-card {
      padding: 0;
      overflow: hidden;
    }

    .news-thumb {
      min-height: 128px;
      background:
        radial-gradient(circle at 78% 28%, rgba(247, 200, 74, .92), transparent 20%),
        radial-gradient(circle at 24% 42%, rgba(16, 168, 77, .6), transparent 22%),
        linear-gradient(135deg, #1b1f25, #e42b2d);
      position: relative;
    }

    .news-thumb::after {
      content: "";
      position: absolute;
      right: -18px;
      bottom: -32px;
      width: 110px;
      height: 110px;
      border-radius: 50%;
      border: 10px solid rgba(255, 255, 255, .22);
    }

    .news-body {
      padding: 18px;
    }

    .date {
      width: 52px;
      min-height: 54px;
      margin-top: -44px;
      margin-bottom: 12px;
      position: relative;
      z-index: 1;
      display: grid;
      place-items: center;
      border-radius: 8px;
      color: #fff;
      background: var(--red);
      border: 2px solid #fff;
      font-weight: 900;
      line-height: 1;
      box-shadow: 0 8px 18px rgba(0, 0, 0, .16);
    }

    .date small {
      display: block;
      font-size: 11px;
      margin-top: 4px;
    }

    footer {
      margin-top: 42px;
      padding: 28px 0;
      background: var(--black);
      color: #dbe3ee;
    }

    .footer-inner {
      width: min(var(--max), calc(100% - 32px));
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      flex-wrap: wrap;
      font-size: 14px;
    }

    @media (max-width: 900px) {
      .top-inner {
        justify-content: center;
      }

      .nav-inner {
        justify-content: flex-start;
      }

      .hero-media,
      .hero-inner {
        min-height: 500px;
      }

      .hero-inner {
        justify-content: center;
      }

      .hero-card {
        margin-top: 160px;
      }

      .intro-grid,
      .offer-band,
      .card-grid,
      .safe-grid {
        grid-template-columns: 1fr;
      }

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

    @media (max-width: 620px) {
      .top-inner,
      .nav-inner,
      .hero-inner,
      .section,
      .footer-inner {
        width: calc(100% - 30px);
      }

      .top-inner {
        min-height: 140px;
        flex-direction: column;
        padding: 14px 0;
      }

      .brand-word {
        font-size: 36px;
      }

      .auth {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
      }

      .auth .btn {
        padding: 0 12px;
      }

      .nav-inner {
        min-height: 58px;
        gap: 20px;
      }

      .nav-inner a {
        padding: 19px 0;
        font-size: 13px;
      }

      .hero-media {
        background-image:
          linear-gradient(180deg, rgba(0, 0, 0, .22), rgba(0, 0, 0, .06)),
          url("78win-hero.png");
        background-position: left center;
      }

      .hero-card {
        margin-top: 170px;
        padding: 24px;
      }

      .hero-card h1 {
        font-size: 34px;
      }

      .hero-actions .btn {
        width: 100%;
      }

      .content-panel,
      .info-card,
      .offer-card,
      .safe-card {
        padding: 20px;
      }

      .article-title,
      .section-title {
        font-size: 24px;
      }

      .profile-row {
        grid-template-columns: 1fr;
        gap: 6px;
      }

      .offer-band {
        padding: 22px;
      }

      .offer-band h2 {
        font-size: 28px;
      }

      .news-grid {
        grid-template-columns: 1fr;
      }
    }

    .article-hero {
      min-height: 360px;
      position: relative;
      overflow: hidden;
      background-image:
        linear-gradient(90deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, .08) 42%, rgba(255, 255, 255, .88) 72%, rgba(255, 255, 255, .98)),
        url("78win-hero.png");
      background-size: cover;
      background-position: center;
    }

    .article-hero-inner {
      width: min(var(--max), calc(100% - 32px));
      min-height: 360px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: flex-end;
    }

    .article-heading-card {
      width: min(560px, 100%);
      padding: 30px;
      border-radius: 8px;
      background: rgba(255, 255, 255, .94);
      box-shadow: 0 24px 54px rgba(30, 45, 64, .2);
    }

    .article-heading-card h1 {
      margin: 0 0 14px;
      color: #202832;
      font-size: clamp(32px, 4.8vw, 54px);
      line-height: 1.08;
      font-weight: 900;
      text-transform: uppercase;
    }

    .article-heading-card p {
      margin: 0;
      color: var(--text);
      font-size: 16px;
      line-height: 1.72;
      font-weight: 700;
    }

    .article-layout {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 320px;
      gap: 20px;
      align-items: start;
    }

    .article-main,
    .article-side {
      min-width: 0;
      padding: 28px;
      border-radius: 8px;
      border: 1px solid var(--line);
      background: #fff;
      box-shadow: 0 16px 34px rgba(31, 42, 56, .06);
    }

    .article-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 10px 16px;
      margin-bottom: 18px;
      padding-bottom: 16px;
      border-bottom: 1px solid var(--line);
      color: var(--muted);
      font-size: 14px;
    }

    .article-content {
      color: var(--text);
      font-size: 16px;
      line-height: 1.9;
    }

    .article-content p { margin: 0 0 18px; }

    .article-content h2,
    .article-content h3 {
      margin: 28px 0 12px;
      color: #303a45;
      line-height: 1.3;
      font-weight: 900;
    }

    .article-content img {
      max-width: 100%;
      height: auto;
      border-radius: 8px;
    }

    .article-side {
      position: sticky;
      top: 18px;
    }

    .article-side h2 {
      margin: 0 0 14px;
      color: var(--red);
      font-size: 24px;
      line-height: 1.25;
      text-transform: uppercase;
    }

    .side-list,
    .article-tools,
    .pagination {
      list-style: none;
      margin: 0;
      padding: 0;
    }

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

    .side-list li {
      padding: 13px;
      border-radius: 8px;
      border: 1px solid var(--line);
      background: #f6f8fb;
      color: var(--text);
      line-height: 1.55;
    }

    .article-card h3 a,
    .news-card h3 a,
    .pagination a,
    .prenext a,
    .article-tools a {
      color: inherit;
      text-decoration: none;
    }

    .news-card h3 a:hover,
    .pagination a:hover,
    .prenext a:hover {
      color: var(--red);
    }

    .au78-pager,
    .column-page,
    .prenext {
      margin-top: 24px;
      color: var(--muted);
    }

    .au78-pager ul,
    .column-page ul,
    .pagination {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
      justify-content: center;
    }

    .au78-pager a,
    .au78-pager span,
    .column-page a,
    .column-page span,
    .pagination a,
    .pagination span {
      min-height: 36px;
      padding: 8px 12px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 6px;
      border: 1px solid var(--line);
      background: #fff;
      color: #303a45;
    }

    .article-tools {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 24px;
      padding-top: 18px;
      border-top: 1px solid var(--line);
    }

    .article-tools a,
    .article-tools button {
      min-height: 36px;
      padding: 8px 12px;
      border-radius: 6px;
      border: 1px solid var(--line);
      background: #f6f8fb;
      color: #303a45;
      font-weight: 800;
      cursor: pointer;
    }

    @media (max-width: 900px) {
      .article-layout {
        grid-template-columns: 1fr;
      }

      .article-side {
        position: static;
      }

      .article-hero-inner {
        justify-content: center;
      }
    }

    @media (max-width: 620px) {
      .article-hero {
        background-image:
          linear-gradient(180deg, rgba(0, 0, 0, .2), rgba(0, 0, 0, .04)),
          url("78win-hero.png");
        background-position: left center;
      }

      .article-hero-inner {
        width: calc(100% - 30px);
        min-height: 430px;
        align-items: end;
        padding-bottom: 34px;
      }

      .article-heading-card {
        padding: 24px;
      }

      .article-main,
      .article-side {
        padding: 20px;
      }
    }

/* 78WIN layout repair 20260707 */
.hero-media {
  min-height: 430px;
  background-position: center;
}
.hero-inner {
  min-height: 430px;
  justify-content: flex-end;
  padding: 0 clamp(18px, 4vw, 64px);
}
.hero-card {
  width: min(520px, 100%);
  padding: clamp(22px, 3vw, 34px);
}
.hero-card h1 {
  font-size: clamp(30px, 3.1vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: normal;
}
.hero-card h1 span {
  display: block;
}
.content-panel .article-title {
  text-align: center;
}
.news-card h3 a {
  color: inherit;
  text-decoration: none;
}
@media (max-width: 760px) {
  .hero-media,
  .hero-inner {
    min-height: auto;
  }
  .hero-inner {
    padding: 34px 16px;
    justify-content: center;
  }
  .hero-card h1 {
    font-size: 30px;
  }
}
/* end 78WIN layout repair 20260707 */

/* 78WIN hero tune 20260707 */
.hero-card {
  width: min(500px, 100%);
}
.hero-card h1 {
  font-size: clamp(30px, 2.8vw, 42px);
}
.hero-actions .btn-red,
.btn.btn-red {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 14px 28px rgba(228, 43, 45, .24);
}
.hero-actions .btn-green,
.btn.btn-green {
  background: linear-gradient(135deg, #19c763, var(--green));
  box-shadow: 0 14px 28px rgba(16, 168, 77, .22);
}
/* end 78WIN hero tune 20260707 *//* 78WIN hero right-side fill 20260708 */
.hero-media {
  background-image:
    linear-gradient(90deg, rgba(5, 12, 24, .12) 0%, rgba(5, 12, 24, .03) 46%, rgba(255, 255, 255, .10) 66%, rgba(255, 255, 255, 0) 100%),
    url("78win-hero.png");
  background-size: 50% auto;
  background-position: left center;
  background-repeat: repeat-x;
}
@media (min-width: 1200px) {
  .hero-media {
    background-size: 50% auto;
    background-position: left center;
    background-repeat: repeat-x;
  }
}
/* end 78WIN hero right-side fill 20260708 */
