/* Open captions keep artwork geometry intact; group pauses give a long directory a reading rhythm. */
.directory-home{--directory-row-gap:24px;--directory-group-pause:24px}
.directory-home .directory-game{border-color:transparent;background:transparent;box-shadow:none;transition:transform 170ms ease,border-color 170ms ease}
.directory-home .directory-game:is(:hover,:focus-within,.is-game-pressed){border-color:transparent;background:transparent;box-shadow:none}
.directory-home .directory-game-image{outline:1px solid #7c8778;outline-offset:-1px}
.directory-home .directory-game-copy{min-height:0;padding:12px 0 4px;gap:6px;border-top-color:transparent;background:transparent}
.directory-home .directory-game-copy h3{min-height:2.4em;font-weight:700}
.directory-home .directory-game-copy p{margin:0;color:#435142;font-weight:400;line-height:1.45}
.directory-home .directory-game-copy .directory-game-intro{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;overflow-wrap:anywhere;flex:none;height:4.35em;min-height:4.35em;max-height:4.35em;font-size:12px!important;line-height:1.45}
.directory-home .directory-game-copy small{color:#53605a;font-weight:400;line-height:1.4}
.directory-masthead{row-gap:16px;margin-bottom:36px}
.directory-masthead .directory-intro h1{margin-bottom:10px}
.directory-masthead .directory-shelf-heading{margin-top:12px}
.directory-masthead .directory-controls{margin-top:0}
.directory-masthead .directory-shelf-title--peach{padding:0;border:0;background:transparent;box-shadow:none;font-weight:700!important;letter-spacing:-.025em}
.directory-masthead .directory-shelf-label>p{color:#53605a}
.directory-masthead .mascot-welcome{border-color:transparent;background:transparent;box-shadow:none}
.directory-home .home-play-grid.game-grid{row-gap:var(--directory-row-gap)}
.directory-masthead .filter-button{transition:background-color 160ms ease,border-color 160ms ease,color 160ms ease}
.directory-home .directory-masthead .filter-button:not(.active){border-color:#7c8778}
.header-search{border-color:#7c8778;transition:border-color 150ms ease,outline-color 150ms ease}
.header-search:focus-within{border-color:#50663a;outline-color:#70841e}
.save-game-button{transition:background-color 120ms ease,border-color 120ms ease,color 120ms ease}
/* Pauses live on complete rows; no spacer nodes enter ordering, filtering, or pagination. */
@media(min-width:1251px){
 .home-play-grid>.directory-game:is(:nth-child(21n + 22),:nth-child(21n + 23),:nth-child(21n + 24),:nth-child(21n + 25),:nth-child(21n + 26),:nth-child(21n + 27),:nth-child(21n + 28)){margin-block-start:var(--directory-group-pause)}
}
@media(min-width:1051px) and (max-width:1250px){
 .home-play-grid>.directory-game:is(:nth-child(12n + 13),:nth-child(12n + 14),:nth-child(12n + 15),:nth-child(12n + 16)){margin-block-start:var(--directory-group-pause)}
}
@media(min-width:801px) and (max-width:1050px){
 .home-play-grid>.directory-game:is(:nth-child(18n + 19),:nth-child(18n + 20),:nth-child(18n + 21),:nth-child(18n + 22),:nth-child(18n + 23),:nth-child(18n + 24)){margin-block-start:var(--directory-group-pause)}
}
@media(min-width:601px) and (max-width:800px){
 .home-play-grid>.directory-game:is(:nth-child(12n + 13),:nth-child(12n + 14),:nth-child(12n + 15),:nth-child(12n + 16)){margin-block-start:var(--directory-group-pause)}
}
@media(max-width:600px){
 .directory-home{--directory-row-gap:20px;--directory-group-pause:16px}
 .directory-masthead{row-gap:16px;margin-bottom:28px}
 .directory-masthead .directory-shelf-heading{margin-top:4px}
 .home-play-grid>.directory-game:is(:nth-child(6n + 7),:nth-child(6n + 8)){margin-block-start:var(--directory-group-pause)}
}
@media(prefers-reduced-motion:reduce){
 .directory-home .directory-game,.directory-masthead .filter-button,.header-search,.save-game-button{transition-duration:.01ms}
}
