/* NPJ 1.3.2 - Four native product cards, one existing 2-column grid. */
.npj-extra-coverage .npj-extra-coverage-grid > .npj-extra-coverage-card{
  border-top:4px solid var(--npj-coverage-accent,#ec8127);
  box-sizing:border-box;
  height:100%;
}
.npj-extra-coverage .npj-extra-cover-anguila{--npj-coverage-accent:#f68d16}
.npj-extra-coverage .npj-extra-cover-king-lottery{--npj-coverage-accent:#a787d8}
.npj-extra-coverage .npj-extra-cover-powerball{--npj-coverage-accent:#2363bd}
.npj-extra-coverage .npj-extra-cover-mega-millions{--npj-coverage-accent:#eba922}
/* Match the native premium-card text/spacing/buttons, without extra layout rows. */
.npj-extra-coverage .npj-extra-cover-powerball,
.npj-extra-coverage .npj-extra-cover-mega-millions{margin:0;background:linear-gradient(120deg,#fff3dd,#fffbf4);border-right:1px solid #eed7bf;border-bottom:1px solid #eed7bf;border-left:1px solid #eed7bf}
.npj-extra-coverage .npj-extra-cover-powerball .npj-extra-premium-cta,
.npj-extra-coverage .npj-extra-cover-mega-millions .npj-extra-premium-cta{display:flex;flex-wrap:wrap;gap:9px;margin-top:6px}
/* No intermediate footer, header, or new results section. */
.npjusa-page .npjusa{margin-bottom:0!important;padding-bottom:0!important}
.npj-results-hub .npj-result-nums .npjunified-red-ball{background:#e72349!important;color:white!important}

/* v1.3.3 - The home promotes useful tools rather than operator duplicates. */
.npj-plus .npj-featured-tools{padding:32px 50px 58px;max-width:100%;background:#fffdf9}
.npj-featured-heading{max-width:830px;margin:0 0 25px}
.npj-featured-kicker{display:block;font-size:.74rem;letter-spacing:.14em;font-weight:900;color:#cc2140;margin-bottom:10px}
.npj-featured-heading h2{font-weight:900!important;color:#122d59!important;font-size:clamp(1.6rem,2.5vw,2.55rem)!important;line-height:1.17;margin:0 0 12px!important;letter-spacing:-.03em}
.npj-featured-heading p{margin:0;font-size:.98rem;line-height:1.55;color:#50617b}
.npj-featured-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.npj-featured-card{--featured:#1958b4;position:relative;display:flex;flex-direction:column;min-width:0;min-height:315px;gap:12px;padding:26px 24px;border-radius:21px;background:linear-gradient(165deg,#ffffff 45%,#f3f7ff);border:1px solid #d7e3f2;border-top:5px solid var(--featured);box-shadow:0 11px 27px #13254e09}
.npj-featured-panas{--featured:#e72c4b;background:linear-gradient(165deg,#fff 45%,#fff2f5)}
.npj-featured-favoritos{--featured:#2764bd}
.npj-featured-cartera{--featured:#078877;background:linear-gradient(165deg,#fff 45%,#f1fcf9)}
.npj-featured-top{display:flex;align-items:center;gap:11px;min-width:0}
.npj-featured-icon{width:46px;height:46px;flex:0 0 46px;display:grid;place-items:center;color:var(--featured);background:#fff;border:1px solid #e4eaf3;border-radius:14px;font-size:1.45rem}
.npj-featured-label{font-size:.7rem;letter-spacing:.095em;font-weight:950;color:var(--featured);line-height:1.3}
.npj-featured-card h3{font-size:clamp(1.35rem,1.8vw,1.85rem)!important;line-height:1.15;font-weight:900;color:#142e57!important;margin:7px 0 0!important;letter-spacing:-.025em}
.npj-featured-card p{margin:0!important;color:#485b76!important;line-height:1.58;flex-grow:1;font-size:.94rem}
.npj-featured-cta{display:inline-flex;align-items:center;justify-content:center;gap:8px;align-self:flex-start;border-radius:11px;padding:12px 17px;text-decoration:none!important;background:var(--featured);color:#fff!important;font-weight:850;min-height:46px;font-size:.88rem}
.npj-featured-cta:hover{filter:brightness(.92)}
@media(max-width:1050px){.npj-featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.npj-featured-card:last-child{grid-column:1/-1}}
@media(max-width:690px){.npj-plus .npj-featured-tools{padding:22px 15px 30px}.npj-featured-grid{grid-template-columns:1fr;gap:13px}.npj-featured-card{min-height:0;padding:21px 19px;gap:10px}.npj-featured-card:last-child{grid-column:auto}.npj-featured-cta{width:100%}.npj-featured-heading{margin-bottom:18px}}
/* Wallet makeover: presentation only. Existing inputs, records, balances and storage stay authoritative. */
.npj-0314-wallet .npj-0314-legal-hero{background:linear-gradient(120deg,#0e2352,#1a4280);padding:clamp(35px,5vw,70px) clamp(20px,4vw,55px);border-radius:0;color:#fff}
.npj-0314-wallet .npj-0314-legal-hero h1{color:#fff!important;line-height:1.12;letter-spacing:-.045em}
.npj-0314-wallet .npj-0314-legal-hero p{color:#deebff;max-width:700px;line-height:1.65}
.npj-0314-wallet .npj-0314-dashboard{background:#f3f6fc;padding:clamp(22px,3vw,40px) clamp(16px,4vw,55px) 26px}
.npj-0314-wallet .npj-0314-metrics{gap:15px}
.npj-0314-wallet .npj-0314-metrics article{background:#fff;border:1px solid #dbe5f2;border-radius:17px;box-shadow:0 7px 22px #1b416b0b;min-width:0}
.npj-0314-wallet .npj-0314-metrics strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.npj-0314-wallet .npj-0314-card{box-shadow:0 9px 22px #23416c0b;min-width:0}
.npj-0314-wallet .npj-0314-card h2{color:#15315e!important;font-weight:900;line-height:1.2}
.npj-0314-wallet .npj-0314-split{gap:20px}
.npj-0314-wallet .npj-0314-card :is(input,select){font-size:1rem;max-width:100%;min-width:0}
.npj-0314-wallet .npj-0314-small{margin:20px 0 0;line-height:1.55}
@media(max-width:690px){.npj-0314-wallet .npj-0314-dashboard{padding:20px 14px 16px}.npj-0314-wallet .npj-0314-metrics{grid-template-columns:1fr;gap:10px}.npj-0314-wallet .npj-0314-legal-hero{padding:32px 20px}.npj-0314-wallet .npj-0314-card{padding:20px 16px}}

/* 1.3.4 - Mi Cartera: hero native, enriched without changing its data or layout shell. */
.npj-0314-wallet .npj-0314-legal-hero{
 position:relative; isolation:isolate; overflow:hidden;
 display:grid;grid-template-columns:minmax(0,1.3fr) minmax(260px,.7fr);
 align-content:center;align-items:center;column-gap:clamp(24px,5vw,80px);
 min-height:465px; padding-top:clamp(48px,5vw,80px); padding-bottom:clamp(48px,5vw,80px);
 background:radial-gradient(ellipse at 85% 25%,#3158a6 0,transparent 33%),linear-gradient(115deg,#0b1839 0%,#112a62 64%,#25478c 100%);
}
.npj-0314-wallet .npj-0314-legal-hero>span,
.npj-0314-wallet .npj-0314-legal-hero>h1,
.npj-0314-wallet .npj-0314-legal-hero>p,
.npj-0314-wallet .npj-wallet-hero-actions{grid-column:1;position:relative;z-index:1;}
.npj-0314-wallet .npj-0314-legal-hero>span{font-size:.77rem;font-weight:900;letter-spacing:.14em;color:#ffc95b;}
.npj-0314-wallet .npj-0314-legal-hero>h1{font-size:clamp(2.75rem,5vw,4.9rem)!important;line-height:1.08!important;letter-spacing:-.025em!important;word-spacing:.11em!important;margin:22px 0 18px!important;max-width:760px;}
.npj-0314-wallet .npj-0314-legal-hero>p{color:#dce8ff;font-size:clamp(1.02rem,1.35vw,1.24rem);line-height:1.7;margin:0;max-width:650px;}
.npj-0314-wallet .npj-wallet-hero-actions{display:flex;gap:11px;flex-wrap:wrap;margin-top:25px;}
.npj-0314-wallet .npj-wallet-hero-actions a{border:1px solid #ed2b4a;background:#ed2b4a;min-height:48px;border-radius:12px;padding:12px 18px;color:#fff!important;text-decoration:none!important;font-weight:850;font-size:.9rem;display:inline-flex;align-items:center;gap:10px;}
.npj-0314-wallet .npj-wallet-hero-actions .npj-wallet-hero-secondary{background:#ffffff10;border-color:#ffffff60;}
.npj-0314-wallet .npj-wallet-hero-art{grid-column:2;grid-row:1/span 4;align-self:center;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:315px;}
.npj-0314-wallet .npj-wallet-hero-orbit{height:305px;width:305px;max-width:94%;position:relative;border:1px solid #ffffff50;border-radius:50%;box-shadow:0 0 0 21px #ffffff06,0 0 0 45px #ffffff04;}
.npj-0314-wallet .npj-wallet-hero-ball{position:absolute;width:120px;height:120px;display:grid;place-items:center;font-size:2.55rem;font-weight:900;border-radius:50%;color:#fff;border:5px solid #ffffff75;box-shadow:0 18px 25px #08122d65;}
.npj-0314-wallet .npj-wallet-hero-blue{top:12%;left:-9%;background:linear-gradient(145deg,#5f93f4,#2660c8);}
.npj-0314-wallet .npj-wallet-hero-light{top:-12%;right:-6%;color:#164689;background:linear-gradient(150deg,#fff,#e1e9f5);}
.npj-0314-wallet .npj-wallet-hero-red{bottom:-10%;right:12%;background:linear-gradient(150deg,#fc6272,#e92f50);}
.npj-0314-wallet .npj-wallet-hero-art-caption{margin-top:32px;text-transform:uppercase;font-size:.66rem;color:#dfeaff;font-weight:900;letter-spacing:.16em;}
.npj-0314-wallet .npj-0314-dashboard{background:#f2f6fc;}
.npj-0314-wallet :is(.npj-0314-metrics,.npj-0314-split){max-width:1310px;margin-left:auto;margin-right:auto;}
.npj-0314-wallet .npj-0314-metrics article{border-top:4px solid #2865bc;}
.npj-0314-wallet .npj-0314-metrics article:nth-child(2){border-top-color:#eeac2a;}
.npj-0314-wallet .npj-0314-metrics article:nth-child(3){border-top-color:#0c946f;}
@media(max-width:900px){
 .npj-0314-wallet .npj-0314-legal-hero{grid-template-columns:minmax(0,1fr) 210px;min-height:350px;column-gap:18px;}
 .npj-0314-wallet .npj-wallet-hero-orbit{transform:scale(.73);}
}
@media(max-width:690px){
 .npj-0314-wallet .npj-0314-legal-hero{display:block;min-height:0;padding:48px 20px!important;}
 .npj-0314-wallet .npj-0314-legal-hero>h1{font-size:clamp(2.45rem,10vw,3.5rem)!important;}
 .npj-0314-wallet .npj-wallet-hero-art{display:none;}
 .npj-0314-wallet .npj-wallet-hero-actions a{flex:1 1 220px;justify-content:center;}
}

/* v1.3.5 — Editorial FAQs inside core's existing shell; no new global footer. */
.npj-0314-wallet .npj-seo-faq,
.npj-plus-frequency-page .npj-seo-faq{
  background:#f2f5fb;
  padding:clamp(35px,4.5vw,62px) clamp(18px,5vw,64px) clamp(28px,3vw,44px);
  color:#152e59;margin:0!important;box-sizing:border-box;min-width:0
}
.npj-0314-wallet .npj-seo-faq{background:#f5f8ff}
.npj-0314-wallet .npj-seo-faq > *,
.npj-plus-frequency-page .npj-seo-faq > *{max-width:1100px;margin-left:auto;margin-right:auto}
.npj-seo-faq-intro{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin-bottom:25px}
.npj-seo-faq-kicker{font-size:.74rem;letter-spacing:.16em;color:#dc2744;font-weight:900}
.npj-seo-faq-intro h2{font-size:clamp(1.7rem,3vw,2.55rem)!important;color:#152e59!important;line-height:1.18!important;margin:0!important;letter-spacing:-.02em!important;word-spacing:normal!important;max-width:850px}
.npj-seo-faq-intro p{font-size:1rem;line-height:1.65;color:#526784;max-width:780px;margin:0!important}
.npj-seo-faq-items{display:grid;gap:11px}
.npj-seo-faq-item{border:1px solid #d7e2f3;border-radius:14px;background:#fff;min-width:0;overflow:hidden}
.npj-seo-faq-item summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;padding:19px 20px;color:#132f5a;font-weight:800;font-size:clamp(.95rem,1.7vw,1.07rem);line-height:1.5;list-style:none;overflow-wrap:break-word}
.npj-seo-faq-item summary::-webkit-details-marker{display:none}
.npj-seo-faq-item summary:focus-visible{outline:3px solid #2467bd;outline-offset:-3px}
.npj-seo-faq-plus{font-size:1.5rem;font-weight:500;color:#2360b5;flex:0 0 auto;line-height:1}
.npj-seo-faq-item[open] .npj-seo-faq-plus{transform:rotate(45deg)}
.npj-seo-faq-answer{border-top:1px solid #ebf0f8;padding:5px 20px 19px}
.npj-seo-faq-answer p{font-size:.94rem!important;line-height:1.75;color:#536884;margin:9px 0 0!important}
.npj-0314-wallet .npj-plus-page,
.npj-plus-frequency-page .npj-plus-page{padding-bottom:0!important;margin-bottom:0!important}
@media(max-width:690px){
 .npj-0314-wallet .npj-seo-faq,.npj-plus-frequency-page .npj-seo-faq{padding:32px 15px 23px}
 .npj-seo-faq-intro{gap:10px;margin-bottom:18px}
 .npj-seo-faq-item summary{padding:16px 14px}
 .npj-seo-faq-answer{padding:4px 14px 17px}
}

/* 1.3.6 — Más salidos: cobertura histórica del índice compartido. */
.npjvp-frequency-history .npj-frequency-coverage{max-width:1000px;margin:0 0 27px;background:#eef4fd;border:1px solid #d7e5f5;border-radius:15px;padding:16px 20px;color:#38516d}
.npjvp-frequency-history .npj-frequency-coverage-head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;margin-bottom:10px;font-size:.88rem}
.npjvp-frequency-history .npj-frequency-coverage-head strong{color:#142e55}
.npjvp-frequency-history .npj-frequency-coverage progress{display:block;width:100%;height:11px;accent-color:#215db3;border-radius:9px}
.npjvp-frequency-history .npj-frequency-coverage p{font-size:.85rem;line-height:1.55;margin:12px 0 0!important;color:#536883}
.npjvp-frequency-history .npj-stats-summary{margin:10px 0 18px!important}
@media(max-width:600px){.npjvp-frequency-history .npj-frequency-coverage{padding:14px}.npjvp-frequency-history .npj-stats-summary{display:block}.npjvp-frequency-history .npj-stats-summary strong{display:block;margin-bottom:5px}}

/* 1.3.7: Keep the visitor at the statistics after submitting the historical filters.
   Safari follows the server-rendered anchor; no automatic scroll on initial visits. */
.npjvp-frequency-history .npj-frequency-results-anchor {
  display:block; height:1px; margin:0; padding:0;
  scroll-margin-top:clamp(90px,10vh,126px);
}
