/* Typography is copied from the approved home hero. No selectors change #home. */
:root{--gp-home-title-size:clamp(53px,7vw,94px);--gp-home-title-leading:1.02;--gp-home-title-spacing:-.07em}
#studio .studio-mast h2,
#gpWorldImport #gpWorldTitle,
#gpJavaPage .gp-java-hero h2,
#guide .section-frame > h2.big-heading,
#community .section-frame > h2.big-heading,
#community .gp-merged-intro > h2,
#credits h2,
#support .section-frame > h2.big-heading{
 font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;
 font-size:var(--gp-home-title-size)!important;
 font-weight:800!important;
 line-height:var(--gp-home-title-leading)!important;
 letter-spacing:var(--gp-home-title-spacing)!important;
 text-wrap:balance;
 color:#fff!important;
 text-shadow:0 4px 7px #07120ed0,0 12px 30px #0009!important;
}
/* Match the original hero's accent on the Java heading without altering its layout. */
#gpJavaPage .gp-java-hero h2 span{color:var(--green)!important}
/* The world title follows the approved title scale, without an opaque heading panel. */
#gpWorldImport .gp-world-intro{padding-top:12px!important;padding-bottom:12px!important}
#gpWorldImport .gp-world-shell{padding-top:0!important}
/* Social cards retain their existing entrance animations; add a distinct hover/focus response. */
#community .social-grid > .social-link{transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s ease,border-color .35s ease,background-color .35s ease!important;will-change:auto}
#community .social-grid > .social-link:hover,#community .social-grid > .social-link:focus-visible{transform:translateY(-5px)!important;box-shadow:0 15px 34px #0006!important;border-color:#b3f58a!important;background-color:#15392d!important}
/* Keep the dark reading treatment continuous to the bottom of Community. */
#community{position:relative;isolation:isolate}
#community::before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,rgba(5,18,14,.33),rgba(5,18,14,.17) 70%,rgba(5,18,14,.08));pointer-events:none}
@media(max-width:650px){
 :root{--gp-home-title-size:clamp(40px,11vw,55px)}
 #community .section-frame{padding-left:clamp(30px,8vw,42px)!important;padding-right:24px!important}
 #community .section-frame > .eyebrow,#community .section-frame > h2.big-heading,#community .section-frame > .lead{margin-left:0!important;padding-left:0!important}
 #gpWorldImport .gp-world-intro{padding-top:12px!important}
}
@media(prefers-reduced-motion:reduce){#community .social-grid > .social-link{transition:none!important}}
