:root {
  --gold: #f6b21c;
  --gold-2: #ffe08a;
  --orange: #f28a00;
  --red: #e01922;
  --red-dark: #a80f14;
  --brown: #3f2205;
  --ink: #1b2432;
  --muted: #667184;
  --line: #ead9b8;
  --paper: #ffffff;
  --cream: #fff8ec;
  --soft: #fff2d8;
  --shadow: 0 18px 45px rgba(92, 53, 0, .11);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body.qh88-body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(246, 178, 28, .18), transparent 30%),
    radial-gradient(circle at 88% 16%, rgba(224, 25, 34, .08), transparent 26%),
    var(--cream);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

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

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

.qh88-wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.qh88-top {
  background: linear-gradient(180deg, #ffc93b, #f2a31a);
  border-bottom: 1px solid rgba(92, 53, 0, .18);
}

.qh88-top .qh88-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.qh88-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 900;
}

.qh88-brand-mark {
  width: 52px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #ffd94b;
  background: linear-gradient(145deg, #a90f15, #5c2604);
  clip-path: polygon(50% 0, 94% 25%, 94% 75%, 50% 100%, 6% 75%, 6% 25%);
  box-shadow: 0 12px 24px rgba(92, 53, 0, .28);
}

.qh88-brand-text {
  display: grid;
  line-height: 1;
}

.qh88-brand-text strong {
  color: #2a1702;
  font-size: 32px;
  letter-spacing: 0;
}

.qh88-brand-text small {
  color: #5c3204;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.qh88-auth {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.qh88-btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 900;
  line-height: 1.1;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.qh88-btn:hover {
  transform: translateY(-1px);
}

.qh88-btn-auth {
  color: #fff;
  background: #20160a;
  box-shadow: 0 12px 24px rgba(32, 22, 10, .18);
}

.qh88-btn-auth:first-child,
.qh88-btn-red {
  color: #fff;
  background: linear-gradient(135deg, #f22c33, #b70d14);
  box-shadow: 0 16px 28px rgba(224, 25, 34, .24);
}

.qh88-btn-gold {
  color: #251503;
  background: linear-gradient(135deg, #ffe05a, var(--gold));
  box-shadow: 0 16px 30px rgba(246, 178, 28, .25);
}

.qh88-btn-line {
  color: #fff;
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .5);
}

.qh88-btn-soft {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.qh88-nav {
  color: #fff;
  background: linear-gradient(90deg, #b8070d, #e01922, #b8070d);
  box-shadow: 0 8px 24px rgba(184, 7, 13, .18);
}

.qh88-nav-scroll {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.qh88-nav-scroll::-webkit-scrollbar {
  display: none;
}

.qh88-nav a {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 0 18px;
  position: relative;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.qh88-nav a.is-active::after,
.qh88-nav a:hover::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 4px;
  border-radius: 4px 4px 0 0;
  background: var(--gold-2);
}

.qh88-hero {
  color: #fff;
  background:
    radial-gradient(circle at 70% 36%, rgba(246, 178, 28, .3), transparent 38%),
    linear-gradient(135deg, #150b03 0%, #3d1c02 42%, #070503 100%);
}

.qh88-hero-grid {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(340px, 620px);
  align-items: center;
  gap: 28px;
  padding: 48px 0;
}

.qh88-hero h1 {
  max-width: 560px;
  margin-bottom: 16px;
  color: #fff;
  font-size: 44px;
  line-height: 1.14;
  overflow-wrap: break-word;
}

.qh88-hero h1 span {
  color: var(--gold-2);
}

.qh88-hero p {
  max-width: 560px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, .86);
  font-size: 18px;
}

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

.qh88-hero-media {
  min-width: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .36);
  border: 1px solid rgba(255, 224, 138, .18);
}

.qh88-intro {
  padding: 36px 0 22px;
  text-align: center;
}

.qh88-intro h2 {
  margin-bottom: 12px;
  font-size: 28px;
  line-height: 1.25;
}

.qh88-intro h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--red), transparent);
}

.qh88-intro p {
  max-width: 900px;
  margin: 0 auto 12px;
  color: var(--muted);
}

.qh88-section {
  padding: 28px 0;
}

.qh88-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  align-items: start;
  gap: 22px;
}

.qh88-card,
.qh88-panel,
.qh88-news,
.qh88-sidebar-card,
.qh88-topic-card,
.qh88-article-card,
.qh88-related {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.qh88-news {
  padding: 20px 24px 18px;
}

.qh88-section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.qh88-section-title h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1.25;
}

.qh88-section-title h2::after {
  content: "";
  display: block;
  width: 30px;
  height: 3px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--red);
}

.qh88-section-title p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.qh88-news-row {
  display: grid;
  grid-template-columns: 215px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid #efe3ca;
}

.qh88-news-row:last-child {
  border-bottom: 0;
}

.qh88-thumb {
  min-height: 136px;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  border-radius: 8px;
  overflow: hidden;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
  background:
    radial-gradient(circle at 78% 20%, rgba(246, 178, 28, .75), transparent 22%),
    linear-gradient(135deg, #1b1003, #d01720 58%, #070503);
}

.qh88-thumb.sport {
  background:
    radial-gradient(circle at 78% 24%, rgba(246, 178, 28, .62), transparent 20%),
    linear-gradient(135deg, #0d1f13, #1a6a3c 45%, #b70d14);
}

.qh88-thumb.casino {
  background:
    radial-gradient(circle at 74% 24%, rgba(246, 178, 28, .78), transparent 22%),
    linear-gradient(135deg, #1b0607, #b50f18 56%, #1d1102);
}

.qh88-thumb.promo {
  background:
    radial-gradient(circle at 78% 24%, rgba(246, 178, 28, .82), transparent 25%),
    linear-gradient(135deg, #19090b, #e11c27 52%, #3f2205);
}

.qh88-thumb.slot {
  background:
    radial-gradient(circle at 76% 22%, rgba(246, 178, 28, .78), transparent 24%),
    linear-gradient(135deg, #211002, #79080e 55%, #0b0802);
}

.qh88-tag {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.qh88-news-body h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.34;
}

.qh88-news-body p {
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 15px;
}

.qh88-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: #7c8798;
  font-size: 13px;
}

.qh88-readmore {
  display: inline-flex;
  margin-top: 12px;
  color: var(--red);
  font-weight: 900;
}

.qh88-more {
  margin-top: 14px;
  text-align: center;
}

.qh88-sidebar {
  display: grid;
  gap: 18px;
}

.qh88-sidebar-card {
  padding: 24px;
}

.qh88-sidebar-card h2 {
  margin-bottom: 16px;
  font-size: 22px;
}

.qh88-category-list {
  display: grid;
  gap: 12px;
}

.qh88-category-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 36px;
  font-weight: 700;
}

.qh88-category-list span:last-child {
  min-width: 34px;
  height: 26px;
  display: grid;
  place-items: center;
  color: var(--orange);
  border-radius: 999px;
  background: #fff0dc;
  font-size: 13px;
}

.qh88-hot-list {
  counter-reset: hot;
  display: grid;
  gap: 11px;
}

.qh88-hot-list a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-size: 14px;
  font-weight: 700;
}

.qh88-hot-list a::before {
  counter-increment: hot;
  content: counter(hot);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 7px;
  background: var(--red);
  font-weight: 900;
}

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

.qh88-topic-card {
  min-height: 188px;
  padding: 24px;
  text-align: center;
}

.qh88-topic-card b,
.qh88-step b {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  color: var(--red);
  border: 2px solid rgba(224, 25, 34, .2);
  border-radius: 999px;
  background: #fff4e1;
  font-size: 18px;
}

.qh88-topic-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.qh88-topic-card p {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 14px;
}

.qh88-topic-card a {
  color: var(--orange);
  font-weight: 900;
}

.qh88-flow {
  padding: 24px;
}

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

.qh88-step {
  text-align: center;
  min-height: 150px;
}

.qh88-step h3 {
  margin-bottom: 6px;
  font-size: 17px;
}

.qh88-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.qh88-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.qh88-panel {
  padding: 24px;
}

.qh88-panel h2 {
  margin-bottom: 18px;
  font-size: 24px;
}

.qh88-score {
  display: grid;
  gap: 14px;
}

.qh88-score-row {
  display: grid;
  grid-template-columns: 155px 1fr 46px;
  gap: 14px;
  align-items: center;
  font-weight: 700;
}

.qh88-bar {
  height: 8px;
  border-radius: 999px;
  background: #f2ead9;
  overflow: hidden;
}

.qh88-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--gold));
}

.qh88-faq {
  display: grid;
  gap: 10px;
}

.qh88-faq details {
  padding: 0 0 10px;
  border-bottom: 1px solid #efe3ca;
}

.qh88-faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 900;
}

.qh88-faq summary::-webkit-details-marker {
  display: none;
}

.qh88-faq summary::after {
  content: "+";
  float: right;
  color: var(--orange);
}

.qh88-faq details[open] summary::after {
  content: "-";
}

.qh88-faq p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.qh88-footer {
  margin-top: 30px;
  padding: 34px 0 18px;
  color: rgba(255, 255, 255, .8);
  background: linear-gradient(135deg, #3f2205, #1b0f03);
}

.qh88-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
}

.qh88-footer-logo {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.qh88-footer h3 {
  margin-bottom: 10px;
  color: #fff;
  font-size: 17px;
}

.qh88-footer a {
  display: block;
  margin: 7px 0;
}

.qh88-copyright {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 14px;
}

.qh88-article-hero {
  color: #fff;
  background:
    radial-gradient(circle at 75% 30%, rgba(246, 178, 28, .28), transparent 30%),
    linear-gradient(135deg, #2e1602, #090603);
}

.qh88-article-hero .qh88-wrap {
  padding: 54px 0;
}

.qh88-article-hero h1 {
  max-width: 900px;
  margin-bottom: 12px;
  color: #fff;
  font-size: 40px;
  line-height: 1.18;
  overflow-wrap: break-word;
}

.qh88-article-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, .8);
  font-size: 18px;
}

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

.qh88-article-card {
  padding: 30px;
}

.qh88-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
  color: #7a8494;
  font-size: 14px;
}

.qh88-article-body h2 {
  margin: 28px 0 10px;
  font-size: 26px;
  line-height: 1.3;
}

.qh88-article-body h3 {
  margin: 22px 0 8px;
  font-size: 21px;
}

.qh88-article-body p {
  margin-bottom: 16px;
}

.qh88-article-body ul,
.qh88-article-body ol {
  padding-left: 22px;
}

.qh88-article-body li {
  margin-bottom: 8px;
}

.qh88-article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
}

.qh88-article-body th,
.qh88-article-body td {
  padding: 13px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.qh88-article-body th {
  width: 190px;
  background: #fff7e8;
}

.qh88-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.qh88-pagination li,
.qh88-pagination a,
.qh88-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
}

.qh88-related {
  padding: 22px;
}

.qh88-related h2 {
  margin-bottom: 14px;
  font-size: 21px;
}

.qh88-related a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid #efe3ca;
  color: #202838;
  font-weight: 800;
}

.qh88-related a:last-child {
  border-bottom: 0;
}

.qh88-related-line {
  padding: 12px 0;
  border-bottom: 1px solid #efe3ca;
  color: #202838;
  font-weight: 800;
}

.qh88-related-line a {
  display: inline;
  padding: 0;
  border-bottom: 0;
  color: var(--red);
}

@media (max-width: 980px) {
  .qh88-hero-grid,
  .qh88-content-grid,
  .qh88-article-layout,
  .qh88-two-col {
    grid-template-columns: 1fr;
  }

  .qh88-topic-grid,
  .qh88-flow-grid,
  .qh88-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qh88-hero h1 {
    font-size: 38px;
  }
}

@media (max-width: 720px) {
  .qh88-wrap {
    width: min(100% - 28px, 1180px);
  }

  .qh88-top .qh88-wrap {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .qh88-auth {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .qh88-auth .qh88-btn {
    width: 100%;
  }

  .qh88-brand-text strong {
    font-size: 28px;
  }

  .qh88-nav a {
    min-height: 50px;
    padding: 0 13px;
    font-size: 13px;
  }

  .qh88-hero-grid {
    min-height: auto;
    padding: 34px 0 42px;
    gap: 24px;
  }

  .qh88-hero h1 {
    font-size: 31px;
  }

  .qh88-hero p,
  .qh88-article-hero p {
    font-size: 16px;
  }

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

  .qh88-intro {
    text-align: left;
  }

  .qh88-news {
    padding: 18px 16px;
  }

  .qh88-section-title {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .qh88-thumb {
    min-height: 160px;
  }

  .qh88-topic-grid,
  .qh88-flow-grid,
  .qh88-footer-grid {
    grid-template-columns: 1fr;
  }

  .qh88-panel,
  .qh88-article-card {
    padding: 20px;
  }

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

  .qh88-article-hero h1 {
    font-size: 30px;
  }

  .qh88-article-hero .qh88-wrap {
    padding: 40px 0;
  }

  .qh88-article-body th,
  .qh88-article-body td {
    display: block;
    width: 100%;
  }

  .qh88-copyright {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .qh88-brand-mark {
    width: 46px;
    height: 42px;
  }

  .qh88-brand-text strong {
    font-size: 24px;
  }
}
