/* Playwexa game discovery: eight static cards on every published game page and a shared internal-link hub. */
.pw-related-games{margin:44px 0 18px;padding:clamp(18px,3vw,30px);border:1px solid #344968;border-radius:22px;background:radial-gradient(ellipse at 92% 0%,#51418b26,transparent 40%),linear-gradient(145deg,#111d34,#0b1427);box-shadow:0 18px 48px #0003}
.pw-related-games-heading{margin:0 0 18px}
.pw-related-games-heading h2{margin:0;color:#f4f2ff;font-size:clamp(1.5rem,3vw,2rem);font-weight:850;letter-spacing:-.025em}
.pw-related-games-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.pw-related-game-card{position:relative;isolation:isolate;display:flex;min-width:0;min-height:141px;flex-direction:column;gap:7px;overflow:hidden;padding:12px;border:1px solid #354c70;border-radius:16px;background:linear-gradient(150deg,#192a48 0%,#111c32 72%);color:#f8f7ff;text-decoration:none;box-shadow:inset 0 1px 0 #ffffff0b,0 7px 18px #0002;transition:transform .2s ease,border-color .2s ease,background .2s ease,box-shadow .2s ease}
.pw-related-game-card:before{position:absolute;z-index:-1;inset:0;border:1px solid transparent;border-radius:inherit;background:linear-gradient(135deg,#35dfff,#8b73ff 52%,#f05acb) border-box;content:"";opacity:0;pointer-events:none;transition:opacity .2s ease}
.pw-related-game-card:hover{transform:translateY(-4px);border-color:#43dcff;background:radial-gradient(ellipse at 100% 0%,#234b674d,transparent 58%),linear-gradient(150deg,#1b3152,#111c32 72%);box-shadow:0 0 0 1px #42ddff30,0 0 24px #28c9ff38,0 14px 30px #0007}
.pw-related-game-card:hover:before{opacity:1}
.pw-related-game-card:focus-visible{outline:2px solid #61eaff;outline-offset:4px;box-shadow:0 0 0 5px #42ddff25,0 0 24px #28c9ff38}
.pw-related-game-card:active{transform:translateY(-1px) scale(.99)}
.pw-related-game-topline{display:flex;align-items:center;justify-content:space-between;gap:8px}
.pw-related-game-index{display:grid;flex:0 0 auto;place-items:center;width:24px;height:24px;border:1px solid #536d91;border-radius:9px;background:#0b1830;color:#a9eaff;font-size:.69rem;font-weight:900}
.pw-related-game-title{display:block;color:#f7f5ff;font-size:1.02rem;line-height:1.3;font-weight:850}
.pw-related-game-description{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;min-height:2.2em;color:#bac9df;font-size:.78rem;line-height:1.4}
.pw-related-game-cta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:6px;border-top:1px solid #ffffff16;color:#76eaff;font-size:.76rem;font-weight:900}
.pw-related-game-cta span{font-size:1rem;transition:transform .2s ease}
.pw-related-game-card:hover .pw-related-game-title{color:#8cefff}
.pw-related-game-card:hover .pw-related-game-cta span{transform:translate(2px,-2px)}
@media(max-width:900px){.pw-related-games-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.pw-related-games{padding:15px}.pw-related-games-grid{grid-template-columns:1fr;gap:11px}.pw-related-game-card{min-height:129px;padding:11px}}
@media(prefers-reduced-motion:reduce){.pw-related-game-card,.pw-related-game-card:before,.pw-related-game-cta span{transition:none!important}.pw-related-game-card:hover{transform:none}}
.pw-site-interlink{position:relative;left:50%;width:100vw;max-width:100vw;margin:38px 0 54px -50vw;padding:clamp(24px,4vw,52px);border:0;border-top:1px solid #35486d;border-bottom:1px solid #35486d;border-radius:0;box-sizing:border-box;background:linear-gradient(145deg,#111b32,#0d1528);box-shadow:0 16px 44px #0002}
.pw-site-interlink-heading h2{margin:7px 0;font-size:clamp(1.45rem,3vw,2rem);color:#f3f1ff}
.pw-site-interlink-heading p{max-width:760px;margin:0 0 22px;color:#b8c5dc;font-size:.9rem}
.pw-site-interlink-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.pw-site-interlink-group{min-width:0;padding:14px;border:1px solid #ffffff15;border-radius:14px;background:#ffffff06}
.pw-site-interlink-group h3{margin:0 0 12px;color:#e8e0ff;font-size:.92rem}
.pw-site-interlink-links{display:flex;flex-direction:column;gap:5px}
.pw-site-interlink-links a{display:flex;justify-content:space-between;gap:8px;padding:5px 0;color:#bfcce2;text-decoration:none;font-size:.79rem;line-height:1.45}
.pw-site-interlink-links a:hover{color:#e3ceff}
.pw-site-interlink-links a span{flex:0 0 auto;color:#9e8bd3}
.pw-category-expansion{margin:28px 0;padding:22px;border:1px solid #42577f;border-radius:16px;background:#111e35}
.pw-category-expansion h2{margin:0 0 8px;font-size:1.45rem}
.pw-category-expansion p{margin:0 0 14px}
.pw-category-expansion>div{display:flex;flex-wrap:wrap;gap:9px}
@media(max-width:1000px){.pw-related-games-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.pw-site-interlink-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.pw-related-games-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pw-related-games-heading{align-items:flex-start;flex-direction:column}.pw-related-all{margin-top:3px}}
@media(max-width:400px){.pw-related-games-grid{grid-template-columns:1fr}.pw-site-interlink-grid{grid-template-columns:1fr}.pw-related-games{padding:14px}.pw-related-game-description{min-height:0}}
@media(prefers-reduced-motion:reduce){.pw-related-game-card,.pw-related-game-art img{transition:none!important}.pw-related-game-card:hover{transform:none}}


/* Search-friendly, useful on-page game guides and verified puzzle facts. */
.pw-game-editorial{margin:36px 0;padding:clamp(20px,3.2vw,32px);border:1px solid #465b82;border-radius:20px;background:linear-gradient(145deg,#121f38,#0c162a);color:#eaf0ff;box-shadow:0 14px 38px #0002}
.pw-game-editorial-heading h2{margin:8px 0 10px;font-size:clamp(1.35rem,2.8vw,1.95rem);line-height:1.2;color:#f6f4ff}
.pw-game-editorial-heading>p,.pw-game-editorial>p{color:#c2cee3;font-size:.94rem;line-height:1.75;max-width:900px}
.pw-game-editorial-meta{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 22px}
.pw-game-editorial-meta span{padding:7px 11px;border:1px solid #51658b;border-radius:999px;background:#192946;color:#d8dff1;font-size:.75rem;font-weight:750}
.pw-game-editorial-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:18px 0}
.pw-game-editorial-grid article{min-width:0;padding:16px;border:1px solid #ffffff19;border-radius:14px;background:#ffffff07}
.pw-game-editorial-grid h3,.pw-game-editorial>h3{margin:0 0 8px;color:#e7ddff;font-size:1rem}
.pw-game-editorial-grid p,.pw-game-editorial>p{margin:0;color:#c0cde3;font-size:.86rem;line-height:1.7}
.pw-game-editorial>p{margin:14px 0}
.pw-game-editorial ol{padding-left:24px;color:#c7d2e8;font-size:.85rem;line-height:1.75}
.pw-game-editorial li{padding:3px 0}
.pw-game-editorial-faq{margin-top:22px;padding-top:18px;border-top:1px solid #ffffff20}
.pw-game-editorial-faq h3{margin:0 0 12px;color:#e9e2ff}
.pw-game-editorial-faq details{padding:12px 0;border-bottom:1px solid #ffffff17;color:#d4def0}
.pw-game-editorial-faq summary{cursor:pointer;font-weight:750}
.pw-game-editorial-faq details p{margin:8px 0 0;color:#bac8df;font-size:.86rem;line-height:1.65}
.pw-puzzle-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;max-width:520px;margin:16px 0}
.pw-puzzle-grid-3{grid-template-columns:repeat(3,minmax(0,1fr));max-width:390px}
.pw-puzzle-cell{display:grid;place-items:center;min-height:48px;padding:8px;border:1px solid #596e96;border-radius:9px;background:#1b2c4c;color:#e9efff;font-size:.8rem;font-weight:800;text-align:center}
.pw-puzzle-cell.is-on{background:#294d78;border-color:#71c9ef;color:#fff}
.pw-puzzle-cell.is-empty{background:#0a1325;border-style:dashed;color:#90a2c3}
.pw-puzzle-clues{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:14px 0}
.pw-puzzle-clues>div{padding:14px;border:1px solid #ffffff1b;border-radius:12px;background:#ffffff06}
.pw-puzzle-clues strong{color:#eee8ff}
@media(max-width:800px){.pw-game-editorial-grid{grid-template-columns:1fr}.pw-puzzle-clues{grid-template-columns:1fr}}

/* Daily Discoveries: compact editorial hierarchy and overflow-safe cards. */
html{overflow-x:clip}
body[data-route="/daily/"] .daily-discoveries-page{min-width:0;max-width:1200px;box-sizing:border-box}
body[data-route="/daily/"] .daily-discoveries-page .section-heading{max-width:980px;overflow:visible;margin-bottom:30px}
body[data-route="/daily/"] .daily-discoveries-page .section-heading h1{font-size:clamp(2.35rem,4.15vw,4.1rem)!important;line-height:1.1;letter-spacing:-.045em;margin:14px 0 21px;padding:3px 0;max-width:100%;overflow:visible;overflow-wrap:break-word}
body[data-route="/daily/"] .daily-discoveries-page .section-heading>p{max-width:940px;font-size:1rem;line-height:1.7}
body[data-route="/daily/"] #daily-root{min-width:0;width:100%;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}
body[data-route="/daily/"] #daily-root>.dash-section{grid-column:1/-1;min-width:0;max-width:100%;overflow:hidden;padding:clamp(18px,2.4vw,28px)}
body[data-route="/daily/"] #daily-root>.dash-section h2{font-size:clamp(1.45rem,2.25vw,2rem)!important;line-height:1.2;letter-spacing:-.025em;margin:8px 0 17px;overflow-wrap:anywhere}
body[data-route="/daily/"] #daily-root>.dash-section>p{max-width:960px;font-size:.91rem;line-height:1.65}
body[data-route="/daily/"] #daily-root .mission-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0}
body[data-route="/daily/"] #daily-root .mission-card{min-width:0;min-height:96px;padding:13px;overflow-wrap:anywhere}
body[data-route="/daily/"] #daily-root>.game-tile{min-width:0;max-width:100%;min-height:184px;padding:21px;overflow:hidden}
body[data-route="/daily/"] #daily-root>.game-tile h3{font-size:1.12rem;line-height:1.25;overflow-wrap:anywhere}
body[data-route="/daily/"] #daily-root>.game-tile p{font-size:.86rem;line-height:1.6;overflow-wrap:anywhere}
body[data-route="/daily/"] #daily-root>.dash-section:last-child{grid-column:1/-1}
@media(max-width:850px){
 body[data-route="/daily/"] #daily-root{grid-template-columns:repeat(2,minmax(0,1fr))}
 body[data-route="/daily/"] .daily-discoveries-page .section-heading h1{font-size:clamp(2.5rem,6vw,3.5rem)!important}
}
@media(max-width:550px){
 body[data-route="/daily/"] .daily-discoveries-page{width:calc(100% - 32px)}
 body[data-route="/daily/"] .daily-discoveries-page .section-heading h1{font-size:clamp(2.2rem,9vw,3.1rem)!important;line-height:1.08}
 body[data-route="/daily/"] #daily-root{grid-template-columns:1fr;gap:12px}
 body[data-route="/daily/"] #daily-root>.dash-section{padding:17px}
 body[data-route="/daily/"] #daily-root .mission-grid{grid-template-columns:1fr}
 body[data-route="/daily/"] #daily-root>.dash-section h2{font-size:1.45rem!important}
}

/* Phase 11 discovery page: intentional hierarchy, fixed card counts and a proper weekly highlight. */
body[data-route="/discover/"] #phase11-discover.phase11-discover-page{
  box-sizing:border-box;min-width:0;padding-top:clamp(30px,3.6vw,52px);padding-bottom:clamp(48px,5vw,76px);
}
body[data-route="/discover/"] #phase11-discover .phase11-discover-hero{
  max-width:1000px;margin:0 0 clamp(30px,3.2vw,44px);text-align:left;
}
body[data-route="/discover/"] #phase11-discover .phase11-discover-hero h1{
  max-width:100%;margin:12px 0 14px;padding:2px 0;
  font-size:clamp(2.35rem,4vw,4rem)!important;line-height:1.1;letter-spacing:-.052em;
  overflow-wrap:break-word;text-wrap:balance;
}
body[data-route="/discover/"] #phase11-discover .phase11-discover-hero p{
  max-width:900px;margin:0;font-size:clamp(.92rem,1.05vw,1.02rem);line-height:1.7;
}
body[data-route="/discover/"] #phase11-discover .phase11-discover-section{
  min-width:0;margin:0 0 clamp(30px,3.5vw,46px);
}
body[data-route="/discover/"] #phase11-discover .phase11-discover-section-heading{
  max-width:1000px;margin:0 0 17px;
}
body[data-route="/discover/"] #phase11-discover .phase11-discover-section-heading h2{
  margin:5px 0 10px;font-size:clamp(1.4rem,2.35vw,2.05rem)!important;
  line-height:1.2;letter-spacing:-.033em;text-wrap:balance;
}
body[data-route="/discover/"] #phase11-discover .phase11-discover-section-heading p{
  max-width:850px;margin:0;font-size:.88rem;line-height:1.6;color:#b7c6de;
}
body[data-route="/discover/"] #phase11-discover .phase11-grid{
  display:grid;min-width:0;align-items:stretch;gap:14px;margin:0;
}
body[data-route="/discover/"] #phase11-discover .phase11-featured-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
body[data-route="/discover/"] #phase11-discover .phase11-world-grid{
  grid-template-columns:repeat(5,minmax(0,1fr));
}
body[data-route="/discover/"] #phase11-discover .phase11-item{
  box-sizing:border-box;min-width:0;min-height:142px;padding:16px;gap:8px;
  border:1px solid rgba(116,153,213,.24);border-radius:15px;
  background:linear-gradient(145deg,rgba(27,39,67,.92),rgba(17,26,47,.96));
  box-shadow:0 8px 22px rgba(0,0,0,.13);
}
body[data-route="/discover/"] #phase11-discover .phase11-item>.eyebrow{
  margin:0;color:#77e7f4;font-size:.68rem!important;line-height:1.35;
  font-weight:800;letter-spacing:.025em;text-transform:none;
  overflow-wrap:anywhere;
}
body[data-route="/discover/"] #phase11-discover .phase11-item>b{
  color:#f1f5ff;font-size:.97rem;line-height:1.35;font-weight:800;
  overflow-wrap:anywhere;
}
body[data-route="/discover/"] #phase11-discover .phase11-item>small{
  color:#b7c8df;font-size:.75rem;line-height:1.4;
}
body[data-route="/discover/"] #phase11-discover .phase11-item>.muted{
  margin-top:auto;color:#aebbd2;font-size:.76rem;line-height:1.35;
}
body[data-route="/discover/"] #phase11-discover .phase11-item:hover,
body[data-route="/discover/"] #phase11-discover .phase11-item:focus-visible{
  border-color:#55def4;box-shadow:0 0 0 1px #55def43a,0 10px 28px #0107138c;
}
body[data-route="/discover/"] #phase11-discover .phase11-weekly-feature{
  display:flex;align-items:center;justify-content:space-between;gap:24px;
  min-width:0;padding:clamp(20px,2.8vw,32px);
  border:1px solid rgba(112,155,225,.32);border-left:3px solid #62dff2;
  border-radius:18px;
  background:radial-gradient(ellipse at 88% 0%,rgba(120,96,224,.18),transparent 42%),linear-gradient(135deg,#172746,#111b32 72%);
  box-shadow:0 12px 30px rgba(0,0,0,.16);
}
body[data-route="/discover/"] #phase11-discover .phase11-weekly-copy{min-width:0;max-width:820px}
body[data-route="/discover/"] #phase11-discover .phase11-weekly-copy h3{
  margin:7px 0 8px;color:#f1f5ff;font-size:clamp(1.18rem,1.9vw,1.6rem);
  line-height:1.25;letter-spacing:-.025em;overflow-wrap:anywhere;
}
body[data-route="/discover/"] #phase11-discover .phase11-weekly-copy p{
  max-width:760px;margin:0;color:#bac8df;font-size:.9rem;line-height:1.65;
}
body[data-route="/discover/"] #phase11-discover .phase11-weekly-feature>.action-btn{
  flex:0 0 auto;white-space:nowrap;min-height:46px;
}
body[data-route="/discover/"] #phase11-discover .phase11-discover-note{
  margin:0 0 12px;padding:14px 17px;border-radius:12px;font-size:.8rem;line-height:1.55;
}
body[data-route="/discover/"] #phase11-discover .phase11-discover-all{margin:0}
@media(max-width:1100px){
  body[data-route="/discover/"] #phase11-discover .phase11-world-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){
  body[data-route="/discover/"] #phase11-discover .phase11-featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body[data-route="/discover/"] #phase11-discover .phase11-world-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  body[data-route="/discover/"] #phase11-discover.phase11-discover-page{padding-top:25px}
  body[data-route="/discover/"] #phase11-discover .phase11-discover-hero h1{font-size:clamp(2.1rem,8vw,3rem)!important;line-height:1.08}
  body[data-route="/discover/"] #phase11-discover .phase11-featured-grid,
  body[data-route="/discover/"] #phase11-discover .phase11-world-grid{grid-template-columns:1fr}
  body[data-route="/discover/"] #phase11-discover .phase11-weekly-feature{align-items:flex-start;flex-direction:column;gap:16px}
  body[data-route="/discover/"] #phase11-discover .phase11-weekly-feature>.action-btn{white-space:normal}
}

/* Shared destination typography for all ten Play, learn & create links. */
body[data-explore-destination="true"] #main .inner-page h1:not(.visually-hidden){
  max-width:100%;margin:10px 0 16px;padding:2px 0;
  font-size:clamp(2rem,3.25vw,2.85rem)!important;
  line-height:1.12!important;letter-spacing:-.047em!important;
  text-wrap:balance;overflow-wrap:break-word;
}
body[data-explore-destination="true"] #main .inner-page h2{
  margin:8px 0 12px;font-size:clamp(1.25rem,1.85vw,1.65rem)!important;
  line-height:1.22!important;letter-spacing:-.03em!important;
  text-wrap:balance;overflow-wrap:break-word;
}
body[data-explore-destination="true"] #main .inner-page h3{
  font-size:clamp(1rem,1.25vw,1.12rem)!important;line-height:1.3!important;
  letter-spacing:-.015em!important;overflow-wrap:break-word;
}
body[data-explore-destination="true"] #main .inner-page .section-heading{
  max-width:1000px;margin:0 0 clamp(22px,2.8vw,34px);
}
body[data-explore-destination="true"] #main .inner-page .section-heading>p,
body[data-explore-destination="true"] #main .inner-page>p{
  max-width:900px;font-size:.94rem;line-height:1.7;
}
body[data-explore-destination="true"] #main .inner-page :is(.guide-card,.game-tile,.phase11-card,.phase11-item){
  min-width:0;overflow-wrap:anywhere;
}
@media(max-width:700px){
  body[data-explore-destination="true"] #main .inner-page h1:not(.visually-hidden){
    font-size:clamp(1.85rem,7.2vw,2.45rem)!important;line-height:1.1!important;
  }
  body[data-explore-destination="true"] #main .inner-page h2{
    font-size:clamp(1.2rem,5vw,1.45rem)!important;line-height:1.22!important;
  }
  body[data-explore-destination="true"] #main .inner-page h3{
    font-size:1.02rem!important;
  }
}
