/* GTAQuest v1.2.8 critical feature UI. Kept in a separate file so theme/minifier
   issues in the legacy stylesheet cannot leave the game overview statistics unstyled. */
.gqgd-view .gqgd-game-tools .gqgd-section-label,
.gqgd-view .gqgd-stats-section .gqgd-section-label {
  display:block;
  width:100%;
  padding:11px 14px;
  margin:0 0 16px;
  border-radius:3px;
  background:var(--gqgd-accent);
  color:#fff;
  font-size:12px;
  font-weight:900;
  letter-spacing:.02em;
  text-transform:uppercase;
}
.gqgd-view .gqgd-game-tools__row { display:flex; gap:16px; align-items:center; justify-content:space-between; }
.gqgd-view .gqgd-game-tools .gqgd-global-search-form { display:flex; flex:1; gap:10px; align-items:center; margin:0; }
.gqgd-view .gqgd-game-tools .gqgd-global-search-form input { flex:1; min-width:0; min-height:42px; padding:0 13px; border:1px solid #d9dedd; border-radius:3px; background:#fff; color:#17191b; }
.gqgd-view .gqgd-game-tools .gqgd-global-search-form button { min-height:42px; padding:0 18px; border:0; border-radius:8px; background:var(--gqgd-accent); color:#fff; font-weight:900; }
.gqgd-view .gqgd-game-tools .gqgd-tool-link { color:var(--gqgd-accent); font-weight:900; text-decoration:none; white-space:nowrap; }
.gqgd-view .gqgd-stats-section h2 { margin:0 0 16px; font-size:25px; font-weight:900; }
.gqgd-view .gqgd-stat-cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(130px,1fr)); gap:10px; }
.gqgd-view .gqgd-stat-cards a { display:flex; flex-direction:column; gap:3px; min-width:0; padding:15px; border:1px solid #dde2e0; border-radius:12px; background:#fff; color:#17191b; text-decoration:none; }
.gqgd-view .gqgd-stat-cards strong { display:block; color:var(--gqgd-accent); font-size:27px; line-height:1; font-weight:900; }
.gqgd-view .gqgd-stat-cards span { display:block; font-weight:900; line-height:1.15; }
.gqgd-view .gqgd-stat-tables { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:18px; margin-top:18px; }
.gqgd-view .gqgd-stat-tables>div { min-width:0; padding:15px; border:1px solid #dde2e0; border-radius:12px; background:#fff; color:#17191b; overflow:hidden; }
.gqgd-view .gqgd-stat-tables h3 { margin:0 0 10px; font-size:22px; font-weight:900; }
.gqgd-view .gqgd-stat-tables ol { margin:0; padding:0; list-style:none; }
.gqgd-view .gqgd-stat-tables li { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:12px; align-items:start; padding:8px 0; border-top:1px solid #edf0ef; }
.gqgd-view .gqgd-stat-tables li:first-child { border-top:0; }
.gqgd-view .gqgd-stat-tables a { min-width:0; color:inherit; text-decoration:none; overflow-wrap:anywhere; }
.gqgd-view .gqgd-stat-tables b { color:var(--gqgd-accent); white-space:nowrap; text-align:right; }
.gqgd-view.gqgd-dark-context .gqgd-stat-cards a,
.gqgd-view.gqgd-dark-context .gqgd-stat-tables>div,
.gqgd-view.gqgd-dark-context .gqgd-game-tools .gqgd-global-search-form input { background:#1b201f; color:#edf2ef; border-color:rgba(255,255,255,.12); }

/* Explicit section icons must stay icon-sized. Cover artwork is only used when no icon URL is set. */
.gqgd-view .gqgd-portal-card__fallback img.gqgd-section-custom-icon {
  display:block !important;
  width:56px !important;
  min-width:56px !important;
  max-width:56px !important;
  height:56px !important;
  min-height:56px !important;
  max-height:56px !important;
  object-fit:contain !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}

/* Gold objectives: plain one-column source rows should use the full available width. */
.gqgd-view .gqgd-gold-list>div.is-single { display:block; }
.gqgd-view .gqgd-gold-list>div.is-single strong { display:block; width:100%; max-width:none; line-height:1.55; }
.gqgd-view .gqgd-gold-list>div.has-description { display:grid; grid-template-columns:minmax(135px,210px) minmax(0,1fr); gap:14px; }
.gqgd-view .gqgd-gold-list>div.has-description strong,
.gqgd-view .gqgd-gold-list>div.has-description span { min-width:0; line-height:1.55; }

@media (max-width:767px) {
  .gqgd-view .gqgd-game-tools__row { flex-direction:column; align-items:stretch; }
  .gqgd-view .gqgd-game-tools .gqgd-tool-link { white-space:normal; }
  .gqgd-view .gqgd-stat-cards { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .gqgd-view .gqgd-stat-tables { grid-template-columns:1fr; }
  .gqgd-view .gqgd-gold-list>div.has-description { grid-template-columns:1fr; gap:5px; }
}
