@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=Inter:wght@400;500;600;700;800&display=swap');
.hb-store{--hb-bg:#050b1c;--hb-panel:#0c1730;--hb-border:#263b68;--hb-gold:#ffca18;--hb-text:#f7f8ff;--hb-muted:#b8c6e7;color:var(--hb-text)!important;font-family:'Inter',Arial,sans-serif!important;background:radial-gradient(ellipse at 50% 0%,#111d53 0,#070d20 46%,#030817 100%)!important;border:1px solid #263b68;border-radius:22px;padding:clamp(16px,4vw,30px);margin:18px 0;overflow:hidden;box-sizing:border-box}.hb-store *{box-sizing:border-box}.hb-section{margin:0 0 30px}.hb-section:last-child{margin-bottom:0}.hb-section-title{font-family:'Barlow Condensed',Impact,sans-serif!important;color:var(--hb-text)!important;font-size:clamp(25px,6vw,35px)!important;line-height:1.1!important;font-weight:900!important;letter-spacing:.1px!important;margin:0 0 20px!important}.hb-section-title:after{content:"";display:block;width:72px;height:5px;border-radius:9px;background:linear-gradient(90deg,#ffe36b,#ffb600);margin-top:12px;box-shadow:0 0 14px #ffca1855}.hb-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.hb-search-form{display:flex;gap:9px;align-items:stretch;width:100%;margin:0 0 28px}.hb-search-form input{min-width:0;flex:1;width:100%;background:#09142b!important;color:#fff!important;border:1px solid #40558c!important;border-radius:17px!important;padding:15px 14px!important;font-size:15px!important;box-shadow:none!important;outline:none}.hb-search-form input:focus{border-color:var(--hb-gold)!important;box-shadow:0 0 0 3px #ffca1822!important}.hb-search-form input::placeholder{color:#aebddd;opacity:1}.hb-btn{display:flex;justify-content:center;align-items:center;gap:7px;text-decoration:none!important;text-align:center;border-radius:14px;padding:12px 14px;font-size:14px;font-weight:800;line-height:1.2;transition:transform .2s ease,box-shadow .2s ease;cursor:pointer;white-space:normal;overflow-wrap:anywhere;min-width:0}.hb-btn:hover{transform:translateY(-2px)}.hb-btn-gold{background:linear-gradient(135deg,#ffe45b,#ffb900)!important;color:#11182a!important;border:1px solid #ffe77a;box-shadow:0 5px 18px #ffbe1935}.hb-game-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.hb-game-card{min-width:0;display:flex;flex-direction:column;justify-content:space-between;gap:12px;background:linear-gradient(145deg,#101e3a,#091226);border:1px solid var(--hb-border);border-radius:20px;padding:12px;box-shadow:0 8px 22px #0002;transition:transform .22s ease,border-color .22s ease}.hb-game-card:hover{transform:translateY(-2px);border-color:#ffca18}.hb-card-main{display:flex;align-items:center;gap:10px;min-width:0;color:inherit!important;text-decoration:none!important}.hb-game-icon{width:clamp(54px,16vw,76px);height:clamp(54px,16vw,76px);flex:0 0 clamp(54px,16vw,76px);object-fit:cover;border-radius:14px;border:1px solid #d5a928;box-shadow:0 0 13px #ffca1822}.hb-no-icon{display:flex;align-items:center;justify-content:center;background:#17284a;font-size:28px}.hb-card-copy{min-width:0;display:flex;flex-direction:column;gap:6px}.hb-card-copy strong{font-family:'Inter',Arial,sans-serif;font-size:clamp(13px,3.6vw,16px);line-height:1.2;color:#fff;overflow-wrap:anywhere}.hb-card-copy small{font-size:12px;line-height:1.4;color:var(--hb-muted);overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.hb-card-download{width:100%;min-height:43px;margin-top:auto;font-size:13px;padding:11px 8px;border-radius:12px}.hb-empty{background:#0b1730;border:1px solid var(--hb-border);border-radius:18px;padding:20px;color:var(--hb-muted)}.hb-empty strong{color:#fff}.hb-detail-hero{text-align:center;padding:12px 0 24px}.hb-detail-icon{display:block;width:clamp(145px,42vw,220px);height:clamp(145px,42vw,220px);object-fit:cover;border-radius:28px;border:4px solid var(--hb-gold);margin:0 auto 24px;box-shadow:0 0 28px #ffca1840}.hb-detail-placeholder{width:170px;height:170px;display:grid;place-items:center;border-radius:28px;border:3px solid var(--hb-gold);font-size:70px;margin:0 auto 24px;background:#142344}.hb-detail-hero h1{font-family:'Barlow Condensed',Impact,sans-serif!important;color:#fff!important;font-size:clamp(30px,7vw,42px)!important;line-height:1.1!important;margin:0 0 7px!important;font-weight:900!important}.hb-detail-subtitle{color:#b8c8ef!important;font-size:20px;margin:0 0 12px}.hb-gold-underline{display:block;width:76px;height:6px;border-radius:9px;background:var(--hb-gold);margin:0 auto}.hb-detail-panel{padding:20px;border:1px solid #2d4476;border-radius:24px;background:linear-gradient(145deg,#101d38,#091226);box-shadow:0 12px 30px #0002;margin:0 0 34px}.hb-info-row{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #203254;color:#b8c8ef;font-size:15px}.hb-info-row:last-of-type{border-bottom:0}.hb-info-row strong{color:#fff;text-align:right;font-size:14px;overflow-wrap:anywhere}.hb-info-symbol{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#1a2c50;color:#fff;font-size:19px}.hb-download-main{width:100%;min-height:58px;margin-top:18px;font-size:18px;border-radius:15px}.hb-download-note{font-size:14px;color:#ffd97a;margin:18px 0 0}.hb-detail-description{margin:0 0 32px;color:#dce5fb;line-height:1.75;overflow-wrap:anywhere}.hb-description-content img{max-width:100%;height:auto;border-radius:14px}.hb-description-content h2,.hb-description-content h3{color:#fff}.hb-description-content a{color:#ffda45}.hb-store .screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Hide the theme's duplicate title, author email, and date only on game details pages. The plugin renders its own clean title. */
body.single-hb_game .entry-header,body.single-hb_game .entry-meta,body.single-hb_game .entry-title,body.single-hb_game .byline,body.single-hb_game .author,body.single-hb_game .posted-by,body.single-hb_game .ast-single-post-order,body.single-hb_game .post-thumb-img-content,body.single-rgs_game .entry-header,body.single-rgs_game .entry-meta,body.single-rgs_game .entry-title,body.single-rgs_game .byline,body.single-rgs_game .author,body.single-rgs_game .posted-by,body.single-rgs_game .ast-single-post-order,body.single-rgs_game .post-thumb-img-content{display:none!important}
body.single-hb_game .entry-content{margin-top:0!important;padding-top:0!important}body.single-hb_game .site-content,body.single-hb_game .content-area,body.single-hb_game .site-main{padding-top:0!important;margin-top:0!important}body.single-hb_game .ast-container{max-width:100%!important;padding-left:0!important;padding-right:0!important}body.single-hb_game .site-main{margin:0!important}
@media(max-width:520px){.hb-store{padding:14px;border-radius:18px}.hb-game-grid{gap:10px}.hb-game-card{padding:10px;border-radius:16px;gap:10px}.hb-card-main{gap:8px;align-items:center}.hb-card-copy strong{font-size:13px}.hb-card-copy small{font-size:11px;-webkit-line-clamp:3}.hb-card-download{font-size:12px;min-height:42px;padding:10px 5px}.hb-search-form{gap:7px}.hb-search-form input{padding:13px 10px!important;font-size:13px!important}.hb-search-form .hb-btn{padding:11px 12px;font-size:13px}.hb-detail-panel{padding:14px}.hb-info-row{grid-template-columns:36px minmax(0,1fr) auto;gap:9px;font-size:14px}.hb-info-symbol{width:34px;height:34px}.hb-info-row strong{font-size:13px}.hb-download-main{font-size:17px}}
@media(max-width:350px){.hb-game-grid{grid-template-columns:1fr}.hb-card-main{gap:12px}.hb-game-icon{width:66px;height:66px;flex-basis:66px}}
@media(prefers-reduced-motion:reduce){.hb-store *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* Requested targeted fix: keep the detail information container black and remove only its outside shadow. All other shadows, text effects, and styling remain unchanged. */
body.single-hb_game .hb-detail-panel{background:#000!important;box-shadow:none!important;border-color:#262626!important}

/* Detail-page canvas fix: remove the unwanted theme grey/colored area outside the blue store container. Keep the blue .hb-store gradient and all internal styling unchanged. */
body.single-hb_game,
body.single-hb_game #page,
body.single-hb_game .site,
body.single-hb_game .site-content,
body.single-hb_game .content-area,
body.single-hb_game .site-main,
body.single-hb_game article,
body.single-hb_game .entry-content,
body.single-hb_game .ast-container,
body.single-hb_game .ast-separate-container,
body.single-hb_game .ast-article-single {
  background: #000000 !important;
  background-image: none !important;
}
/* Let the blue store container keep its natural responsive width; no extra colored wrapper or forced height. */
body.single-hb_game .hb-store {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}


/* v1.2.4: seamless responsive canvas for store and game detail pages.
   Match the site's orange-to-black palette outside the dark-blue store card,
   removing Astra/Elementor grey panels and their unwanted shadows. */
body.hb-store-page,
body.hb-store-page #page,
body.hb-store-page .site,
body.hb-store-page #content,
body.hb-store-page .site-content,
body.hb-store-page .content-area,
body.hb-store-page #primary,
body.hb-store-page main,
body.hb-store-page .site-main,
body.hb-store-page article,
body.hb-store-page .entry-content,
body.hb-store-page .ast-container,
body.hb-store-page .ast-separate-container,
body.hb-store-page .ast-article-single,
body.hb-store-page .elementor,
body.hb-store-page .elementor-section-wrap {
  background: linear-gradient(180deg, #FF6600 0%, #090707 100%) !important;
  background-color: #090707 !important;
  box-shadow: none !important;
}
body.hb-store-page .ast-container,
body.hb-store-page .site-content .ast-container {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body.hb-store-page .ast-article-single,
body.hb-store-page article,
body.hb-store-page .entry-content {
  border: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
body.hb-store-page .hb-store {
  display: block;
  width: calc(100% - 28px) !important;
  max-width: 760px !important;
  margin: 18px auto !important;
  box-shadow: none !important;
}
body.hb-store-page .hb-game-card,
body.hb-store-page .hb-detail-panel,
body.hb-store-page .hb-detail-icon {
  box-shadow: none !important;
}
body.hb-store-page .site-footer,
body.hb-store-page .site-footer .ast-container {
  box-shadow: none !important;
}
@media (max-width: 767px) {
  body.hb-store-page .hb-store {
    width: calc(100% - 28px) !important;
    max-width: 760px !important;
    margin: 14px auto !important;
  }
}


/* v1.2.5: preserve the store's existing colors and remove the visible side layer
   by allowing the actual store container to span the full viewport width. */
body.hb-store-page,
body.hb-store-page #page,
body.hb-store-page .site,
body.hb-store-page #content,
body.hb-store-page .site-content,
body.hb-store-page .content-area,
body.hb-store-page #primary,
body.hb-store-page main,
body.hb-store-page .site-main,
body.hb-store-page article,
body.hb-store-page .entry-content,
body.hb-store-page .ast-container,
body.hb-store-page .ast-separate-container,
body.hb-store-page .ast-article-single {
  background: #030817 !important;
  background-image: none !important;
  box-shadow: none !important;
}
body.hb-store-page .ast-container,
body.hb-store-page .site-content .ast-container,
body.hb-store-page .content-area,
body.hb-store-page #primary,
body.hb-store-page .site-main,
body.hb-store-page .entry-content {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body.hb-store-page .hb-store {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
}
/* Keep the existing game card/detail colors; remove only decorative outer shadows. */
body.hb-store-page .hb-game-card,
body.hb-store-page .hb-detail-panel,
body.hb-store-page .hb-detail-icon,
body.hb-store-page .hb-detail-placeholder {
  box-shadow: none !important;
}
@media (max-width: 767px) {
  body.hb-store-page .hb-store {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    border-radius: 18px !important;
    padding: 16px !important;
  }
  body.hb-store-page .hb-game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 350px) {
  body.hb-store-page .hb-game-grid {
    grid-template-columns: 1fr;
  }
}


/* v1.2.6 targeted layout fix: preserve all existing store colors; remove only theme layer/shadow around the store. */
body.hb-store-page #page,
body.hb-store-page #content,
body.hb-store-page .site-content,
body.hb-store-page .content-area,
body.hb-store-page #primary,
body.hb-store-page .site-main,
body.hb-store-page .ast-container,
body.hb-store-page .ast-separate-container,
body.hb-store-page .ast-article-single,
body.hb-store-page article,
body.hb-store-page .entry-content {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border-color: transparent !important;
}
body.hb-store-page .ast-container,
body.hb-store-page .site-content .ast-container,
body.hb-store-page .content-area,
body.hb-store-page #primary,
body.hb-store-page .site-main,
body.hb-store-page .entry-content {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}
body.hb-store-page .hb-store {
  width: calc(100% - 28px) !important;
  max-width: 760px !important;
  min-width: 0 !important;
  margin: 14px auto !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
}
body.hb-store-page .hb-game-card,
body.hb-store-page .hb-detail-panel,
body.hb-store-page .hb-detail-icon,
body.hb-store-page .hb-detail-placeholder {
  box-shadow: none !important;
}
.hb-post-download-meta { margin-top: 16px; }
.hb-post-download-meta .hb-info-row:last-child { border-bottom: 0; }
@media (max-width: 767px) {
  body.hb-store-page .hb-store {
    width: calc(100% - 28px) !important;
    max-width: 760px !important;
    padding: 16px !important;
    border-radius: 20px !important;
  }
  body.hb-store-page .hb-game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 350px) {
  body.hb-store-page .hb-game-grid { grid-template-columns: 1fr; }
}

/* Compatibility for games created with the previous store plugin. */
body.single-rgs_game .entry-content{margin-top:0!important;padding-top:0!important}body.single-rgs_game .site-content,body.single-rgs_game .content-area,body.single-rgs_game .site-main{padding-top:0!important;margin-top:0!important}body.single-rgs_game .ast-container{max-width:100%!important;padding-left:0!important;padding-right:0!important}body.single-rgs_game .site-main{margin:0!important}body.single-rgs_game,body.single-rgs_game #page,body.single-rgs_game .site,body.single-rgs_game .site-content,body.single-rgs_game .content-area,body.single-rgs_game .site-main,body.single-rgs_game article,body.single-rgs_game .entry-content,body.single-rgs_game .ast-container,body.single-rgs_game .ast-separate-container,body.single-rgs_game .ast-article-single{background:#090707!important;box-shadow:none!important}
.hb-empty{grid-column:1/-1;width:100%;min-width:0;overflow-wrap:anywhere}


/* v3.0: Make every app/game item a clearly visible blue card, including cards under More Games. */
body.hb-store-page .hb-game-grid { align-items: stretch !important; }
body.hb-store-page .hb-game-card,
.hb-store .hb-game-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  min-width: 0 !important;
  padding: 12px !important;
  border: 1px solid #263b68 !important;
  border-radius: 20px !important;
  background: linear-gradient(145deg, #101e3a 0%, #091226 100%) !important;
  box-shadow: none !important;
  overflow: hidden !important;
}
body.hb-store-page .hb-game-card .hb-card-main,
.hb-store .hb-game-card .hb-card-main { width: 100% !important; min-width: 0 !important; }
body.hb-store-page .hb-game-card .hb-card-download,
.hb-store .hb-game-card .hb-card-download {
  display: flex !important; width: 100% !important; margin-top: 14px !important;
  min-height: 43px !important; border-radius: 12px !important;
}
body.hb-store-page .hb-game-card:hover,
.hb-store .hb-game-card:hover { border-color: #ffca18 !important; }
.hb-game-grid > .hb-game-card { height: 100%; }
@media (max-width: 520px) {
  body.hb-store-page .hb-game-card, .hb-store .hb-game-card { padding: 10px !important; border-radius: 16px !important; }
  body.hb-store-page .hb-card-main, .hb-store .hb-card-main { gap: 8px !important; }
  body.hb-store-page .hb-game-icon, .hb-store .hb-game-icon { width: 58px !important; height: 58px !important; flex-basis: 58px !important; }
}
