/* GyanPilot public homepage energy layer; no dependencies and homepage-only selectors. */
:root{--gp-navy:#091c42;--gp-navy2:#132d61;--gp-gold:#ffc44e;--gp-saffron:#f69226;--gp-white:#fff;--gp-ink:#152c52}
html{scroll-behavior:smooth}body{overflow-x:hidden}
#top .gp-energy-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1.12fr) minmax(320px,.88fr);align-items:center;gap:clamp(28px,5vw,70px);padding:clamp(28px,3vw,48px) clamp(18px,3vw,46px)!important;min-height:0;background:linear-gradient(125deg,var(--gp-navy) 10%,var(--gp-navy2) 92%);color:#fff;border-radius:0 0 42px 42px;max-width:none;width:100%;box-sizing:border-box}
#top .gp-energy-hero:before,#top .gp-energy-hero:after{content:"";z-index:-1;position:absolute;border-radius:50%;pointer-events:none;filter:blur(15px)}
#top .gp-energy-hero:before{width:min(49vw,650px);height:min(49vw,650px);right:-12%;top:-36%;background:radial-gradient(circle,#ffb64355,transparent 68%)}
#top .gp-energy-hero:after{width:min(38vw,450px);height:min(38vw,450px);left:3%;bottom:-20%;background:radial-gradient(circle,#ed772b50,transparent 67%)}
.gp-hero-content{max-width:700px;justify-self:end;width:100%}.gp-hero-tagline{font-size:12px;letter-spacing:.22em;color:#ffce75;font-weight:850;margin-bottom:23px}.gp-hero-tagline span{padding:0 8px;color:#f28a32}
#top .gp-energy-hero h1{font-family:Poppins,system-ui,sans-serif;font-size:clamp(32px,4.1vw,64px);line-height:1.13;letter-spacing:-.045em;font-weight:850;color:#fff;margin:0 0 23px}.gp-gold-text{color:#ffd06b;background:linear-gradient(90deg,#ffe2a5,#ffb82d);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.gp-hero-lead{font-size:clamp(16px,1.5vw,20px);line-height:1.65;color:#e1eaff;max-width:600px}.gp-hero-actions{margin-top:30px;display:flex;align-items:flex-start;flex-direction:column;gap:15px}
a.gp-primary-cta{color:#fff;background:#FF7A00;border-radius:16px;padding:17px 25px;text-decoration:none;font-size:16px;font-weight:900;box-shadow:0 10px 32px #ff7a0060;display:inline-flex;gap:20px;align-items:center;transition:transform .22s,box-shadow .22s}
a.gp-primary-cta:hover,a.gp-primary-cta:focus-visible{transform:translateY(-4px);box-shadow:0 18px 46px #ff7a0099}.gp-hero-links{display:flex;gap:24px;flex-wrap:wrap}.gp-hero-links a{color:#f5f7ff;text-decoration:underline;text-underline-offset:5px;font-weight:750}.gp-hero-links a:hover{color:#ffca68}.gp-hero-assurance{font-size:12px!important;color:#cbd7f3!important;margin-top:24px}
.gp-hero-quiz{position:relative;width:min(100%,465px);justify-self:start;transform:rotate(2deg);animation:gpFloat 6s ease-in-out infinite}.gp-sample-badge{position:absolute;top:-19px;right:14px;background:#ffcd53;color:#203050;padding:9px 17px;border-radius:100px;font-size:13px;font-weight:900;z-index:2;box-shadow:0 10px 25px #0003}
.gp-quiz-frame{background:#fff;color:#172c52;border-radius:24px;padding:clamp(22px,3vw,37px);box-shadow:0 28px 75px #020d3188;border:2px solid #fff4db}.gp-quiz-meta{display:flex;justify-content:space-between;font-weight:850;font-size:11px;letter-spacing:.1em;color:#566a89}.gp-quiz-bar{height:7px;margin:16px 0 24px;background:#e7ecf8;border-radius:99px;overflow:hidden}.gp-quiz-bar span{display:block;width:33%;height:100%;background:linear-gradient(90deg,#ff982c,#ffd064);transition:width .35s}.gp-quiz-frame h2{font-family:Poppins,system-ui,sans-serif;font-size:clamp(20px,2vw,27px);line-height:1.32;color:#172b50;margin:0 0 18px}.gp-quiz-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.gp-quiz-choice{cursor:pointer;background:#f7f9fe;border:2px solid #e0e7f3;border-radius:12px;color:#24375d;padding:14px 12px;font-size:17px;font-weight:850;min-height:54px;transition:transform .2s,background .2s,border-color .2s}.gp-quiz-choice:hover:not(:disabled){transform:translateY(-3px);border-color:#ffae3b;background:#fffaef}.gp-quiz-choice.gp-correct{border-color:#16a16b;background:#d7f7e6;color:#08774c}.gp-quiz-choice.gp-wrong{border-color:#db4b50;background:#fff0f0;color:#b72b37;animation:gpShake .3s}.gp-quiz-choice:disabled{cursor:default}.gp-quiz-feedback{min-height:22px;font-size:13px;margin-top:10px;color:#335173;font-weight:700}.gp-quiz-feedback.is-correct{color:#087a56}.gp-quiz-feedback.is-wrong{color:#b32d36}.gp-quiz-next{border:0;border-radius:12px;background:#142d61;color:white;padding:11px 15px;font-size:13px;font-weight:800;cursor:pointer}.gp-quiz-next[hidden]{display:none!important}.gp-quiz-foot{border-top:1px solid #e6eaf2;margin-top:17px;padding-top:15px;text-align:center}.gp-quiz-foot a{color:#b96512;font-size:13px;font-weight:850;text-decoration:none}.gp-quiz-frame.gp-celebrate:after{content:'✦  ✧  ✦';position:absolute;color:#f7bd39;right:17%;top:15%;pointer-events:none;font-size:22px;animation:gpStars .75s forwards}
.gp-stats-band{background:#0d2451;color:white;padding:27px 16px}.gp-stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0;text-align:center}.gp-stats-grid>div{display:grid;gap:5px}.gp-stats-grid strong{color:#ffc353;font-family:Poppins,system-ui,sans-serif;font-size:clamp(25px,3.1vw,44px);line-height:1.2;font-weight:900}.gp-stats-grid span{font-size:13px;color:#e8edf9;font-weight:750}
#top #learn,#top #gp-production-games,#top #play,#top #pricing,#top #full-curriculum{padding-top:clamp(60px,7vw,100px);padding-bottom:clamp(60px,7vw,100px)}
#top .section-head h2{font-size:clamp(28px,3.6vw,49px)!important;line-height:1.17!important;font-weight:850!important;letter-spacing:-.03em}#top .section-head p{font-size:16px!important;line-height:1.65}#top .section-head .eyebrow{font-weight:900;letter-spacing:.14em;color:#c87c0c}
#top #learn{background:#fffaf0;border-radius:0;margin-top:0}.gp-learning-section .path{background:transparent!important;box-shadow:none!important}.gp-learning-section .path-icon{background:linear-gradient(135deg,#ffe0a0,#ffb343);border-radius:16px}.gp-learning-section #classes .choice{font-weight:850;transition:transform .2s,box-shadow .2s}.gp-learning-section #classes .choice:hover{transform:translateY(-3px);box-shadow:0 12px 22px #1c24471a}
#top #gp-production-games{background:#f6f9ff;border-radius:0;margin-top:0}.gp-age-filter{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 10px}.gp-age-filter button{background:#e8edf9;border:0;border-radius:100px;padding:11px 18px;font-weight:850;color:#1d3963;cursor:pointer;transition:transform .2s}.gp-age-filter button:hover{transform:translateY(-2px)}.gp-age-filter .is-active{background:linear-gradient(120deg,#f8a536,#ffcd64);color:#18294e;box-shadow:0 9px 20px #e7a23e45}.gp-real-game-groups .gp-real-age-card{transition:transform .2s,box-shadow .2s;border-radius:20px}.gp-real-game-groups .gp-real-age-card:hover{transform:translateY(-4px);box-shadow:0 18px 32px #1b2e541b}.gp-real-game-chip{border-radius:12px!important;transition:transform .2s}.gp-real-game-chip:hover{transform:translateY(-2px)}.gp-real-game-chip:before{content:'✦';display:inline-grid;place-items:center;width:24px;height:24px;background:#f8b954;color:#152e54;border-radius:8px;margin-right:7px;font-size:12px}
#top #play{background:#fff}.gp-play-section .activity{transition:transform .2s,box-shadow .2s}.gp-play-section .activity:hover:not(:disabled){transform:translateY(-4px);box-shadow:0 14px 24px #1c29521e}.gp-play-section .activity .ico{background:linear-gradient(135deg,#ffe2a7,#ffbb64);color:#213657!important;width:57px;height:57px;border-radius:16px;display:grid;place-items:center;font-size:24px;font-weight:900!important}.gp-play-section .activity:nth-child(3n+2) .ico{background:linear-gradient(135deg,#ffce77,#FF7A00)}.gp-play-section .activity:nth-child(3n) .ico{background:linear-gradient(135deg,#102B59,#315d9c)}
#top .features{display:grid;gap:18px;grid-template-columns:repeat(3,1fr);padding-top:30px;padding-bottom:62px}.gp-feature-symbol{width:58px;height:58px;display:grid;place-items:center;border-radius:18px;background:linear-gradient(135deg,#ffd16b,#ff9d39);color:#14294d;font-size:30px;font-weight:850}.feature{border-radius:21px!important;padding:26px!important;box-shadow:0 12px 34px #14284c0d}.feature h3{font-size:clamp(19px,2vw,24px)!important;line-height:1.3}.feature p{line-height:1.6}
#top #pricing{background:#fff9eb;border-radius:0;margin-top:0}.gp-pricing-section .membership-grid{gap:25px}.gp-pricing-section .plan-card{position:relative;overflow:hidden;border-radius:22px!important;padding:32px!important;box-shadow:0 18px 45px #192b4a12;transition:transform .2s}.gp-pricing-section .plan-card:hover{transform:translateY(-5px)}.gp-best-ribbon{position:absolute;top:18px;right:-29px;transform:rotate(35deg);background:#ffc24b;color:#1b2944;font-size:11px;font-weight:900;letter-spacing:.1em;padding:9px 36px}.gp-plan-cta{display:inline-block;margin-top:17px;padding:13px 17px;border-radius:12px;background:#FF7A00;color:#fff!important;text-decoration:none;font-weight:900;box-shadow:0 10px 20px #e99d3840}.gp-plan-cta:hover{transform:translateY(-2px)}
#top #full-curriculum{background:#fff}.gp-full-curriculum .gp-public-curriculum{gap:15px}.gp-full-curriculum .gp-class-tile{border-top:5px solid var(--grade-color,#f3a23d);border-radius:18px!important;overflow:hidden;transition:transform .2s,box-shadow .2s}.gp-full-curriculum .gp-class-tile:hover{transform:translateY(-5px);box-shadow:0 18px 30px #17285020}.gp-class-stats{font-weight:850;color:#17385e;font-size:13px}.gp-class-topics{font-size:12px;line-height:1.5;color:#596c89}.gp-class-cta{margin-top:8px;color:#c47c19;font-size:13px;font-weight:900}
.gp-final-band{background:linear-gradient(110deg,#f49b28,#ffcd5d);padding:58px 18px;color:#14274a}.gp-final-inner{display:flex;justify-content:space-between;align-items:center;gap:26px}.gp-final-band h2{font-family:Poppins,system-ui,sans-serif;font-size:clamp(28px,4vw,48px);line-height:1.16;color:#13264d;margin:8px 0}.gp-final-band p{color:#293959;font-weight:750;margin:0}.gp-final-kicker{font-weight:900;letter-spacing:.14em;font-size:11px}.gp-final-button{display:inline-flex;white-space:nowrap;background:#0f2b5a;color:white!important;padding:17px 23px;text-decoration:none;font-weight:900;border-radius:13px;box-shadow:0 15px 28px #17335a40;transition:transform .2s}.gp-final-button:hover{transform:translateY(-3px)}
.gp-reveal{opacity:0;transform:translateY(25px);transition:opacity .65s,transform .65s}.gp-reveal.gp-in-view{opacity:1;transform:none}
@keyframes gpFloat{0%,100%{transform:rotate(2deg) translateY(0)}50%{transform:rotate(1deg) translateY(-12px)}}@keyframes gpShake{0%,100%{transform:translateX(0)}25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}@keyframes gpStars{from{opacity:1;transform:translateY(0) scale(.6)}to{opacity:0;transform:translateY(-40px) scale(1.4)}}
/* Targeted polish, keeping all existing navigation and practice hooks. */
#top .gp-stats-grid>div{position:relative;padding:4px 16px}
#top .gp-stats-grid>div:not(:last-child)::after{content:"";position:absolute;right:0;top:16%;height:68%;width:1px;background:linear-gradient(transparent,#FFC44E,transparent)}
/* Edge-to-edge backgrounds, with a consistent centred reading width. */
#top #learn,#top #gp-production-games,#top #play,#top #pricing,#top #full-curriculum,#top .features{
 width:100%;max-width:none;box-sizing:border-box;margin-left:0;margin-right:0;
 padding-left:max(24px,calc((100vw - 1240px)/2));padding-right:max(24px,calc((100vw - 1240px)/2));border-radius:0;
}
#top #learn{background:#fff7e7}
#top #gp-production-games{background:#f5f7fc}
#top #play{background:#fff}
#top #pricing{background:#fff7e7}
#top #full-curriculum{background:#fff}
#top .features{background:#f5f7fc}
#top #learn:before,#top #learn:after{display:none!important}
#top .gp-public-curriculum{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
#top .gp-public-curriculum .gp-class-tile{display:flex;flex-direction:column;gap:7px;background:#fff!important;
 border:1px solid #e4e8f1;border-top:5px solid var(--grade-color);padding:16px 14px;
 color:#102B59!important;text-decoration:none!important;min-width:0;box-shadow:0 6px 14px #102b5910;
 transition:transform .2s,box-shadow .2s}
#top .gp-public-curriculum .gp-class-tile:hover,#top .gp-public-curriculum .gp-class-tile:focus-visible{transform:translateY(-7px);box-shadow:0 22px 38px #102b5930}
#top .gp-public-curriculum .gp-tile-heading{display:flex;align-items:center;gap:11px;font-family:Poppins,system-ui,sans-serif;font-weight:800;color:#102B59}
#top .gp-class-number{display:grid;place-items:center;flex:0 0 57px;width:57px;height:57px;border-radius:17px;
 background:var(--grade-color);color:#fff;font-family:Poppins,system-ui,sans-serif;font-size:34px;font-weight:800;
 box-shadow:0 8px 18px #102b591b;transition:transform .2s}
#top .gp-class-tile:hover .gp-class-number{transform:scale(1.09)}
#top .gp-class-label{font-size:19px;font-weight:800}
#top .gp-class-stats{margin:0!important;font-size:13px;color:#344d72;font-weight:800}
#top .gp-class-topics{display:flex;flex-direction:column;align-items:start;gap:5px;margin:0!important;
 font-size:12px;min-height:0;color:#354967}
#top .gp-topic-pill{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
 background:#fff7e9;border:1px solid #f2dfb9;border-radius:9px;padding:5px 8px}
#top .gp-class-cta{font-size:13px;color:#b55a00;font-weight:900;display:block;margin-top:6px}
#top .gp-real-game-groups{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;align-items:stretch}
#top .gp-real-age-card{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid #e1e7f2;
 padding:19px!important;box-shadow:0 7px 22px #102b5912}
#top .gp-real-age-top{display:flex;align-items:center;gap:9px;justify-content:space-between;flex-wrap:wrap}
#top .gp-age-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:12px;
 background:#102B59;color:#fff;font-size:23px;font-weight:800}
#top .gp-real-age-card:nth-child(3n+2) .gp-age-icon{background:#FF7A00}
#top .gp-real-age-card:nth-child(3n) .gp-age-icon{background:#D99C16}
#top .gp-age-game-count{font-size:12px;font-weight:900;color:#102B59;background:#fff2d7;
 padding:7px 10px;border-radius:99px;white-space:nowrap}
#top .gp-real-game-list{flex:1}
#top .gp-age-play{display:block;text-align:center;background:#102B59;color:#fff!important;text-decoration:none;
 padding:12px 10px;border-radius:12px;font-size:13px;font-weight:900;margin-top:17px;transition:transform .2s,box-shadow .2s}
#top .gp-age-play:hover,#top .gp-age-play:focus-visible{transform:translateY(-3px);box-shadow:0 10px 22px #102b5944}
#top .gp-real-age-card:nth-child(3n+2) .gp-age-play{background:#FF7A00}
#top .gp-real-age-card:nth-child(3n) .gp-age-play{background:#B78010}
#top .gp-real-game-chip:before{background:#ffce6b}
@media(max-width:1100px){#top .gp-public-curriculum,#top .gp-real-game-groups{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){#top .gp-public-curriculum,#top .gp-real-game-groups{grid-template-columns:1fr}
 #top .gp-stats-grid>div:nth-child(2)::after{display:none}}
@media(max-width:970px){#top .gp-energy-hero{grid-template-columns:1fr;padding:65px 26px!important;gap:45px}.gp-hero-content{justify-self:center}.gp-hero-quiz{justify-self:center}.gp-final-inner{flex-direction:column;text-align:center}#top .features{grid-template-columns:1fr}}
@media(max-width:620px){#top .gp-energy-hero{padding:48px 18px!important;border-radius:0 0 28px 28px;min-height:0}.gp-hero-tagline{font-size:10px;letter-spacing:.09em}.gp-hero-tagline span{padding:0 3px}.gp-hero-quiz{transform:none;animation:none}.gp-stats-grid{grid-template-columns:repeat(2,1fr);row-gap:23px}.gp-quiz-frame{padding:22px}.gp-hero-links{gap:15px}.gp-final-button{white-space:normal;text-align:center}.gp-pricing-section .plan-card{padding:24px!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.gp-hero-quiz,.gp-quiz-choice.gp-wrong{animation:none!important}.gp-reveal{opacity:1;transform:none;transition:none}*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Final targeted class-card, game-card, and pricing corrections. */
#top #gpPublicCurriculum{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;align-items:stretch}
#top #gpPublicCurriculum .gp-class-tile{height:auto;min-height:0;gap:8px;align-self:stretch}
#top .gp-class-data{display:grid;gap:8px;min-width:0}
#top .gp-class-stats[hidden],#top .gp-class-topics[hidden]{display:none!important}
#top .gp-class-topics{min-height:0!important;margin:0!important;gap:5px}
#top .gp-class-cta{margin:2px 0 0!important;display:inline-block;align-self:flex-start;text-decoration:none;color:#b55a00}
#top .gp-class-cta:hover{text-decoration:underline}
#top .gp-class-subject-links{display:flex;flex-direction:column;gap:7px;border-top:1px solid #e1e6ee;padding-top:10px;margin-top:4px}
#top .gp-class-subject-row{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:4px 8px;font-size:12px}
#top .gp-class-subject-name{font-weight:700;color:#102B59}
#top .gp-class-subject-action{font-weight:750;color:#0869C4;text-decoration:none}
#top .gp-class-subject-action:hover{text-decoration:underline;color:#b55a00}
#top .gp-class-subject-action:focus-visible{outline:2px solid #FF7A00;outline-offset:3px}
#top .gp-class-skeleton{display:grid;gap:9px;margin:3px 0 5px}
#top .gp-shimmer-line{display:block;height:12px;border-radius:6px;background:linear-gradient(100deg,#e8edf5 18%,#f8fafc 40%,#e8edf5 62%);background-size:210% 100%;animation:gpShimmer 1.4s linear infinite}
#top .gp-shimmer-line:nth-child(2){width:85%}
#top .gp-shimmer-line:nth-child(3){width:94%}
#top .gp-shimmer-line:nth-child(4){width:70%}
@keyframes gpShimmer{to{background-position-x:-210%}}
#top .gp-real-age-card{display:flex;flex-direction:column;height:100%}
#top .gp-real-game-list{flex:1 1 auto}
#top .gp-real-age-card .gp-age-play{margin-top:auto!important;display:block}
#top .gp-real-age-card [class*="explore-activit"]{display:none!important}
#top .gp-plan-cta{background:#FF7A00!important;color:#fff!important;font-weight:900!important;box-shadow:0 10px 28px #ff7a0060;transition:transform .22s,box-shadow .22s}
#top .gp-plan-cta:hover,#top .gp-plan-cta:focus-visible{transform:translateY(-4px);box-shadow:0 17px 42px #ff7a008c}
@media(max-width:1100px){#top #gpPublicCurriculum{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){#top #gpPublicCurriculum{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){#top .gp-shimmer-line{animation:none}}

/* Targeted class and Play & Think card polish: brand colors only. */
#top #gpPublicCurriculum {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:14px;
  align-items:stretch;
}
#top #gpPublicCurriculum .gp-class-tile {
  display:flex;
  flex-direction:column;
  height:100%;
  min-height:0;
  gap:10px;
  cursor:pointer;
  border-top:5px solid var(--grade-color,#FF7A00);
  background:#fff;
  box-sizing:border-box;
}
#top #gpPublicCurriculum .gp-class-tile:focus-visible {
  outline:3px solid #FF7A00;
  outline-offset:3px;
}
#top #gpPublicCurriculum .gp-class-number {
  background:var(--grade-color,#FF7A00);
  color:#fff;
}
#top #gpPublicCurriculum .gp-class-stats,
#top #gpPublicCurriculum .gp-class-topics {
  color:#102B59;
}
#top #gpPublicCurriculum .gp-class-subject-pills {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin-top:4px;
}
#top #gpPublicCurriculum .gp-class-subject-pill {
  display:flex;
  justify-content:center;
  align-items:center;
  padding:9px 7px;
  border-radius:100px;
  font-weight:850;
  font-size:12px;
  text-decoration:none;
  background:#FFF0D7;
  border:1px solid #FFD49C;
  color:#102B59;
  transition:background .2s,color .2s,transform .2s;
}
#top #gpPublicCurriculum .gp-class-subject-pill:hover,
#top #gpPublicCurriculum .gp-class-subject-pill:focus-visible {
  background:#FF7A00;
  border-color:#FF7A00;
  color:#fff;
  transform:translateY(-2px);
}
#top #gpPublicCurriculum .gp-class-cta {
  display:inline-flex;
  align-items:center;
  align-self:flex-start;
  margin-top:auto!important;
  padding-top:9px;
  color:#A94B00;
  font-weight:900;
  text-decoration:none;
}
#top #gpPublicCurriculum .gp-class-cta:hover {color:#FF7A00;text-decoration:underline}
#top #gp-production-games .gp-real-game-groups {align-items:stretch}
#top #gp-production-games .gp-real-age-card {
  display:flex;
  flex-direction:column;
  height:100%;
  min-height:0;
  box-sizing:border-box;
}
#top #gp-production-games .gp-real-game-list {flex:1 1 auto}
#top #gp-production-games .gp-real-age-card .gp-age-play {
  display:block;
  margin-top:auto!important;
  align-self:stretch;
}
#top #gp-production-games .gp-real-age-card .gp-real-age-top a,
#top #gp-production-games .gp-real-age-card a[class*="explore-activit"] {
  display:none!important;
}
@media(max-width:1100px){
  #top #gpPublicCurriculum {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  #top #gpPublicCurriculum {grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
  #top #gpPublicCurriculum .gp-class-subject-pill {transition:none}
}


/* Play & Think compact preview only: chips cannot stretch to card height. */
#top #gp-production-games .gp-real-age-card {
  display:flex; flex-direction:column; height:100%; min-height:0;
}
#top #gp-production-games .gp-real-game-list {
  display:flex!important; flex-wrap:wrap!important; align-content:flex-start!important;
  align-items:flex-start!important; justify-content:flex-start!important;
  gap:8px!important; flex:0 0 auto!important; min-height:0!important;
  height:auto!important; margin-bottom:14px;
}
#top #gp-production-games .gp-real-game-list .gp-real-game-chip,
#top #gp-production-games .gp-real-game-list .gp-real-game-more {
  display:inline-flex!important; align-items:center!important; justify-content:center;
  flex:0 0 auto!important; align-self:flex-start!important;
  width:auto!important; height:auto!important; min-height:0!important;
  padding:6px 12px!important; border-radius:999px!important;
  line-height:1.35!important; white-space:normal; box-sizing:border-box;
  font-size:12px; font-weight:700;
}
#top #gp-production-games .gp-real-game-more {
  border:1px solid #e5c27e; background:#fff4db; color:#102b59;
}
#top #gp-production-games .gp-real-age-card .gp-age-play {
  margin-top:auto!important; flex:0 0 auto; align-self:stretch;
}
/* Full game list appears only when the visitor activates Play now. */
.gp-game-dialog {border:0; border-radius:18px; padding:0; max-width:min(620px,calc(100vw - 28px)); width:100%;
  box-shadow:0 26px 85px #07183080; color:#102b59; background:#fff;}
.gp-game-dialog::backdrop {background:#071830a8;}
.gp-game-dialog-inner {padding:24px;}
.gp-game-dialog-header {display:flex; justify-content:space-between; align-items:flex-start; gap:16px;}
.gp-game-dialog-header h2 {font-size:24px; margin:0 0 8px;}
.gp-game-dialog-close {border:0; background:#fff2da; color:#102b59; border-radius:10px;
  padding:7px 11px; font-size:22px; cursor:pointer;}
.gp-game-dialog-list {display:flex; flex-wrap:wrap; align-items:flex-start; gap:9px; margin:16px 0 22px; padding:0; list-style:none;}
.gp-game-dialog-list li {border:1px solid #efd9ab; background:#fff7e8; color:#102b59;
  padding:7px 12px; border-radius:999px; font-size:13px; font-weight:700;}
.gp-game-dialog-action {display:inline-flex; padding:11px 18px; color:#fff!important; background:#ff7a00; border-radius:10px; font-weight:800; text-decoration:none;}
.gp-game-dialog-note {font-size:12px; color:#566780; margin-top:12px;}

/* Play & Think: align descriptions and keep the extra-count chip on its own row. */
#top #gp-production-games .gp-real-age-card h3 {
  min-height:5.5rem;
  box-sizing:border-box;
}
/* Applies to existing card descriptions only; no new paragraph is inserted. */
#top #gp-production-games .gp-real-age-card > p {
  min-height:6.5rem;
  box-sizing:border-box;
}
#top #gp-production-games .gp-real-game-list .gp-game-more-row {
  display:flex;
  flex:0 0 100%;
  width:100%;
  align-items:flex-start;
  justify-content:flex-start;
}
#top #gp-production-games .gp-real-game-list .gp-game-more-row .gp-real-game-more {
  flex:0 0 auto!important;
  width:auto!important;
}
