/*
Theme Name:   Peatgel Game
Theme URI:    https://game.peatgel.com/
Description:  Independent Modern Flat Gaming Portal Theme for Game.Peatgel.Com
Author:       Peatgel Engineering
Version:      1.0.0
Text Domain:  peatgel-game
*/

:root {
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --surface-2: #F1F5F9;
  --text: #0F172A;
  --text-muted: #475569;
  --text-soft: #64748B;
  --border: #E2E8F0;
  --primary: #2563EB;
  --primary-hover: #1D4ED8;
  --primary-soft: #EFF6FF;
  --emerald: #10B981;
  --emerald-hover: #059669;
  --emerald-soft: #ECFDF5;
  --amber: #D97706;
  --amber-soft: #FEF3C7;
  --dark-bar: #0F172A;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
}

[data-theme="dark"] {
  --bg: #0B1120;
  --surface: #111827;
  --surface-2: #1E293B;
  --text: #F8FAFC;
  --text-muted: #CBD5E1;
  --text-soft: #94A3B8;
  --border: #1E293B;
  --primary: #3B82F6;
  --primary-hover: #2563EB;
  --primary-soft: rgba(59, 130, 246, 0.14);
  --emerald: #10B981;
  --emerald-hover: #059669;
  --emerald-soft: rgba(16, 185, 129, 0.14);
  --amber: #F59E0B;
  --amber-soft: rgba(245, 158, 11, 0.14);
  --dark-bar: #020617;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease; }
a:hover { color: var(--primary-hover); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }

.pg-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Utility Bar */
.pg-topbar {
  background: var(--dark-bar);
  color: #CBD5E1;
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.pg-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 36px;
  flex-wrap: wrap;
}
.pg-topbar-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.pg-dot-live {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--emerald);
  display: inline-block;
}
.pg-topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.pg-topbar-actions a {
  color: #CBD5E1;
  font-weight: 500;
}
.pg-topbar-actions a:hover { color: #FFFFFF; }
.pg-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.08);
  padding: 2px 6px;
  border-radius: 6px;
}
.pg-lang-switch a {
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 700;
}
.pg-lang-switch a.active {
  background: var(--primary);
  color: #FFFFFF;
}
.pg-theme-btn {
  background: rgba(255,255,255,0.1);
  color: #F8FAFC;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.pg-theme-btn:hover { background: rgba(255,255,255,0.2); }

/* Main Flat Sticky Header */
.pg-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.pg-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}
.pg-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--text);
}
.pg-brand:hover { color: var(--text); }
.pg-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.pg-brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--text);
}
.pg-brand-name span { color: var(--primary); }
.pg-brand-sub {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--text-soft);
  text-transform: uppercase;
}

.pg-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.pg-nav::-webkit-scrollbar { display: none; }
.pg-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}
.pg-nav li { position: relative; }
.pg-nav a {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.pg-nav a:hover,
.pg-nav li.current-menu-item > a {
  background: var(--primary-soft);
  color: var(--primary);
}
/* Hide dropdown sub-menus from flat top bar to keep clean single-row flat header */
.pg-nav ul ul { display: none; }

.pg-header-search {
  display: flex;
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 2px 4px 2px 12px;
  width: 240px;
  flex-shrink: 0;
}
.pg-header-search input {
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 13.5px;
  width: 100%;
  outline: none;
}
.pg-header-search button {
  background: var(--primary);
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}
.pg-header-search button:hover { background: var(--primary-hover); }

.pg-mobile-toggle {
  display: none;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 7px 11px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

/* Mobile Drawer */
.pg-mobile-drawer {
  display: none;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
}
.pg-mobile-drawer.open { display: block; }
.pg-mobile-drawer ul { list-style: none; padding: 0; margin: 12px 0 0; }
.pg-mobile-drawer li a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-weight: 600;
}
.pg-mobile-drawer li a:hover { background: var(--surface-2); }

/* Flat Hero Search Hub (Homepage) */
.pg-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 36px 0 28px;
}
.pg-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 28px;
  align-items: center;
}
.pg-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--emerald-soft);
  color: var(--emerald-hover);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.pg-hero h1 {
  margin: 0 0 10px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.6px;
  line-height: 1.25;
  color: var(--text);
}
.pg-hero-desc {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 15.5px;
}
.pg-hero-search {
  display: flex;
  background: var(--surface-2);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 5px;
  gap: 6px;
  max-width: 600px;
}
.pg-hero-search:focus-within { border-color: var(--primary); background: var(--surface); }
.pg-hero-search input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 14px;
  font-size: 15px;
  color: var(--text);
  outline: none;
}
.pg-hero-search button {
  background: var(--primary);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.pg-hero-search button:hover { background: var(--primary-hover); }

.pg-trending-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-soft);
}
.pg-trending-tags a {
  background: var(--surface-2);
  color: var(--text-muted);
  padding: 3px 10px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 12.5px;
  border: 1px solid var(--border);
}
.pg-trending-tags a:hover { border-color: var(--primary); color: var(--primary); }

.pg-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.pg-stat-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.pg-stat-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}
.pg-stat-label {
  font-size: 12.5px;
  color: var(--text-soft);
  font-weight: 600;
  margin-top: 4px;
}

/* Platform Quick Tiles */
.pg-section { padding: 28px 0 0; }
.pg-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.pg-section-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--text);
}
.pg-section-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary);
}
.pg-platform-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.pg-platform-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--text);
}
.pg-platform-tile:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
}
.pg-plat-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.pg-plat-name { font-weight: 700; font-size: 14px; color: var(--text); }
.pg-plat-count { font-size: 12px; color: var(--text-soft); }

/* Featured 4-Col Grid */
.pg-featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.pg-feat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pg-feat-card:hover { border-color: var(--primary); }
.pg-feat-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pg-app-icon {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  object-fit: cover;
  background: var(--surface-2);
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.pg-feat-title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pg-feat-title a { color: var(--text); }
.pg-feat-title a:hover { color: var(--primary); }
.pg-feat-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

/* Badges & Flat Buttons */
.pg-badges { display: flex; flex-wrap: wrap; gap: 5px; }
.pg-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--text-muted);
}
.pg-badge-pc { background: var(--primary-soft); color: var(--primary); }
.pg-badge-android { background: var(--emerald-soft); color: var(--emerald-hover); }
.pg-badge-ver { background: var(--amber-soft); color: var(--amber); }
.pg-rating { font-size: 12.5px; font-weight: 700; color: #F59E0B; }

.pg-btn-dl-sm {
  display: inline-block;
  background: var(--emerald);
  color: #FFFFFF !important;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
}
.pg-btn-dl-sm:hover { background: var(--emerald-hover); }

/* 2-Column Main + Sidebar Layout */
.pg-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
  padding: 28px 0 40px;
}

/* 2-Col Horizontal App Cards */
.pg-app-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.pg-app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.pg-app-card:hover { border-color: var(--primary); }
.pg-app-body { flex: 1; min-width: 0; }
.pg-app-title {
  margin: 0 0 6px;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pg-app-title a { color: var(--text); }
.pg-app-title a:hover { color: var(--primary); }
.pg-app-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 12.5px;
  color: var(--text-soft);
  margin-top: 8px;
}
.pg-app-excerpt {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Guides / Blogs 3-Column Grid */
.pg-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.pg-blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.pg-blog-card:hover { border-color: var(--primary); }
.pg-blog-thumb {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
  background: var(--surface-2);
}
.pg-blog-content { padding: 14px; display: flex; flex-direction: column; flex: 1; }
.pg-blog-title {
  margin: 6px 0 8px;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.38;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pg-blog-title a { color: var(--text); }
.pg-blog-title a:hover { color: var(--primary); }
.pg-blog-date { font-size: 12px; color: var(--text-soft); margin-top: auto; }

/* Sidebar Panels */
.pg-sidebar { display: flex; flex-direction: column; gap: 18px; }
.pg-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.pg-panel-title {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--surface-2);
}
.pg-rank-list { display: flex; flex-direction: column; gap: 10px; }
.pg-rank-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.pg-rank-item:last-child { border-bottom: none; padding-bottom: 0; }
.pg-rank-num {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--surface-2);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pg-rank-item:nth-child(1) .pg-rank-num { background: #F59E0B; color: #FFFFFF; }
.pg-rank-item:nth-child(2) .pg-rank-num { background: #64748B; color: #FFFFFF; }
.pg-rank-item:nth-child(3) .pg-rank-num { background: #B45309; color: #FFFFFF; }
.pg-rank-thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--surface-2);
}
.pg-rank-info { min-width: 0; flex: 1; }
.pg-rank-name {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pg-rank-meta { font-size: 12px; color: var(--text-soft); }

.pg-chip-cloud { display: flex; flex-wrap: wrap; gap: 7px; }
.pg-chip {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 8px;
}
.pg-chip:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }

.pg-shield-box {
  background: var(--emerald-soft);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius);
  padding: 18px;
}
.pg-shield-box h3 { margin: 0 0 6px; font-size: 15.5px; font-weight: 800; color: var(--emerald-hover); }
.pg-shield-box p { margin: 0 0 10px; font-size: 13px; color: var(--text-muted); }

/* Pagination */
.pg-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.pg-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-weight: 700;
  font-size: 13.5px;
}
.pg-pagination .page-numbers.current {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
}
.pg-pagination a.page-numbers:hover { border-color: var(--primary); color: var(--primary); }

/* Breadcrumb */
.pg-breadcrumb {
  padding: 14px 0 0;
  font-size: 13px;
  color: var(--text-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.pg-breadcrumb a { color: var(--text-muted); font-weight: 600; }

/* Single App Hero Card */
.pg-app-hero {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 14px;
}
.pg-app-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.pg-app-hero-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  min-width: 280px;
}
.pg-app-hero-icon {
  width: 104px;
  height: 104px;
  border-radius: 22px;
  object-fit: cover;
  border: 1px solid var(--border);
  background: var(--surface-2);
  flex-shrink: 0;
}
.pg-app-hero h1 {
  margin: 0 0 8px;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text);
}
.pg-app-hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}
.pg-btn-download-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--emerald);
  color: #FFFFFF !important;
  font-size: 16px;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
}
.pg-btn-download-lg:hover { background: var(--emerald-hover); }
.pg-cta-note { font-size: 12px; color: var(--text-soft); font-weight: 600; }

.pg-spec-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.pg-spec-cell {
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}
.pg-spec-label { font-size: 11.5px; color: var(--text-soft); font-weight: 600; }
.pg-spec-val { font-size: 13.5px; font-weight: 700; color: var(--text); margin-top: 2px; word-break: break-word; }

/* Single Article Content, Answer-First & Spec Table */
.pg-article-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.pg-article-content h2 {
  font-size: 20px;
  font-weight: 800;
  margin: 26px 0 10px;
  padding-left: 12px;
  border-left: 4px solid var(--primary);
  color: var(--text);
}
.pg-article-content h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 20px 0 8px;
  color: var(--text);
}
.pg-article-content p { margin: 0 0 14px; color: var(--text-muted); }
.pg-article-content img { border-radius: var(--radius); margin: 14px auto; }

.gp-answer-box {
  background: var(--primary-soft);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 22px;
}
.gp-answer-badge {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}
.gp-answer-box p { margin: 0; font-size: 14.5px; color: var(--text); font-weight: 500; }

.gp-spec-wrap { margin-bottom: 24px; }
.gp-spec-heading {
  font-size: 18px !important;
  border-left: none !important;
  padding-left: 0 !important;
  margin: 0 0 10px !important;
}
.gp-spec-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  font-size: 14px;
}
.gp-spec-table th, .gp-spec-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.gp-spec-table th { width: 35%; background: var(--surface-2); color: var(--text-muted); font-weight: 600; }
.gp-spec-table td { background: var(--surface); color: var(--text); }
.gp-badge-free { background: var(--emerald-soft); color: var(--emerald-hover); font-weight: 700; padding: 2px 10px; border-radius: 999px; font-size: 12px; }
.gp-badge-safe { background: var(--primary-soft); color: var(--primary); font-weight: 700; padding: 2px 10px; border-radius: 999px; font-size: 12px; }

/* Official Download Zone */
.pg-download-zone {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin: 26px 0;
}
.pg-download-zone h2 {
  margin: 0 0 14px !important;
  padding-left: 0 !important;
  border-left: none !important;
  font-size: 19px;
}
.pg-dl-list { display: flex; flex-direction: column; gap: 10px; }
.pg-dl-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  flex-wrap: wrap;
}
.pg-dl-name { font-weight: 700; font-size: 14.5px; color: var(--text); }
.pg-dl-sub { font-size: 12px; color: var(--text-soft); }
.pg-dl-btn {
  background: var(--emerald);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 13.5px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
}
.pg-dl-btn:hover { background: var(--emerald-hover); }

.gp-su-btn-wrap { margin: 14px 0; }
.gp-download-cta {
  display: inline-block;
  background: var(--emerald);
  color: #FFFFFF !important;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
}
.gp-download-cta:hover { background: var(--emerald-hover); }

.gp-eeat-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-top: 24px;
}
.gp-eeat-title { font-weight: 700; font-size: 14.5px; color: var(--text); margin-bottom: 6px; }
.gp-eeat-box p { margin: 0; font-size: 13.5px; color: var(--text-muted); }

/* Download Wait Page */
.pg-dl-wait-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  max-width: 720px;
  margin: 28px auto;
  text-align: center;
}
.pg-timer-pill {
  display: inline-block;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 800;
  font-size: 15px;
  padding: 8px 18px;
  border-radius: 999px;
  margin: 12px 0 20px;
}

/* Archive & Page Header */
.pg-archive-head {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-top: 14px;
}
.pg-archive-head h1 { margin: 0 0 6px; font-size: 24px; font-weight: 800; color: var(--text); }
.pg-archive-head p { margin: 0; color: var(--text-muted); font-size: 14.5px; }

/* Footer */
.pg-footer {
  background: var(--dark-bar);
  color: #94A3B8;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 40px 0 24px;
}
.pg-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.pg-footer h4 {
  margin: 0 0 12px;
  font-size: 14.5px;
  font-weight: 700;
  color: #FFFFFF;
}
.pg-footer p { margin: 0 0 10px; font-size: 13.5px; line-height: 1.6; }
.pg-footer ul { list-style: none; padding: 0; margin: 0; }
.pg-footer li { margin-bottom: 7px; font-size: 13.5px; }
.pg-footer a { color: #CBD5E1; }
.pg-footer a:hover { color: #FFFFFF; }
.pg-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 18px;
  font-size: 12.5px;
}

/* Comments & TOC Clean Flat Override */
#toc_container {
  background: var(--surface-2) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  padding: 14px 18px !important;
  width: 100% !important;
  margin-bottom: 20px !important;
}
.comments-area {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 20px;
}

/* Responsive */
@media (max-width: 1080px) {
  .pg-platform-grid { grid-template-columns: repeat(3, 1fr); }
  .pg-featured-grid { grid-template-columns: repeat(2, 1fr); }
  .pg-layout { grid-template-columns: 1fr; }
  .pg-spec-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .pg-nav, .pg-header-search { display: none; }
  .pg-mobile-toggle { display: inline-flex; }
  .pg-hero-grid { grid-template-columns: 1fr; }
  .pg-blog-grid { grid-template-columns: repeat(2, 1fr); }
  .pg-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .pg-platform-grid { grid-template-columns: repeat(2, 1fr); }
  .pg-featured-grid, .pg-app-grid, .pg-blog-grid { grid-template-columns: 1fr; }
  .pg-spec-strip { grid-template-columns: repeat(2, 1fr); }
  .pg-app-hero-cta { align-items: flex-start; width: 100%; }
  .pg-btn-download-lg { width: 100%; }
  .pg-footer-grid { grid-template-columns: 1fr; }
  .pg-hero h1 { font-size: 24px; }
}
