:root {
  --bg: #121212;
  --panel: #1a1a1a;
  --panel-soft: #1e1e1e;
  --panel-light: #252525;
  --gold: #ffcc00;
  --gold-deep: #e6b800;
  --red: #e60000;
  --red-deep: #cc0000;
  --text: #e0e0e0;
  --muted: #b0b0b0;
  --line: rgba(255, 255, 255, .08);
}

* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  color: var(--text);
  font-family: Arial, "Microsoft JhengHei", "Microsoft YaHei", sans-serif;
  background: var(--bg);
}
a { color: inherit; text-decoration: none; }
img, video, iframe { max-width: 100%; height: auto; }
body.is-navigating::before {
  content: "";
  position: fixed;
  left: 0;
  top: 0;
  z-index: 2147483647;
  width: 38%;
  height: 3px;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(90deg, var(--gold), var(--red));
  animation: nav-progress 1s ease-in-out infinite alternate;
  box-shadow: 0 0 18px rgba(255,204,0,.32);
}
@keyframes nav-progress {
  from { width: 28%; opacity: .72; }
  to { width: 72%; opacity: 1; }
}
a.is-link-touching,
a.is-link-loading {
  opacity: .72;
  transform: translateY(1px) scale(.99);
}
.pill.is-link-touching,
.pill.is-link-loading,
.home-demo-card.is-link-touching,
.home-demo-card.is-link-loading,
.offer-card.is-link-touching,
.offer-card.is-link-loading,
.visual-card.is-link-touching,
.visual-card.is-link-loading,
.demo-game-card.is-link-touching,
.demo-game-card.is-link-loading,
.post-card.is-link-touching,
.post-card.is-link-loading,
.home-quick-links a.is-link-touching,
.home-quick-links a.is-link-loading,
.home-trust-strip a.is-link-touching,
.home-trust-strip a.is-link-loading {
  filter: brightness(.92);
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--panel-soft);
  border-bottom: 1px solid var(--line);
}
.top-main {
  max-width: 1180px;
  height: 68px;
  margin: auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand { display: inline-flex; align-items: center; color: var(--gold); font-size: 28px; font-weight: 950; letter-spacing: .05em; }
.brand img { max-height: 46px; max-width: 220px; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 900;
  font-size: 13px;
  border: 1px solid transparent;
}
.pill.gold { color: #121212; background: var(--gold); }
.pill.gold:hover { background: var(--gold-deep); }
.pill.red { color: #fff; background: var(--red); }
.pill.red:hover { background: var(--red-deep); }
.pill.dark { color: var(--text); border-color: #333; background: var(--panel-light); }
.nav-bar { background: var(--panel-light); border-top: 1px solid #333; }
.nav-inner {
  max-width: 1180px;
  margin: auto;
  padding: 0 22px;
  display: flex;
  justify-content: center;
  overflow-x: auto;
}
.nav-inner a {
  display: block;
  padding: 14px 16px;
  color: var(--text);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}
.nav-inner a:hover, .nav-inner a.active { color: var(--gold); border-bottom-color: var(--gold); background: #333; }
.mobile-menu-btn, .mobile-menu-close { display: none; }
.mobile-drawer, .mobile-drawer-mask { display: none; }

.wrap { max-width: 1180px; margin: auto; padding: 34px 22px; }
.hero {
  display: grid;
  grid-template-columns: 1.45fr .85fr;
  gap: 22px;
  margin-bottom: 34px;
}
.hero-main, .panel, .card, .article-main, .side-box, .category-hero, .footer-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}
.hero-main {
  min-height: 330px;
  padding: 44px;
  background: linear-gradient(180deg, #1a1a1a 0%, #121212 100%);
  border-top: 4px solid var(--red);
}
.eyebrow {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 12px;
  border: 1px solid #333;
  border-radius: 999px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}
.hero h1 { margin: 0 0 16px; color: var(--gold); font-size: 44px; line-height: 1.14; }
.hero p { max-width: 720px; color: var(--muted); line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-side { display: grid; gap: 14px; }
.quick-card { padding: 18px; }
.quick-card h3 { margin: 0 0 8px; color: var(--gold); }
.quick-card p { margin: 0; color: var(--muted); line-height: 1.65; }

.activity-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-bottom: 18px;
  padding: 34px 38px;
  border-radius: 16px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  background:
    linear-gradient(90deg, rgba(230,0,0,.16), transparent 34%),
    linear-gradient(180deg, #1e1e1e 0%, #141414 100%);
}
.activity-copy h1 {
  max-width: 820px;
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 40px;
  line-height: 1.2;
}
.activity-copy p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}
.activity-actions {
  display: grid;
  gap: 12px;
  min-width: 170px;
}
.activity-actions .pill {
  min-height: 42px;
}

.home-player-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 18px;
  padding: 36px 38px;
  border: 1px solid rgba(255,204,0,.16);
  border-top: 4px solid var(--red);
  border-radius: 18px;
  background:
    radial-gradient(circle at 84% 15%, rgba(255,204,0,.16), transparent 30%),
    linear-gradient(90deg, rgba(230,0,0,.14), transparent 36%),
    linear-gradient(180deg, #1e1e1e 0%, #141414 100%);
}
.home-player-copy h1 {
  max-width: 820px;
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 42px;
  line-height: 1.18;
}
.home-player-copy p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}
.home-player-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.home-player-actions .pill { min-height: 44px; padding-inline: 20px; }
.home-benefit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.home-benefit-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 11px;
  border: 1px solid rgba(255,204,0,.28);
  border-radius: 999px;
  background: rgba(255,204,0,.07);
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}
.home-player-panel {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(0,0,0,.20);
}
.home-player-panel strong { color: var(--gold); font-size: 18px; }
.home-player-panel a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.055);
  color: var(--text);
  font-weight: 800;
}
.home-player-panel a:hover { color: #121212; background: var(--gold); }
.home-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}
.home-trust-strip a {
  display: grid;
  gap: 5px;
  min-height: 96px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}
.home-trust-strip span { color: var(--red); font-size: 12px; font-weight: 950; }
.home-trust-strip strong { color: var(--text); line-height: 1.45; }
.home-trust-strip a:hover { transform: translateY(-2px); border-color: rgba(255,204,0,.30); background: var(--panel-soft); }

.quick-entry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 34px;
}
.quick-entry {
  display: grid;
  gap: 6px;
  min-height: 126px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  transition: .18s ease;
}
.quick-entry:hover {
  transform: translateY(-2px);
  background: var(--panel-soft);
  border-color: #333;
}
.quick-entry span {
  color: var(--red);
  font-weight: 950;
  font-size: 13px;
}
.quick-entry strong {
  color: var(--text);
  font-size: 21px;
}
.quick-entry small {
  color: var(--muted);
  line-height: 1.55;
}
.quick-entry.offer {
  border-left: 4px solid var(--red);
}

.section { margin: 36px 0; }
.home-disclaimer-section { margin: 22px 0 4px; }
.home-disclaimer {
  max-width: 860px;
  margin: 0 auto;
  padding: 16px 20px;
}
.home-disclaimer h2 {
  margin: 0 0 8px;
  font-size: 22px;
}
.home-disclaimer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.section h2 { margin: 0; color: #fff; font-size: 28px; }
.section small { display: block; margin-top: 4px; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { display: block; padding: 18px; transition: .18s ease; }
.card:hover { transform: translateY(-2px); border-color: #333; background: var(--panel-soft); }
.card h3, .card h2 { margin: 0 0 10px; color: var(--gold); line-height: 1.45; }
.card p { margin: 0; color: var(--muted); line-height: 1.7; }
.meta { color: var(--gold); font-size: 12px; margin-bottom: 8px; }
.tag { display: inline-flex; border-radius: 999px; padding: 4px 9px; background: var(--gold); color: #121212; font-weight: 900; font-size: 12px; }

.promo-card {
  min-height: 220px;
  color: #fff;
  background: var(--panel-soft) !important;
  border-color: var(--line) !important;
}
.promo-card h3 { color: var(--gold); }
.promo-card p { color: var(--muted); font-weight: 650; }
.promo-card .tag { background: var(--gold); color: #121212; }

.category-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.category-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
}
.category-chip:hover { background: var(--panel-soft); border-color: #333; }
.category-chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 24px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}
.category-chip strong { color: var(--text); font-size: 15px; }

.home-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.home-card-grid.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.home-demo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.home-demo-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  transition: .18s ease;
}
.home-demo-card:hover { transform: translateY(-2px); border-color: rgba(255,204,0,.34); background: var(--panel-soft); }
.home-demo-thumb {
  position: relative;
  display: block;
  aspect-ratio: 1.28 / 1;
  overflow: hidden;
  background: #0d0d0d;
  border-bottom: 1px solid var(--line);
}
.home-demo-thumb span {
  position: absolute;
  inset: -18px;
  background-position: center;
  background-size: cover;
  filter: blur(18px);
  opacity: .25;
  transform: scale(1.08);
}
.home-demo-thumb img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}
.home-demo-thumb em {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: none;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-style: normal;
  font-size: 11px;
  font-weight: 950;
}
.home-demo-card.is-top .home-demo-thumb em { display: inline-flex; }
.home-demo-body { display: flex; flex: 1; flex-direction: column; padding: 14px; }
.home-demo-body h3 { margin: 0 0 8px; color: var(--gold); font-size: 18px; line-height: 1.35; }
.home-demo-body p {
  display: -webkit-box;
  margin: 0 0 13px;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.home-demo-body strong { margin-top: auto; color: #121212; background: var(--gold); border-radius: 999px; padding: 8px 12px; text-align: center; }
.home-brand-section {
  margin: 30px 0;
}
.home-brand-compact {
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr);
  gap: 20px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 18% 18%, rgba(230,0,0,.16), transparent 34%),
    radial-gradient(circle at 88% 0, rgba(255,204,0,.12), transparent 30%),
    var(--panel);
}
.home-brand-copy { min-width: 0; }
.home-brand-copy h2 { margin: 0 0 10px; color: var(--gold); font-size: 26px; }
.home-brand-copy p { margin: 0 0 14px; color: var(--muted); line-height: 1.65; }
.home-quick-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}
.home-quick-links a {
  display: grid;
  gap: 5px;
  min-height: 76px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
}
.home-quick-links a:hover { border-color: rgba(255,204,0,.32); background: rgba(255,255,255,.055); }
.home-quick-links span { color: var(--gold); font-weight: 950; }
.home-quick-links strong { color: var(--text); font-size: 14px; line-height: 1.45; }
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.offer-card {
  display: block;
  overflow: hidden;
  min-height: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  transition: .18s ease;
}
.offer-card:hover {
  transform: translateY(-2px);
  background: var(--panel-soft);
  border-color: #333;
}
.offer-card img {
  display: block;
  width: 100%;
  aspect-ratio: 2.45 / 1;
  object-fit: cover;
  background: #111;
}
.offer-card-body {
  padding: 14px 16px 16px;
}
.offer-card h3 {
  margin: 8px 0 12px;
  color: var(--gold);
  font-size: 20px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.offer-card strong {
  display: inline-flex;
  border-radius: 999px;
  padding: 7px 13px;
  background: var(--gold);
  color: #121212;
  font-size: 13px;
}
.visual-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  transition: .18s ease;
}
.visual-card:hover { transform: translateY(-2px); background: var(--panel-soft); border-color: #333; }
.visual-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.65 / 1;
  object-fit: cover;
  background: #111;
}
.visual-card-body { padding: 13px 14px 15px; }
.visual-card-body .tag { margin-bottom: 9px; }
.visual-card-body h3 {
  margin: 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.visual-card:hover h3 { color: var(--gold); }
.home-card-grid.compact .visual-card img { aspect-ratio: 1.35 / 1; }
.home-card-grid.compact .visual-card-body h3 { font-size: 15px; }

.category-hero { padding: 28px; margin-bottom: 24px; }
.category-hero h1 { color: var(--gold); margin: 0 0 10px; font-size: 34px; }
.category-hero p { color: var(--muted); line-height: 1.8; }
.category-top-pick { margin: 0 0 24px; }
.category-top-card {
  display: grid;
  grid-template-columns: minmax(240px, 380px) minmax(0, 1fr);
  gap: 22px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(255,204,0,.22);
  border-left: 4px solid var(--red);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,204,0,.10), rgba(230,0,0,.08), var(--panel));
}
.category-top-card img {
  display: block;
  width: 100%;
  min-height: 220px;
  max-height: 300px;
  object-fit: cover;
  border-radius: 14px;
  background: #111;
}
.category-top-card h2 { margin: 0 0 12px; color: var(--gold); font-size: 30px; line-height: 1.28; }
.category-top-card p { margin: 0 0 18px; color: var(--muted); line-height: 1.75; }
.category-top-card strong {
  display: inline-flex;
  border-radius: 999px;
  padding: 9px 16px;
  background: var(--gold);
  color: #121212;
  font-weight: 900;
}
.child-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -8px 0 22px;
}
.child-filter a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}
.child-filter a:hover,
.child-filter a.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #121212;
}
.category-layout { display: grid; grid-template-columns: 2fr .86fr; gap: 24px; align-items: start; }
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.post-card { display: block; overflow: hidden; padding: 0; }
.post-card img { width: 100%; height: 190px; object-fit: cover; background: #111; }
.post-body { padding: 18px; }
.post-body h2 { color: var(--gold); font-size: 20px; line-height: 1.42; margin: 0 0 10px; }
.post-body p { color: var(--muted); line-height: 1.7; margin: 0 0 12px; }
.sidebar { position: sticky; top: 128px; display: grid; gap: 18px; }
.side-box { padding: 18px; }
.side-box h3 { margin: 0 0 14px; color: var(--gold); }
.side-row, .side-item { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.side-row:hover, .side-item:hover { color: var(--gold); }
.pagination { display: flex; gap: 8px; margin-top: 22px; }
.pagination a { min-width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 8px; color: #ddd; }
.pagination a.active, .pagination a:hover { background: var(--gold); color: #160d00; }

.breadcrumb { display: inline-flex; gap: 8px; align-items: center; max-width: 100%; margin: 0 0 18px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--muted); font-size: 13px; }
.breadcrumb a { color: var(--text); }
.article-layout { display: grid; grid-template-columns: 2fr .86fr; gap: 28px; align-items: start; }
.article-main { padding: 30px 34px; }
.article-title { margin: 8px 0 14px; color: var(--gold); font-size: 34px; line-height: 1.35; }
.article-meta { margin: 0 0 22px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel-light); color: var(--muted); font-size: 14px; }
.article-summary { margin: 0 0 28px; padding: 18px 20px; border-left: 4px solid var(--red); border-radius: 10px; background: var(--panel-light); color: var(--gold); font-size: 20px; line-height: 1.75; font-weight: 800; }
.article-cover-hero {
  overflow: hidden;
  margin: 0 0 24px;
  border: 1px solid rgba(255,204,0,.16);
  border-radius: 16px;
  background: #101010;
}
.article-cover-hero img {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: cover;
}
.article-demo-box { margin: 0 0 28px; padding: 18px 20px; border: 1px solid rgba(214,178,77,.35); border-radius: 16px; background: linear-gradient(135deg, rgba(214,178,77,.14), rgba(255,255,255,.03)); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.article-demo-box p { margin: 6px 0 0; color: var(--muted); line-height: 1.7; }
.article-demo-box button { cursor: pointer; }
.demo-frame-wrap { width: 100%; max-width: 100%; margin: 24px 0; background: #111; }
.demo-placeholder { display: grid; place-items: center; min-height: 300px; padding: 28px; text-align: center; border: 1px solid rgba(255,204,0,.18); border-radius: 16px; background: linear-gradient(135deg, rgba(255,204,0,.12), rgba(255,255,255,.03)); }
.demo-placeholder h3 { margin: 0 0 10px; color: var(--gold); font-size: 28px; }
.demo-placeholder p { max-width: 520px; margin: 0 0 20px; color: var(--muted); line-height: 1.8; }
.demo-start { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; background: var(--gold); color: #121212; font-weight: 900; font-size: 18px; padding: 13px 28px; cursor: pointer; }
.demo-fallback { margin: 0 0 24px; color: var(--muted); }
.demo-fallback a { color: var(--gold); font-weight: 800; }
.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0,0,0,.72);
}
.demo-modal.open { display: flex; }
.demo-modal-card {
  position: relative;
  overflow: hidden;
  width: min(1180px, 100%);
  height: min(760px, calc(100vh - 44px));
  border: 1px solid rgba(255,204,0,.22);
  border-radius: 18px;
  background: #0d0d0d;
  box-shadow: 0 24px 80px rgba(0,0,0,.48);
}
.demo-modal-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: auto;
}
.demo-frame,
.demo-modal-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #111;
}
.demo-modal-close {
  position: fixed;
  top: 28px;
  right: 28px;
  z-index: 2147483647;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  background: rgba(0,0,0,.75);
  color: #fff;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}
.demo-loading { display: flex; align-items: center; justify-content: center; min-height: 100%; padding: 24px; color: #ccc; text-align: center; }
.demo-loading-error { color: #f88; }
html.demo-modal-lock,
body.demo-modal-lock {
  overflow: hidden;
  touch-action: none;
}
.article-content { padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg, rgba(255,255,255,.04), rgba(255,255,255,.015)); color: var(--text); line-height: 1.92; overflow-wrap: anywhere; }
.article-content h2, .article-content h3 {
  margin: 34px 0 16px;
  padding-left: 12px;
  border-left: 4px solid var(--red);
  color: var(--gold);
  line-height: 1.35;
}
.article-content h2:first-child,
.article-content h3:first-child { margin-top: 0; }
.article-content p { margin: 0 0 18px; color: #d8d8d8; font-size: 17px; line-height: 1.9; }
.article-content p + p { margin-top: 6px; }
.article-content img {
  display: block;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain;
  margin: 20px auto 24px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: #0d0d0d;
}
.article-content table {
  width: 100%;
  margin: 20px 0 24px;
  overflow: hidden;
  border: 1px solid rgba(255,204,0,.18);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 14px;
  background: rgba(0,0,0,.18);
}
.article-content th,
.article-content td {
  padding: 13px 15px;
  border-right: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
  text-align: left;
  vertical-align: top;
  line-height: 1.65;
}
.article-content th:last-child,
.article-content td:last-child { border-right: 0; }
.article-content tr:last-child th,
.article-content tr:last-child td { border-bottom: 0; }
.article-content th {
  color: #121212;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  font-weight: 950;
}
.article-content tbody tr:nth-child(even) td { background: rgba(255,255,255,.025); }
.article-content tbody tr:hover td { background: rgba(255,204,0,.055); }
.article-content td strong,
.article-content td b {
  color: var(--gold);
}
.article-content ul,
.article-content ol {
  margin: 14px 0 22px;
  padding-left: 0;
  list-style: none;
}
.article-content li {
  position: relative;
  margin: 0 0 10px;
  padding: 12px 14px 12px 36px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  background: rgba(255,255,255,.025);
}
.article-content li::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 1.35em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(255,204,0,.35);
}
.article-content h2 + ul,
.article-content h3 + ul,
.article-content h2 + ol,
.article-content h3 + ol {
  margin-top: 10px;
}
.sponsor-page {
  display: grid;
  gap: 22px;
}
.sponsor-intro {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel-light);
}
.sponsor-intro h2 {
  margin-top: 0;
  color: var(--gold);
}
.sponsor-list {
  display: grid;
  gap: 26px;
}
.sponsor-card {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.sponsor-card:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.sponsor-card h3 {
  color: #2ee6ff;
  margin-top: 0;
}
.sponsor-card video,
.sponsor-video {
  display: block;
  width: 100%;
  max-height: 620px;
  margin: 14px 0;
  border-radius: 16px;
  background: #0a062d;
}
.sponsor-video {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.sponsor-video img {
  display: block;
  width: 100%;
  height: auto;
}
.sponsor-video button {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  background: var(--gold);
  color: #121212;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  cursor: pointer;
}
.sponsor-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0,0,0,.06), rgba(0,0,0,.24));
  pointer-events: none;
}
.sponsor-video button {
  z-index: 1;
}
.sponsor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.sponsor-tags span {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 10px;
  color: #fff;
  background: #1699ad;
  font-size: 12px;
  font-weight: 800;
}
.sponsor-tags span:nth-child(odd) {
  background: #dd562e;
}
.article-nav { display: grid; gap: 10px; margin-top: 22px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel-light); }
.article-nav a:hover { color: var(--gold); }

.partners {
  max-width: 1180px;
  margin: 0 auto 18px;
  padding: 0 22px;
}
.partners-box {
  max-width: 820px;
  margin: 0 auto;
  padding: 16px 26px 18px;
  background: #121212;
  text-align: center;
}
.partners-box h2 {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 24px;
  letter-spacing: .08em;
}
.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}
.partners-logos img {
  display: block;
  width: 116px;
  height: 64px;
  object-fit: contain;
  background: #080808;
  filter: grayscale(.08);
}

.footer { border-top: 1px solid var(--line); margin-top: 0; padding: 28px 22px 18px; color: var(--muted); background: #1a1a1a; }
.footer-inner { max-width: 1180px; margin: auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.hh88-footer-grid {
  gap: 70px;
  padding: 0 10px 28px;
}
.footer-section {
  padding-top: 4px;
}
.footer h4 { color: var(--gold); margin: 0 0 20px; font-size: 20px; }
.footer a { display: block; color: var(--muted); margin: 0 0 14px; }
.footer a:hover { color: var(--gold); }
.footer-info p {
  margin: 0 0 13px;
  color: var(--muted);
  line-height: 1.65;
}
.footer-info a {
  display: inline;
  margin: 0;
  color: var(--gold);
}
.copyright { max-width: 1180px; margin: 0 auto; padding-top: 18px; border-top: 1px solid var(--line); text-align: center; color: #777; }
.mobile-page-bar,
.mobile-demo-action-bar { display: none; }

.demo-zone-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 22px;
  padding: 36px 38px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 12%, rgba(255,204,0,.18), transparent 30%),
    linear-gradient(135deg, rgba(230,0,0,.18), rgba(26,26,26,.96) 42%, #121212);
}
.demo-zone-hero h1 { margin: 0 0 12px; color: var(--gold); font-size: 42px; line-height: 1.15; }
.demo-zone-hero p { max-width: 760px; margin: 0; color: var(--muted); line-height: 1.8; }
.demo-zone-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.demo-search-panel {
  margin: 0 0 28px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}
.demo-search-panel form {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 220px auto;
  gap: 12px;
  align-items: end;
}
.demo-search-panel label span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.demo-search-panel input,
.demo-search-panel select {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #333;
  border-radius: 10px;
  background: #111;
  color: var(--text);
}
.demo-search-panel select option { background: #111; color: var(--text); }
.demo-featured-pick { margin: 0 0 30px; }
.demo-featured-card {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: 22px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(255,204,0,.26);
  border-top: 4px solid var(--red);
  border-radius: 20px;
  background:
    radial-gradient(circle at 86% 16%, rgba(255,204,0,.18), transparent 28%),
    linear-gradient(135deg, rgba(255,204,0,.08), rgba(230,0,0,.08), var(--panel));
}
.demo-featured-thumb {
  position: relative;
  display: block;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #0d0d0d;
}
.demo-featured-thumb span {
  position: absolute;
  inset: -18px;
  background-position: center;
  background-size: cover;
  filter: blur(18px);
  opacity: .28;
  transform: scale(1.08);
}
.demo-featured-thumb img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}
.demo-featured-body { display: flex; min-width: 0; flex-direction: column; justify-content: center; }
.demo-featured-body h2 { margin: 0 0 12px; color: var(--gold); font-size: 34px; line-height: 1.22; }
.demo-featured-body p { margin: 0 0 18px; color: var(--muted); line-height: 1.75; }
.demo-featured-body strong {
  display: inline-flex;
  align-self: flex-start;
  border-radius: 999px;
  padding: 10px 18px;
  background: var(--gold);
  color: #121212;
  font-weight: 950;
}
.demo-game-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.demo-game-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  transition: .18s ease;
}
.demo-game-card:hover { transform: translateY(-2px); border-color: rgba(255,204,0,.36); background: var(--panel-soft); }
.demo-game-thumb {
  position: relative;
  display: block;
  aspect-ratio: 1.28 / 1;
  overflow: hidden;
  background: #0d0d0d;
  border-bottom: 1px solid var(--line);
}
.demo-game-thumb span,
.demo-cover-card span {
  position: absolute;
  inset: -18px;
  background-position: center;
  background-size: cover;
  filter: blur(18px);
  opacity: .26;
  transform: scale(1.08);
}
.demo-game-thumb img,
.demo-cover-card img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}
.demo-game-thumb em {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: none;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-style: normal;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .04em;
  box-shadow: 0 8px 18px rgba(0,0,0,.28);
}
.demo-game-card.is-top .demo-game-thumb em { display: inline-flex; }
.demo-game-body { display: flex; flex: 1; flex-direction: column; padding: 14px; }
.demo-game-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 9px; }
.demo-game-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border: 1px solid rgba(255,204,0,.26);
  border-radius: 999px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
}
.demo-game-body h2 { margin: 0 0 8px; color: var(--gold); font-size: 18px; line-height: 1.35; }
.demo-game-body p {
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.demo-game-body strong { margin-top: auto; color: #121212; background: var(--gold); border-radius: 999px; padding: 8px 12px; text-align: center; }
.demo-article-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 26px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background-position: center;
  background-size: cover;
}
.demo-article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18,18,18,.96), rgba(18,18,18,.82) 48%, rgba(18,18,18,.94)),
    radial-gradient(circle at 80% 10%, rgba(255,204,0,.16), transparent 34%);
  backdrop-filter: blur(12px);
}
.demo-article-hero > * { position: relative; z-index: 1; }
.demo-article-hero-inner {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}
.demo-cover-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid rgba(255,204,0,.22);
  border-radius: 18px;
  background: #0d0d0d;
}
.demo-hero-copy { display: flex; min-width: 0; flex-direction: column; justify-content: center; }
.demo-hero-copy h1 { margin: 0 0 12px; color: var(--gold); font-size: 42px; line-height: 1.18; }
.demo-hero-copy p { margin: 0 0 16px; color: var(--muted); line-height: 1.75; font-size: 17px; }
.demo-article-page .article-demo-box { margin: 18px 0 0; }
.demo-content-layout .article-main { padding: 0; background: transparent; border: 0; box-shadow: none; }
.demo-note-box {
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(255,204,0,.18);
  border-radius: 14px;
  background: var(--panel);
}
.demo-note-box h2 { margin: 0 0 8px; color: var(--gold); }
.demo-note-box p { margin: 0; color: var(--muted); line-height: 1.75; }
.demo-side-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}
.demo-side-item img { width: 64px; height: 52px; object-fit: contain; border-radius: 8px; background: #111; }
.demo-side-item span { display: block; color: var(--text); font-weight: 800; }
.demo-side-item small { color: var(--muted); }

@media (max-width: 900px) {
  .hero, .category-layout, .article-layout, .footer-inner { grid-template-columns: 1fr; }
  .category-top-card, .demo-featured-card { grid-template-columns: 1fr; }
  .demo-game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-article-hero-inner { grid-template-columns: 1fr; }
  .activity-hero { grid-template-columns: 1fr; }
  .home-player-hero { grid-template-columns: 1fr; }
  .home-trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-demo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-brand-compact { grid-template-columns: 1fr; }
  .activity-actions { display: flex; flex-wrap: wrap; }
  .quick-entry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid3 { grid-template-columns: 1fr; }
  .home-card-grid, .home-card-grid.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sidebar { position: static; }
  .post-grid { grid-template-columns: 1fr; }
  .hh88-footer-grid { gap: 24px; border-left: 0; border-right: 0; }
}
@media (max-width: 640px) {
  .top {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 80;
  }
  .top-main { height: 74px; display: grid; grid-template-columns: 44px 1fr auto; grid-template-rows: 1fr; padding: 0 12px; }
  .mobile-menu-btn { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 0; background: transparent; color: #fff; font-size: 28px; }
  .brand { grid-column: 2; justify-content: center; font-size: 24px; }
  .brand img { max-height: 48px; max-width: 174px; }
  .top-actions { grid-column: 3; grid-row: 1; justify-content: flex-end; padding: 0; }
  .top-actions .pill { min-width: 0; padding: 8px 13px; font-size: 13px; }
  .top-actions .pill.red { display: none; }
  .nav-bar { display: none; }
  .mobile-drawer-mask { position: fixed; inset: 0; z-index: 120; background: rgba(0,0,0,.58); }
  .mobile-drawer { position: fixed; inset: 0 auto 0 0; z-index: 121; width: 78%; max-width: 320px; padding: calc(env(safe-area-inset-top, 0px) + 18px) 18px 18px; background: var(--panel); border-right: 1px solid var(--line); transform: translateX(-105%); transition: .2s; }
  .mobile-drawer.open { display: block; transform: translateX(0); }
  .mobile-drawer-mask.open { display: block; }
  .mobile-drawer-head { display: flex; justify-content: space-between; align-items: center; min-height: 48px; margin-bottom: 14px; color: var(--gold); font-weight: 900; }
  .mobile-drawer-head .brand,
  .mobile-drawer-head strong { display: inline-flex; align-items: center; min-width: 0; }
  .mobile-drawer-head img { display: block; max-width: 170px; max-height: 44px; object-fit: contain; }
  .mobile-menu-close { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 0; border-radius: 8px; background: rgba(255,255,255,.08); color: #fff; font-size: 24px; }
  .mobile-drawer-nav a { display: block; padding: 13px 8px; border-bottom: 1px solid var(--line); color: var(--text); }
  .wrap { padding: 92px 10px 18px; }
  .wrap.mobile-subpage,
  .wrap.demo-category-page,
  .wrap.demo-article-page { padding-top: 132px; }
  .mobile-page-bar {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    z-index: 70;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    align-items: center;
    margin: 0;
    padding: 9px 10px;
    border-bottom: 1px solid var(--line);
    background: rgba(18,18,18,.94);
    backdrop-filter: blur(10px);
  }
  .mobile-page-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255,255,255,.08);
    color: #fff;
    font-size: 30px;
    line-height: 1;
  }
  .mobile-page-bar strong {
    overflow: hidden;
    color: #fff;
    font-size: 17px;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .demo-category-page > .breadcrumb,
  .demo-article-page .demo-article-hero > .breadcrumb,
  main.wrap > .breadcrumb,
  .article-main > .breadcrumb { display: none; }
  .activity-hero { padding: 22px 16px; margin-bottom: 12px; }
  .home-player-hero {
    margin-bottom: 12px;
    padding: 20px 16px;
    border-radius: 16px;
  }
  .home-player-copy h1 { font-size: 28px; line-height: 1.22; }
  .home-player-copy p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .home-player-actions { display: grid; grid-template-columns: 1fr; gap: 9px; margin-top: 16px; }
  .home-player-actions .pill { min-height: 42px; }
  .home-benefit-tags { gap: 6px; margin-top: 12px; }
  .home-benefit-tags span { min-height: 28px; padding: 5px 9px; font-size: 11px; }
  .home-player-panel { display: none; }
  .home-trust-strip { gap: 9px; margin-bottom: 20px; }
  .home-trust-strip a { min-height: 78px; padding: 12px; }
  .home-trust-strip span { font-size: 11px; }
  .home-trust-strip strong { font-size: 14px; }
  .activity-copy h1 { font-size: 28px; }
  .activity-copy p { font-size: 14px; line-height: 1.65; }
  .activity-actions { display: grid; grid-template-columns: 1fr 1fr; min-width: 0; }
  .quick-entry-grid { grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 24px; }
  .quick-entry { min-height: 112px; padding: 14px; }
  .quick-entry strong { font-size: 17px; }
  .hero-main { min-height: 0; padding: 20px 16px; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15px; line-height: 1.7; }
  .hero-side { display: none; }
  .grid, .grid2 { grid-template-columns: 1fr; }
  .home-card-grid, .home-card-grid.compact { grid-template-columns: 1fr; gap: 12px; }
  .offer-grid { grid-template-columns: 1fr; gap: 12px; }
  .home-demo-grid { grid-template-columns: 1fr; gap: 12px; }
  .home-demo-card {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    min-height: 150px;
    border-radius: 16px;
  }
  .home-demo-thumb { height: 100%; aspect-ratio: auto; border-right: 1px solid var(--line); border-bottom: 0; }
  .home-demo-body { padding: 12px; }
  .home-demo-body h3 {
    display: -webkit-box;
    margin-bottom: 6px;
    overflow: hidden;
    font-size: 17px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .home-demo-body p { margin-bottom: 10px; font-size: 13px; line-height: 1.45; -webkit-line-clamp: 2; }
  .home-demo-body strong { width: max-content; padding: 6px 11px; font-size: 12px; }
  .home-brand-section { margin: 22px 0; }
  .home-brand-compact { gap: 14px; padding: 16px; border-radius: 16px; }
  .home-brand-copy h2 { font-size: 22px; }
  .home-brand-copy p { font-size: 14px; line-height: 1.6; }
  .home-quick-links { grid-template-columns: 1fr 1fr; gap: 8px; }
  .home-quick-links a { min-height: 68px; padding: 11px 12px; }
  .home-quick-links span { font-size: 13px; }
  .home-quick-links strong { font-size: 12px; line-height: 1.35; }
  .offer-card { min-height: 0; }
  .offer-card img { aspect-ratio: 2.2 / 1; }
  .offer-card-body { padding: 13px 14px 15px; }
  .offer-card h3 { font-size: 17px; margin: 10px 0 8px; }
  .visual-card { display: grid; grid-template-columns: 126px minmax(0, 1fr); min-height: 118px; }
  .visual-card img { height: 100%; aspect-ratio: auto; }
  .visual-card-body { padding: 11px 12px; }
  .visual-card-body h3 { font-size: 15px; -webkit-line-clamp: 3; }
  .category-chip-grid { gap: 9px; }
  .category-chip { min-height: 42px; padding: 8px 12px; }
  .category-hero {
    margin-bottom: 14px;
    padding: 16px;
    border-radius: 16px;
  }
  .category-hero h1 { margin-bottom: 6px; font-size: 26px; line-height: 1.25; }
  .category-hero p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .child-filter { gap: 8px; margin: 0 0 14px; overflow-x: auto; flex-wrap: nowrap; }
  .child-filter a { flex: 0 0 auto; min-height: 34px; padding: 7px 12px; font-size: 13px; }
  .section { margin: 24px 0; }
  .home-disclaimer-section { margin: 16px 0 4px; }
  .home-disclaimer { padding: 14px 14px; }
  .home-disclaimer h2 { font-size: 20px; }
  .home-disclaimer p { font-size: 13px; line-height: 1.6; }
  .section-head { align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.035); }
  .section h2 { font-size: 22px; }
  .article-main { padding: 14px 12px; }
  .article-layout { gap: 14px; }
  .article-title {
    display: -webkit-box;
    margin: 0 0 10px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }
  .article-meta {
    margin-bottom: 12px;
    padding: 8px 10px;
    border-radius: 9px;
    font-size: 12px;
    line-height: 1.55;
  }
  .article-summary {
    margin-bottom: 14px;
    padding: 12px 13px;
    border-left-width: 3px;
    border-radius: 9px;
  }
  .article-cover-hero {
    margin-bottom: 14px;
    border-radius: 12px;
  }
  .article-cover-hero img {
    max-height: 230px;
  }
  .article-nav { margin-top: 14px; padding: 12px; }
  .side-box { padding: 14px; }
  .side-box h3 { margin-bottom: 8px; font-size: 18px; }
  .side-row, .side-item { padding: 8px 0; font-size: 14px; }
  .post-grid { gap: 12px; }
  .post-card {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    min-height: 128px;
    border-radius: 16px;
  }
  .post-card img {
    width: 128px;
    height: 100%;
    min-height: 128px;
    object-fit: cover;
  }
  .post-body { min-width: 0; padding: 12px; }
  .post-body .meta { margin-bottom: 5px; font-size: 11px; }
  .post-body h2 {
    display: -webkit-box;
    margin-bottom: 6px;
    overflow: hidden;
    font-size: 16px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .post-body p {
    display: -webkit-box;
    margin-bottom: 8px;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .post-body .tag { padding: 4px 8px; font-size: 11px; }
  .category-top-card { padding: 14px; }
  .category-top-card img { min-height: 180px; }
  .category-top-card h2, .demo-featured-body h2 { font-size: 24px; }
  .article-title { font-size: 25px; line-height: 1.32; }
  .article-summary { font-size: 17px; padding: 13px; }
  .article-content { padding: 15px 13px; border-radius: 14px; }
  .article-content h2,
  .article-content h3 {
    margin: 24px 0 12px;
    padding-left: 10px;
    font-size: 21px;
  }
  .article-content p { font-size: 16px; line-height: 1.82; }
  .article-content img {
    margin: 16px auto 18px;
    border-radius: 12px;
  }
  .article-content table {
    display: block;
    width: 100%;
    overflow-x: auto;
    border-radius: 12px;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .article-content th,
  .article-content td {
    min-width: 132px;
    padding: 11px 12px;
    font-size: 14px;
    line-height: 1.55;
  }
  .article-content li {
    padding: 10px 12px 10px 32px;
    font-size: 15px;
    line-height: 1.65;
  }
  .article-content li::before {
    left: 13px;
  }
  .footer-inner { grid-template-columns: 1fr; }
  .demo-category-page { padding-top: 18px; }
  .demo-zone-hero {
    margin-bottom: 12px;
    padding: 16px 16px 18px;
    border-radius: 16px;
  }
  .demo-zone-hero h1, .demo-hero-copy h1 { font-size: 30px; }
  .demo-zone-hero .eyebrow { margin-bottom: 10px; }
  .demo-zone-hero p { display: none; }
  .demo-zone-actions { margin-top: 12px; gap: 8px; }
  .demo-zone-actions .pill { min-height: 38px; padding: 8px 14px; font-size: 13px; }
  .demo-search-panel { padding: 13px; }
  .demo-search-panel form { grid-template-columns: 1fr; }
  .demo-search-panel { margin-bottom: 14px; }
  .demo-search-panel label span { margin-bottom: 4px; font-size: 12px; }
  .demo-search-panel input,
  .demo-search-panel select { min-height: 40px; padding: 8px 11px; font-size: 14px; }
  .demo-search-panel button { min-height: 40px; }
  .demo-featured-card { padding: 14px; }
  .demo-featured-thumb { min-height: 220px; }
  .demo-game-grid { grid-template-columns: 1fr; gap: 12px; }
  .demo-game-card { display: grid; grid-template-columns: 130px minmax(0, 1fr); min-height: 150px; }
  .demo-game-thumb { height: 100%; aspect-ratio: auto; border-right: 1px solid var(--line); border-bottom: 0; }
  .demo-game-body { padding: 12px; }
  .demo-game-body h2 { font-size: 17px; }
  .demo-game-body p { -webkit-line-clamp: 2; font-size: 13px; }
  .demo-article-hero { padding: 14px; border-radius: 16px; }
  .demo-article-page { padding-bottom: 86px; }
  .demo-article-hero { margin-bottom: 14px; }
  .demo-article-hero-inner { gap: 12px; }
  .demo-cover-card { min-height: 0; height: 210px; }
  .demo-cover-card img { padding: 8px; }
  .demo-hero-copy .eyebrow { margin-bottom: 8px; }
  .demo-hero-copy h1 {
    display: -webkit-box;
    margin-bottom: 8px;
    overflow: hidden;
    font-size: 26px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .demo-hero-copy p {
    display: -webkit-box;
    margin-bottom: 10px;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .demo-article-page .demo-game-meta { gap: 5px; margin-bottom: 10px; }
  .demo-article-page .demo-game-meta span { padding: 3px 7px; font-size: 10px; }
  .demo-article-page .demo-frame-wrap { margin: 10px 0 0; }
  .demo-article-page .demo-placeholder {
    min-height: 0;
    padding: 12px;
    border-radius: 14px;
  }
  .demo-article-page .demo-placeholder h3,
  .demo-article-page .demo-placeholder p { display: none; }
  .demo-article-page .demo-start { min-height: 44px; font-size: 16px; }
  .demo-article-page .demo-fallback { display: none; }
  .mobile-demo-action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: block;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--line);
    background: rgba(18,18,18,.94);
    backdrop-filter: blur(12px);
  }
  .mobile-demo-play {
    width: 100%;
    min-height: 46px;
    border: 0;
    border-radius: 14px;
    background: var(--gold);
    color: #121212;
    font-size: 17px;
    font-weight: 950;
  }
  .partners { margin: 0 auto 12px; padding: 0 10px; }
  .partners-box { padding: 14px 10px; }
  .partners-box h2 { font-size: 20px; margin-bottom: 10px; }
  .partners-logos { gap: 12px; }
  .partners-logos img { width: 92px; height: 50px; }
}
@media (max-width: 760px) {
  .demo-placeholder { min-height: 260px; padding: 22px 16px; }
  .demo-placeholder h3 { font-size: 24px; }
  .demo-placeholder p { font-size: 14px; line-height: 1.7; }
  .demo-start { width: 100%; font-size: 17px; }
  .demo-fallback { font-size: 14px; line-height: 1.6; }
  .demo-modal {
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
    background: #000;
  }
  .demo-modal-card {
    width: 100%;
    height: 100%;
    max-height: 100%;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .demo-modal-frame,
  .demo-modal-frame iframe {
    height: 100%;
  }
  .demo-modal-close {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 12px);
    right: 12px;
    width: 48px;
    height: 48px;
    z-index: 2147483647;
    background: rgba(0,0,0,.78);
    font-size: 32px;
  }
}
