/* StarPay Cash — encuestas-y-muros.css
   Encuestas, socios, juegos y offerwalls.
   Reglas separadas del CSS original; conserva los nombres de clases existentes.
*/

@media (max-width:700px) {
#koadsFilterBar button{ font-size:0 !important; }
#koadsFilterBar button span:not(:first-child){ display:none !important; }
#koadsFilterBar svg{ width:22px !important; height:22px !important; }
}

/* OFFERWALL.GG: conserva el muro firmado y el cierre que ya funcionan */

.offerwallgg-modal{isolation:isolate}

.offerwallgg-modal #owg-wall{display:block!important;width:100%!important;height:100%!important;background:#fff!important;border:0!important}

.offerwallgg-modal .owg-close-button{opacity:.96;transition:transform .16s ease,opacity .16s ease,box-shadow .16s ease}

.offerwallgg-modal .owg-close-button:hover{opacity:1;transform:scale(1.04);box-shadow:0 5px 16px rgba(15,23,42,.2)}

.offerwallgg-modal .owg-close-button:active{transform:scale(.96)}

@media (max-width:600px) {
.offerwallgg-modal-wrapper{padding:0!important}
.offerwallgg-modal{width:100%!important;height:100vh!important;height:100dvh!important;max-height:none!important;min-height:0!important;border-radius:0!important}
.offerwallgg-modal .owg-close-button{top:8px;right:8px;width:34px;height:34px}
}

.offerwall-grid{width:100%!important;gap:14px!important;align-items:stretch!important}

.offerwall-grid>.starpay-paypal-wall-card{
  display:flex!important;flex-direction:column!important;min-width:0!important;width:100%!important;max-width:100%!important;min-height:208px!important;
  flex:initial!important;background:#fff!important;color:#0F172A!important;
  border:2px solid #0F172A!important;border-radius:18px!important;
  box-shadow:4px 4px 0 #0F172A!important;overflow:hidden!important;
  transition:transform .16s ease,box-shadow .16s ease!important;
}

.offerwall-grid>.starpay-paypal-wall-card:hover{
  transform:translateY(-2px)!important;border-color:#0F172A!important;
  box-shadow:5px 6px 0 #0F172A!important;
}

.offerwall-grid>.starpay-paypal-wall-card:active{transform:scale(.985)!important}

.offerwall-grid>.starpay-paypal-wall-card>div[style*="height:96px"]{
  height:88px!important;min-height:88px!important;flex:0 0 88px!important;
  background:linear-gradient(135deg,#EFFAFF,#DDF4FF)!important;
  border-bottom:2px solid #0F172A!important;padding:10px!important;
}

.offerwall-grid>.starpay-paypal-wall-card>div[style*="height:96px"]>div[style*="radial-gradient"]{display:none!important}

.offerwall-grid>.starpay-paypal-wall-card>div[style*="height:96px"] img{
  max-width:130px!important;max-height:58px!important;width:auto!important;height:auto!important;
  object-fit:contain!important;background:#fff!important;padding:5px!important;
  border:1.5px solid #0F172A!important;border-radius:12px!important;
  box-shadow:2px 2px 0 #0F172A!important;filter:none!important;
}

.offerwall-grid>.starpay-paypal-wall-card>div[style*="padding:13px 14px 14px"]{
  display:flex!important;flex-direction:column!important;flex:1 1 auto!important;
  min-width:0!important;padding:11px 12px 12px!important;background:#fff!important;
}

.offerwall-grid>.starpay-paypal-wall-card>div[style*="padding:13px 14px 14px"]>div:first-child{
  min-height:22px!important;display:flex!important;align-items:center!important;gap:6px!important;margin-bottom:8px!important;flex-wrap:wrap!important;
}

.offerwall-grid>.starpay-paypal-wall-card>div[style*="padding:13px 14px 14px"]>div:first-child>span:first-child{
  background:#EFFAFF!important;color:#0F172A!important;border:1px solid #0F172A!important;border-radius:8px!important;
}

.offerwall-grid>.starpay-paypal-wall-card>div[style*="padding:13px 14px 14px"]>div:first-child>span:nth-child(2){
  color:#008A68!important;font-weight:850!important;
}

.offerwall-grid>.starpay-paypal-wall-card>div[style*="padding:13px 14px 14px"]>div:nth-child(2){
  color:#0F172A!important;font-size:14px!important;font-weight:900!important;line-height:1.2!important;margin:0 0 4px!important;
}

.offerwall-grid>.starpay-paypal-wall-card>div[style*="padding:13px 14px 14px"]>div:nth-child(3){
  color:#64748B!important;font-size:10.5px!important;font-weight:600!important;line-height:1.35!important;
}

.offerwall-grid>.starpay-paypal-wall-card>div:first-child[style*="position:absolute"]{
  top:8px!important;right:8px!important;border:1.5px solid #0F172A!important;
  border-radius:8px!important;box-shadow:2px 2px 0 #0F172A!important;
  font-size:9px!important;padding:4px 7px!important;letter-spacing:.02em!important;
}

@media (max-width:380px) {
.offerwall-grid{gap:10px!important}
.offerwall-grid>.starpay-paypal-wall-card{min-height:198px!important;border-radius:15px!important;box-shadow:3px 3px 0 #0F172A!important}
.offerwall-grid>.starpay-paypal-wall-card>div[style*="height:96px"]{height:78px!important;min-height:78px!important;flex-basis:78px!important;padding:8px!important}
.offerwall-grid>.starpay-paypal-wall-card>div[style*="padding:13px 14px 14px"]{padding:9px 9px 10px!important}
.offerwall-grid>.starpay-paypal-wall-card>div[style*="padding:13px 14px 14px"]>div:nth-child(2){font-size:12.5px!important}
.offerwall-grid>.starpay-paypal-wall-card>div[style*="padding:13px 14px 14px"]>div:nth-child(3){font-size:9.5px!important}
}

/* CPX Research: vuelve a mostrar el wordmark nítido */

.offerwall-grid>.starpay-paypal-wall-card[onclick="openCPX()"]>div[style*="height:96px"] img{
  display:block!important;visibility:visible!important;opacity:1!important;
  width:min(100%,190px)!important;max-width:190px!important;height:auto!important;max-height:52px!important;
  object-fit:contain!important;background:#fff!important;padding:7px 9px!important;
  border:1.5px solid #0F172A!important;border-radius:10px!important;
}

/* OFFERWALL.GG: modal centrado en un marco como CPX y TimeWall.
   El iframe, la URL firmada y el cierre permanecen intactos. */

.offerwallgg-modal-wrapper{
  position:fixed!important;inset:0!important;padding:8px!important;
  width:100%!important;height:100vh!important;height:100dvh!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  overflow:auto!important;background:rgba(15,23,42,.88)!important;
}

.offerwallgg-modal{
  position:relative!important;inset:auto!important;
  display:flex!important;flex-direction:column!important;
  width:calc(100% - 24px)!important;max-width:760px!important;
  height:82vh!important;height:82dvh!important;
  max-height:720px!important;min-height:320px!important;
  margin:auto!important;background:#fff!important;
  border:0!important;border-radius:18px!important;
  box-shadow:0 24px 70px rgba(0,0,0,.5)!important;
  overflow:hidden!important;
}

.offerwallgg-modal #owg-wall{
  display:block!important;flex:1 1 auto!important;
  width:100%!important;height:100%!important;min-height:0!important;
  border:0!important;background:#fff!important;
}

.offerwallgg-modal .owg-close-button{
  top:10px!important;right:10px!important;
}

@media (max-width:480px) {
.offerwallgg-modal{width:calc(100% - 12px)!important;height:84vh!important;height:84dvh!important;max-height:84dvh!important;min-height:300px!important;border-radius:15px!important}
}

.cpx-survey-section.starpay-paypal-survey-banner{
  background:#fff!important;color:#0F172A!important;
  border:2px solid #0F172A!important;border-radius:15px!important;
  box-shadow:4px 4px 0 #0F172A!important;padding:13px!important;
}

.cpx-survey-section .sp-cpx-survey-heading{
  min-height:42px!important;padding:8px 10px!important;margin-bottom:12px!important;
  background:#fff!important;border:1.5px solid #0F172A!important;
  border-radius:11px!important;box-shadow:2px 2px 0 #0F172A!important;
}

.cpx-survey-section .sp-cpx-survey-title{color:#0F172A!important;font-size:15px!important;font-weight:950!important}

.cpx-survey-section .sp-cpx-survey-refresh{
  background:#EAF8FF!important;color:#0070BA!important;
  border:2px solid #0F172A!important;border-radius:9px!important;
  box-shadow:2px 2px 0 #0F172A!important;padding:7px 10px!important;
  font-size:10px!important;font-weight:900!important;
}

.cpx-survey-section .sp-cpx-survey-refresh svg{width:14px!important;height:14px!important}

.cpx-survey-section #cpxSurveyWidgetStatus{
  background:#fff!important;border:1.5px dashed #0F172A!important;
  border-radius:11px!important;color:#334155!important;
}

.starpay-partners-heading{
  min-height:48px!important;margin:16px 0 14px!important;padding:8px 10px!important;
  background:#fff!important;border:2px solid #0F172A!important;
  border-radius:13px!important;box-shadow:3px 3px 0 #0F172A!important;
}

.starpay-partners-icon{
  background:#EAF8FF!important;border:1.5px solid #0F172A!important;
  border-radius:9px!important;box-shadow:2px 2px 0 #0F172A!important;
}

.starpay-partners-icon svg{width:19px!important;height:19px!important;display:block!important}

.starpay-partners-heading h2{color:#0F172A!important;font-size:15px!important;font-weight:950!important}

.starpay-partners-rate{
  margin-left:auto!important;white-space:nowrap!important;
  background:#EAF8FF!important;color:#0070BA!important;
  border:1.5px solid #0F172A!important;border-radius:9px!important;
  box-shadow:2px 2px 0 #0F172A!important;padding:6px 9px!important;
  font-size:10px!important;font-weight:950!important;
}

@media (max-width:380px) {
.starpay-partners-heading{gap:7px!important;padding:7px 8px!important}
.starpay-partners-heading h2{font-size:13px!important}
.starpay-partners-rate{font-size:9px!important;padding:5px 7px!important}
}

/* TPLAYAD: header oscuro para que logo blanco se vea, no toca otros muros */

.offerwall-grid>.starpay-paypal-wall-card[onclick="window.openGameWall('tplayad')"]>div[style*="height:96px"]{background:linear-gradient(135deg,#0B2E2A,#134E4A)!important;border-bottom:2px solid #0F172A!important;}

.offerwall-grid>.starpay-paypal-wall-card[onclick="window.openGameWall('tplayad')"]>div[style*="height:96px"] img{background:#0B2E2A!important;border:1.5px solid #0B2E2A!important;padding:5px!important;}

/* ===== CSS original #8; id=fix-socios-encuestas-final ===== */

/* SOCIOS DE ENCUESTAS CHIQUITOS, CON DESLIZAR DE LADO - COMPU Y CELULAR */

html body .starpay-partners-heading + .offerwall-grid,
html body .offerwall-grid{
  display:flex!important;
  flex-wrap:nowrap!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  -webkit-overflow-scrolling:touch!important;
  scrollbar-width:none!important;
  gap:12px!important;
  padding-bottom:8px!important;
  align-items:stretch!important;
  scroll-snap-type:x mandatory!important;
}

html body .offerwall-grid::-webkit-scrollbar{display:none!important}

html body .offerwall-grid > .fc-card,
html body .offerwall-grid > .starpay-paypal-wall-card{
  flex:0 0 152px!important;
  width:152px!important;
  min-width:152px!important;
  max-width:152px!important;
  min-height:0!important;
  border-radius:16px!important;
  scroll-snap-align:start!important;
}

html body .offerwall-grid > .fc-card > div[style*="height:96px"],
html body .offerwall-grid > .starpay-paypal-wall-card > div[style*="height:96px"]{
  height:62px!important; min-height:62px!important; flex-basis:62px!important; padding:8px!important;
}

html body .offerwall-grid > .fc-card > div[style*="height:96px"] img,
html body .offerwall-grid > .starpay-paypal-wall-card > div[style*="height:96px"] img{
  max-width:84px!important; max-height:28px!important;
}

html body .offerwall-grid > .fc-card > div[style*="padding:13px"],
html body .offerwall-grid > .starpay-paypal-wall-card > div[style*="padding:13px"]{
  padding:10px 10px 11px!important;
}

html body .offerwall-grid > .fc-card > div[style*="padding:13px"] > div:nth-child(2),
html body .offerwall-grid > .starpay-paypal-wall-card > div[style*="padding:13px"] > div:nth-child(2){
  font-size:12.5px!important; margin-bottom:2px!important;
}

html body .offerwall-grid > .fc-card > div[style*="padding:13px"] > div:nth-child(3),
html body .offerwall-grid > .starpay-paypal-wall-card > div[style*="padding:13px"] > div:nth-child(3){
  font-size:10px!important; line-height:1.3!important;
}

/* JUEGOS KOADS AMPLIO EN COMPU COMO ENCUESTAS, EN CELULAR NO SE TOCA */

@media (min-width:701px) {
html body .koads-games-banner{ max-width:1600px!important; width:100%!important; margin:0 auto!important; padding:0!important; box-sizing:border-box!important; }
html body .koads-games-banner > div{ padding:20px 22px!important; box-sizing:border-box!important; }
html body #koadsApiGamesGrid{ grid-template-columns:repeat(auto-fill,minmax(72px,1fr))!important; gap:14px!important; }
}

@media (min-width:701px) {
html body .cpx-survey-section{
    max-width:1600px!important; width:100%!important; margin:0 auto 14px auto!important;
    padding:20px 22px!important; box-sizing:border-box!important;
  }
html body #cpxSurveyWidgetShell{
    max-width:1600px!important; width:100%!important; margin:0 auto!important;
  }
html body .cpx-survey-section #cpxSurveyCards{
    max-width:1600px!important; width:100%!important; margin:0 auto!important;
    display:grid!important;
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    gap:12px!important;
    align-items:stretch!important;
  }
html body .cpx-survey-section #cpxSurveyCards article,
  html body .cpx-survey-section #cpxSurveyCards .cpx-brutal-new{
    min-height:0!important; height:auto!important;
    padding:10px 10px 10px!important;
    border-radius:12px!important;
    border-width:2px!important;
    box-shadow:3px 3px 0 #000!important;
  }
html body .cpx-survey-section #cpxSurveyCards .cpx-survey-header{
    min-height:0!important; height:auto!important; padding:0!important;
  }
html body .cpx-survey-section #cpxSurveyCards .cpx-survey-details{
    padding:8px 0 0!important; gap:6px!important;
  }
html body .cpx-survey-section #cpxSurveyCards .cpx-survey-reward{font-size:16px!important; line-height:1.1!important}
html body .cpx-survey-section #cpxSurveyCards .cpx-survey-duration{font-size:10px!important}
}

@media (max-width:700px) {
html body .cpx-survey-section{max-width:440px!important}
html body .cpx-survey-section #cpxSurveyCards{grid-template-columns:repeat(3,minmax(0,1fr))!important; gap:10px!important}
}
