.hgqn-public-dashboard{
  width:100%;
  max-width:1100px;
  margin:0 auto;
  padding:12px;
  box-sizing:border-box;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.hgqn-pd-header{display:flex;flex-direction:column;gap:4px;margin-bottom:10px;}
.hgqn-pd-title{font-size:18px;font-weight:700;}
.hgqn-pd-sub{font-size:12px;opacity:.75;}
.hgqn-pd-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:10px;font-size:13px;}
.hgqn-pd-controls label{display:flex;align-items:center;gap:6px;}
.hgqn-pd-status{margin-left:auto;font-size:12px;opacity:.8;}
.hgqn-pd-body{display:grid;grid-template-columns: 1fr 280px;gap:10px;}
.hgqn-pd-map{width:100%;height:520px;border-radius:12px;overflow:hidden;border:1px solid rgba(0,0,0,.15);}
.hgqn-pd-side{border:1px solid rgba(0,0,0,.15);border-radius:12px;padding:10px;overflow:auto;max-height:520px;}
.hgqn-pd-list-title{font-weight:700;margin-bottom:8px;}
.hgqn-pd-item{display:flex;justify-content:space-between;gap:8px;padding:6px 0;border-bottom:1px solid rgba(0,0,0,.08);font-size:12px;}
.hgqn-pd-item:last-child{border-bottom:none;}
.hgqn-pd-pill{font-size:11px;opacity:.85;white-space:nowrap;}

@media (max-width: 900px){
  .hgqn-pd-body{grid-template-columns: 1fr;}
  .hgqn-pd-side{max-height:260px;}
  .hgqn-pd-map{height:420px;}
}


body.hgqn-public-dashboard-page.hgqn-results-view .site-header,
body.hgqn-public-dashboard-page.hgqn-results-view .entry-header,
body.hgqn-public-dashboard-page.hgqn-results-view .entry-title,
body.hgqn-public-dashboard-page.hgqn-results-view .wp-block-post-title,
body.hgqn-public-dashboard-page.hgqn-results-view .page-header,
body.hgqn-public-dashboard-page.hgqn-results-view .page-title,
body.hgqn-public-dashboard-page.hgqn-results-view .elementor-location-header,
body.hgqn-public-dashboard-page.hgqn-results-view .elementor-location-footer,
body.hgqn-public-dashboard-page.hgqn-results-view .site-footer{
  display:none !important;
}
body.hgqn-public-dashboard-page.hgqn-results-view,
body.hgqn-public-dashboard-page.hgqn-results-view #page,
body.hgqn-public-dashboard-page.hgqn-results-view #content,
body.hgqn-public-dashboard-page.hgqn-results-view .site,
body.hgqn-public-dashboard-page.hgqn-results-view .site-content,
body.hgqn-public-dashboard-page.hgqn-results-view .content-area,
body.hgqn-public-dashboard-page.hgqn-results-view .entry-content,
body.hgqn-public-dashboard-page.hgqn-results-view .container,
body.hgqn-public-dashboard-page.hgqn-results-view .wrap{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
}
body.hgqn-public-dashboard-page.hgqn-results-view{
  background:
    radial-gradient(circle at top, rgba(89,134,255,.22), transparent 34%),
    radial-gradient(circle at 20% 20%, rgba(84,193,255,.16), transparent 28%),
    linear-gradient(180deg, #05101d 0%, #0a1730 52%, #08111e 100%);
}

.hgqn-results-page{
  position:relative;
  isolation:isolate;
  width:100%;
  max-width:760px;
  min-height:100dvh;
  margin:0 auto;
  padding:18px 14px 28px;
  box-sizing:border-box;
  overflow-x:hidden;
  overflow-x:clip;
  color:#eef6ff;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.hgqn-results-page::before,
.hgqn-results-page::after{
  content:'';
  position:absolute;
  inset:auto;
  pointer-events:none;
  z-index:-1;
  border-radius:999px;
  filter:blur(28px);
  opacity:.7;
}
.hgqn-results-page::before{
  width:180px;
  height:180px;
  top:48px;
  right:-18px;
  background:rgba(84,193,255,.18);
}
.hgqn-results-page::after{
  width:210px;
  height:210px;
  bottom:28px;
  left:-46px;
  background:rgba(104,104,255,.15);
}
.hgqn-results-hero,
.hgqn-results-panel,
.hgqn-results-entry,
.hgqn-results-card,
.hgqn-results-run-chip,
.hgqn-results-notice,
.hgqn-results-code-block,
.hgqn-results-inline-note,
.hgqn-results-claim-row{
  border:1px solid rgba(133,173,255,.18);
  border-radius:22px;
  background:linear-gradient(180deg, rgba(10,22,42,.92) 0%, rgba(7,16,30,.94) 100%);
  box-shadow:0 16px 38px rgba(0,0,0,.28);
  backdrop-filter:blur(10px);
}
.hgqn-results-hero{
  position:relative;
  overflow:hidden;
  padding:18px;
  margin-bottom:16px;
}
.hgqn-results-hero::before{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(135deg, rgba(84,193,255,.12), rgba(132,91,255,.08) 54%, transparent 72%);
  pointer-events:none;
}
.hgqn-results-header,
.hgqn-results-cards,
.hgqn-results-stack,
.hgqn-results-notice{ position:relative; z-index:1; }
.hgqn-results-header{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-bottom:14px;
}
.hgqn-results-hero-topline{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}
.hgqn-results-kicker,
.hgqn-results-run-chip-label,
.hgqn-results-card-label,
.hgqn-results-code-label,
.hgqn-results-meta-label,
.hgqn-results-panel-kicker{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.14em;
  opacity:.72;
}
.hgqn-results-hero-state,
.hgqn-results-badge,
.hgqn-results-status-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  padding:5px 10px;
  border-radius:999px;
  font-size:11px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.hgqn-results-hero-state{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.1);
}
.hgqn-results-hero-state.is-success{
  color:#d9ffe5;
  background:rgba(53,154,93,.18);
  border-color:rgba(101,255,170,.34);
}
.hgqn-results-hero-state.is-warn{
  color:#ffe8b0;
  background:rgba(255,191,102,.12);
  border-color:rgba(255,191,102,.28);
}
.hgqn-results-title{
  margin:0;
  font-size:32px;
  line-height:1;
  letter-spacing:-.04em;
}
.hgqn-results-sub{
  max-width:40rem;
  margin:0;
  font-size:14px;
  line-height:1.55;
  opacity:.84;
}
.hgqn-results-run-meta{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}
.hgqn-results-run-chip{
  padding:12px 14px;
  display:flex;
  flex-direction:column;
  gap:7px;
}
.hgqn-results-run-chip code{
  display:inline-block;
  width:max-content;
  max-width:100%;
  padding:6px 8px;
  border-radius:12px;
  background:rgba(255,255,255,.06);
  color:#dff0ff;
  font-size:13px;
  overflow-wrap:anywhere;
}
.hgqn-results-notice{
  margin-bottom:14px;
  padding:14px 16px;
}
.hgqn-results-notice strong{
  display:block;
  margin-bottom:6px;
  font-size:15px;
}
.hgqn-results-notice.is-success{
  border-color:rgba(101,255,170,.3);
  background:linear-gradient(180deg, rgba(11,42,31,.84) 0%, rgba(8,25,22,.92) 100%);
}
.hgqn-results-notice.is-warn{
  border-color:rgba(255,191,102,.3);
  background:linear-gradient(180deg, rgba(55,35,11,.86) 0%, rgba(28,18,8,.92) 100%);
}
.hgqn-results-cards{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
}
.hgqn-results-card{
  position:relative;
  overflow:hidden;
  padding:14px;
  min-height:102px;
}
.hgqn-results-card::after{
  content:'';
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:3px;
  background:linear-gradient(90deg, rgba(84,193,255,.92), rgba(106,128,255,.92));
  opacity:.8;
}
.hgqn-results-card-value{
  margin-top:10px;
  font-size:28px;
  font-weight:800;
  line-height:1;
  letter-spacing:-.03em;
}
.hgqn-results-stack{
  display:flex;
  flex-direction:column;
  gap:16px;
}
.hgqn-results-panel{
  position:relative;
  overflow:hidden;
  padding:16px;
}
.hgqn-results-panel::before{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(145deg, rgba(84,193,255,.08), transparent 34%, rgba(132,91,255,.05) 100%);
  pointer-events:none;
}
.hgqn-results-panel-heading,
.hgqn-results-winner-name,
.hgqn-results-winner-meta,
.hgqn-results-code-block,
.hgqn-results-claim-panel,
.hgqn-results-list,
.hgqn-results-empty{
  position:relative;
  z-index:1;
}
.hgqn-results-panel-heading{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}
.hgqn-results-panel-title{
  font-size:17px;
  font-weight:800;
  margin-top:4px;
}
.hgqn-results-badge{
  background:rgba(104,193,255,.16);
  color:#dff1ff;
  border:1px solid rgba(104,193,255,.22);
}
.hgqn-results-badge.is-muted,
.hgqn-results-badge--ghost{
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.1);
  color:#eef6ff;
}
.hgqn-results-badge--achievement{
  color:#101d2d;
  background:linear-gradient(135deg, #bff2ff, #7ee2ff);
  border-color:transparent;
}
.hgqn-results-badge--podium{
  background:rgba(255, 214, 102, .14);
  border-color:rgba(255,214,102,.22);
  color:#ffe9bf;
}
.hgqn-results-panel--winner{
  border-color:rgba(84,193,255,.26);
  box-shadow:0 18px 42px rgba(0,0,0,.3), 0 0 0 1px rgba(84,193,255,.06) inset;
}
.hgqn-results-winner-name{
  font-size:26px;
  font-weight:800;
  line-height:1.05;
  letter-spacing:-.03em;
  margin-bottom:12px;
}
.hgqn-results-winner-meta,
.hgqn-results-entry-meta{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.hgqn-results-meta-row{
  display:flex;
  flex-direction:column;
  gap:4px;
}
.hgqn-results-meta-row strong{
  font-size:15px;
}
.hgqn-results-code-block,
.hgqn-results-claim-row,
.hgqn-results-inline-note{
  margin-top:14px;
}
.hgqn-results-code-block,
.hgqn-results-claim-row,
.hgqn-results-inline-note{
  padding:14px;
}
.hgqn-results-code-block{
  border-color:rgba(104,193,255,.24);
  background:linear-gradient(180deg, rgba(8,19,37,.92) 0%, rgba(5,12,24,.96) 100%);
}
.hgqn-results-code-head{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.hgqn-results-code-value,
.hgqn-results-code-plain{
  margin-top:8px;
  padding:12px 14px;
  border-radius:16px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
}
.hgqn-results-code-value{
  font-size:24px;
  font-weight:800;
  line-height:1.15;
  letter-spacing:.08em;
  word-break:break-word;
}
.hgqn-results-code-plain{
  font-size:14px;
  line-height:1.45;
  word-break:break-all;
}
.hgqn-results-note,
.hgqn-results-empty,
.hgqn-results-claim-feedback{
  font-size:14px;
  line-height:1.5;
  opacity:.86;
}
.hgqn-results-empty{
  padding:4px 0;
}
.hgqn-results-claim-panel,
.hgqn-results-claim-output{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.hgqn-results-claim-feedback{
  min-height:20px;
}
.hgqn-results-claim-feedback.is-success{ color:#c9ffe0; }
.hgqn-results-claim-feedback.is-error{ color:#ffd2ca; }
.hgqn-results-claim-button,
.hgqn-results-copy-btn,
.hgqn-results-copy-trigger{
  width:100%;
  min-height:50px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:none;
  border-radius:16px;
  padding:12px 16px;
  cursor:pointer;
  font-size:15px;
  font-weight:800;
  letter-spacing:.03em;
  text-align:center;
  text-decoration:none;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.hgqn-results-claim-button{
  background:linear-gradient(135deg, #93e8ff, #4bbfff 40%, #7d78ff 100%);
  color:#081321;
  box-shadow:0 14px 30px rgba(75,191,255,.28);
}
.hgqn-results-copy-btn,
.hgqn-results-copy-trigger{
  background:rgba(255,255,255,.08);
  color:#eef6ff;
  border:1px solid rgba(255,255,255,.12);
}
.hgqn-results-copy-btn.is-copied,
.hgqn-results-copy-trigger.is-copied{
  background:rgba(101,255,170,.18);
  border-color:rgba(101,255,170,.3);
  color:#ddffe8;
}
.hgqn-results-claim-button[disabled],
.hgqn-results-copy-btn[disabled],
.hgqn-results-copy-trigger[disabled]{
  opacity:.64;
  cursor:default;
  transform:none;
}
.hgqn-results-list{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.hgqn-results-entry{
  position:relative;
  overflow:hidden;
  padding:14px;
}
.hgqn-results-entry::before{
  content:'';
  position:absolute;
  left:0;
  top:12px;
  bottom:12px;
  width:3px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
}
.hgqn-results-entry.is-winner{
  border-color:rgba(104,193,255,.3);
  background:linear-gradient(180deg, rgba(11,28,49,.94) 0%, rgba(8,18,34,.98) 100%);
}
.hgqn-results-entry.is-current{
  box-shadow:0 0 0 1px rgba(255,255,255,.08), 0 16px 38px rgba(0,0,0,.26);
}
.hgqn-results-entry.is-rank-1::before{
  background:linear-gradient(180deg, #ffe07d, #ffb84d);
}
.hgqn-results-entry.is-rank-2::before{
  background:linear-gradient(180deg, #d8e3ff, #8eb3ff);
}
.hgqn-results-entry.is-rank-3::before{
  background:linear-gradient(180deg, #ffccaf, #ff8d62);
}
.hgqn-results-entry-top{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:10px 12px;
  align-items:start;
}
.hgqn-results-entry-rank{
  min-width:56px;
  padding:10px 12px;
  border-radius:16px;
  background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.08);
  font-size:18px;
  font-weight:800;
  text-align:center;
}
.hgqn-results-entry.is-rank-1 .hgqn-results-entry-rank{
  background:linear-gradient(180deg, rgba(255,224,125,.22), rgba(255,184,77,.12));
  border-color:rgba(255,224,125,.22);
  color:#ffe9b4;
}
.hgqn-results-entry.is-rank-2 .hgqn-results-entry-rank{
  background:linear-gradient(180deg, rgba(214,229,255,.18), rgba(142,179,255,.12));
  border-color:rgba(214,229,255,.18);
}
.hgqn-results-entry.is-rank-3 .hgqn-results-entry-rank{
  background:linear-gradient(180deg, rgba(255,204,175,.2), rgba(255,141,98,.12));
  border-color:rgba(255,204,175,.18);
}
.hgqn-results-entry-title-wrap{ min-width:0; }
.hgqn-results-player{
  font-size:17px;
  font-weight:800;
  line-height:1.2;
  margin-bottom:8px;
  word-break:break-word;
}
.hgqn-results-entry-badges{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}
.hgqn-results-status-pill{
  grid-column:1 / -1;
  justify-self:start;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.1);
  color:#eef6ff;
}
@media (max-width: 379px){
  .hgqn-results-page{ padding:16px 10px 22px; }
  .hgqn-results-cards{ grid-template-columns:1fr; }
  .hgqn-results-title{ font-size:28px; }
}
@media (min-width: 640px){
  .hgqn-results-page{ max-width:840px; padding:24px 20px 36px; }
  .hgqn-results-hero{ padding:22px; }
  .hgqn-results-title{ font-size:40px; }
  .hgqn-results-run-meta{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .hgqn-results-code-head{ flex-direction:row; align-items:flex-start; justify-content:space-between; }
  .hgqn-results-copy-trigger,
  .hgqn-results-copy-btn{ width:auto; min-width:148px; }
  .hgqn-results-meta-row{ flex-direction:row; align-items:center; justify-content:space-between; gap:18px; }
  .hgqn-results-status-pill{ grid-column:auto; justify-self:end; }
}
@media (min-width: 960px){
  .hgqn-results-page{ max-width:1040px; padding:30px 24px 44px; }
  .hgqn-results-stack{ display:grid; grid-template-columns:minmax(320px, 390px) minmax(0, 1fr); align-items:start; }
  .hgqn-results-panel{ padding:18px; }
  .hgqn-results-cards{ grid-template-columns:repeat(4, minmax(0, 1fr)); }
}


/* -------------------------------------------------------------------------- */
/* Live results shell + duplicate hero repair (results-only, block-theme safe) */
/* -------------------------------------------------------------------------- */
body.hgqn-results-view,
body.hgqn-results-view .wp-site-blocks,
body.hgqn-results-view .wp-site-blocks > main,
body.hgqn-results-view main > article,
body.hgqn-results-view .wp-block-post-content,
body.hgqn-results-view .entry-content,
body.hgqn-results-view .is-layout-constrained,
body.hgqn-results-view .is-layout-flow,
body.hgqn-results-view .is-layout-flex{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
}
body.hgqn-results-view .wp-site-blocks,
body.hgqn-results-view .wp-site-blocks > main,
body.hgqn-results-view main > article,
body.hgqn-results-view .wp-block-post-content,
body.hgqn-results-view .entry-content,
body.hgqn-results-view .is-layout-constrained,
body.hgqn-results-view .is-layout-flow,
body.hgqn-results-view .is-layout-flex{
  padding-top:0 !important;
  padding-right:0 !important;
  padding-left:0 !important;
  gap:0 !important;
  row-gap:0 !important;
  min-height:auto !important;
}
body.hgqn-results-view .wp-site-blocks,
body.hgqn-results-view .wp-site-blocks .is-layout-constrained{
  --wp--style--global--content-size:100vw;
  --wp--style--global--wide-size:100vw;
}
body.hgqn-results-view .wp-site-blocks > header.wp-block-template-part,
body.hgqn-results-view .wp-site-blocks > .wp-block-template-part,
body.hgqn-results-view .saaslauncher-header,
body.hgqn-results-view .wp-block-site-title,
body.hgqn-results-view .wp-block-navigation,
body.hgqn-results-view .wp-block-navigation__responsive-container,
body.hgqn-results-view .wp-block-post-title,
body.hgqn-results-view .wp-block-query-title,
body.hgqn-results-view .entry-title,
body.hgqn-results-view .page-title,
body.hgqn-results-view .page-header,
body.hgqn-results-view .entry-header{
  display:none !important;
}
body.hgqn-results-view .wp-block-post-content > *:not(.hgqn-results-page):not(script):not(style):not(link),
body.hgqn-results-view .entry-content > *:not(.hgqn-results-page):not(script):not(style):not(link),
body.hgqn-results-view main > article > *:not(.wp-block-post-content):not(.entry-content):not(script):not(style):not(link){
  display:none !important;
}
body.hgqn-results-view .hgqn-results-page{
  width:100% !important;
  max-width:none !important;
  min-height:100dvh;
  margin:0 !important;
  padding:10px clamp(12px,4vw,24px) 28px !important;
}
body.hgqn-results-view .hgqn-results-hero{
  margin-bottom:12px;
}
body.hgqn-results-view .hgqn-results-header{
  margin-bottom:8px;
}
body.hgqn-results-view .hgqn-results-run-meta,
body.hgqn-results-view .hgqn-results-cards,
body.hgqn-results-view .hgqn-results-stack{
  margin-top:0;
}
@media (min-width: 640px){
  body.hgqn-results-view .hgqn-results-page{
    padding:14px clamp(20px,4vw,34px) 34px !important;
  }
}
@media (min-width: 960px){
  body.hgqn-results-view .hgqn-results-page{
    padding:18px clamp(24px,4vw,40px) 40px !important;
  }
}
