.libraryStage canvas{display:block;width:100%;height:auto;aspect-ratio:9/8;touch-action:none;cursor:crosshair}
.gameFooter{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-top:.7rem;font-size:.9rem}
.gameFooter button,.libraryFilters button,.libraryFilters input{border:1px solid #718283;border-radius:.5rem;padding:.42rem .65rem;background:#fffdf6;color:#23342f;min-height:2.55rem}
.gameFooter button{color:#eefaff;background:#283950}.libraryCount{min-height:1.45em;color:#495f58;font-size:.86rem}
.libraryFilters{display:flex;flex-wrap:wrap;gap:.45rem;margin:.8rem 0}
.libraryFilters input{font:inherit;min-width:0;flex:1 1 10rem}
.libraryFilters button[aria-pressed=true]{background:#145445;color:#fff;border-color:#145445}
.libraryGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(9.6rem,1fr));gap:.65rem}
.libraryItem{display:flex;flex-direction:column;min-width:0;text-decoration:none;background:#fff;border:1px solid #c9d4cc;border-radius:.7rem;overflow:hidden;box-shadow:0 .18rem 0 #dce4de}
.libraryItem:hover{border-color:#24876f}
.libraryItem canvas{display:block;width:100%;height:auto;aspect-ratio:9/6;object-fit:cover;background:#1b3143}
.libraryItem div{padding:.48rem .55rem}
.libraryItem strong{display:block;font-size:1rem;overflow-wrap:anywhere}
.libraryItem small{display:block;color:#48645a;font-size:.77rem;margin-top:.15rem}
.libraryShelf{padding-top:1.75rem}.libraryShelf h2{margin:0;font-size:1.55rem;letter-spacing:-.035em}.libraryItem:focus-visible{outline-offset:2px}
@media(max-width:450px){.libraryGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.dailyLibrary{background:#e9f1e8;border:1px solid #c9d9cd;padding:.75rem;border-radius:.9rem;margin:.55rem 0 1rem}.dailyLibrary h3{margin:.1rem 0 .58rem;font-size:1rem}.dailyGrid{grid-template-columns:repeat(5,minmax(0,1fr))}.lobby .libraryShelf:first-of-type{padding-top:0}@media(max-width:650px){.dailyGrid{display:flex;overflow-x:auto;padding:.15rem .1rem .5rem;scroll-snap-type:x mandatory}.dailyGrid .libraryItem{flex:0 0 8.1rem;scroll-snap-align:start}}

.challengeRibbon{margin:0 auto 12px;padding:8px 12px;border:1px solid #9eb4b6;border-radius:10px;color:#193b42;background:#e8f5f0;font-size:.83rem;text-align:center}
.challengeRibbon a{font-weight:700;text-underline-offset:3px}
.challengeLink{width:100%;padding:9px 12px;margin-top:9px;border:1px solid #84979d;border-radius:8px;background:#fff;color:#203844}
.shareNote:empty{display:none}
.shareNote{font-size:.82rem;margin:7px 0 0;text-align:center}
.dailySubtitle{margin:0 0 12px;color:#4e5865;font-size:.85rem}
.gameFooter{flex-wrap:wrap;gap:8px}
.featuredShelf{margin:0 0 1.8rem}
.featuredShelf .shelfHead{align-items:end;margin:0 0 .65rem;gap:1rem}
.featuredShelf .shelfHead h2{margin:.2rem 0 0}
.featuredShelf .shelfHead a{font-size:.83rem;font-weight:750;text-underline-offset:.18em;color:#145445}
.featuredShelf .featuredEyebrow{display:block;color:#156557;letter-spacing:.11em;font-size:.67rem;font-weight:850}
.featuredGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem}
.featuredCard{position:relative;border-radius:.85rem}
.featuredCard canvas{aspect-ratio:9/7;object-fit:contain}
.featuredCard div{padding:.65rem .75rem .8rem}
.featuredCard strong{font-size:1.05rem;line-height:1.15}
.featuredTag{position:absolute;z-index:1;right:.35rem;top:.35rem;color:#193330;background:#fffdf4;padding:.25rem .4rem;border-radius:.35rem;font-size:.62rem;font-weight:900;letter-spacing:.07em}
.featuredBlurb{display:block;color:#365051;font-size:.8rem;margin-top:.38rem;line-height:1.25}
@media(max-width:600px){.featuredGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.4rem}.featuredCard div{padding:.48rem .42rem}.featuredCard strong{font-size:.82rem}.featuredCard small{font-size:.65rem}.featuredBlurb{display:none}.featuredShelf .shelfHead a{font-size:.72rem}}
.stageOverlay.gameCover{background:linear-gradient(135deg,#1016236b,#101623a1)}
.stageOverlay.gameCover>*{filter:drop-shadow(0 1px 4px #0a1826)}
.stageOverlay.gameCover strong,.stageOverlay.gameCover p,.stageOverlay.gameCover>span{background:#182437f1;padding:.27rem .48rem;border-radius:.35rem}
.stageOverlay.gameCover p{margin:-.25rem 0 .24rem}
