/* Layout glue for the shared Word Search landing-page components. */
body.crossword-home { margin: 0; font-size: 16px; line-height: 1.5; color: var(--home-ink); }
.crossword-home * { box-sizing: border-box; }
.crossword-home .cw-main { margin: 0 auto; }
.crossword-home .wordsearch-toolbar .games-breadcrumbs { display: flex; align-items: center; gap: 10px; color: var(--home-muted); }
.crossword-home .games-breadcrumbs a { color: inherit; text-decoration: none; }
.crossword-home .games-breadcrumbs a:hover { text-decoration: underline; }
.crossword-home .games-section-heading h2 { margin: 6px 0 0; }
body.crossword-home .wordsearch-theme-toggle { color: var(--home-muted); }
.crossword-home .cw-home-art { display: grid; place-items: center; width: 88%; max-width: 320px; justify-self: end; margin-right: 12px; }
.crossword-home .cw-home-art svg { width: auto; height: 180px; }
.crossword-home .wordsearch-preview svg { --cw-art-cell: var(--difficulty-tile, #e3eee7); --cw-art-selection: var(--difficulty-selection, #99bda8); --cw-art-ink: var(--difficulty-ink, #335b44); }
.crossword-home [data-home-difficulty="1"] { --difficulty-tile: #e7ecf1; --difficulty-selection: #8fb8df; --difficulty-ink: #495b6d; }
.crossword-home [data-home-difficulty="2"] { --difficulty-tile: #ede8f0; --difficulty-selection: #b497d9; --difficulty-ink: #62536e; }
.crossword-home .wordsearch-size-panel h2 { color: var(--home-ink); }
.crossword-home .cw-home-resume { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; padding: 20px 24px; border: 1px solid var(--home-border); background: var(--home-raised); border-radius: 14px; }
.crossword-home .cw-home-resume[hidden] { display: none; }
.crossword-home .cw-home-resume h2 { margin: 5px 0 0; font-size: 22px; }
.crossword-home .resume-game-link { display: inline-flex; padding: 12px 20px; border: 1px solid; border-radius: 9px; font-weight: 650; text-decoration: none; }
.crossword-home .cw-home-footer { width: min(1200px, 92%); margin: auto; padding: 24px 0; color: var(--home-muted); font-size: 12px; }
.crossword-home .cw-home-footer a { color: inherit; }
.crossword-home a:focus-visible, .crossword-home button:focus-visible { outline: 3px solid var(--home-accent); outline-offset: 4px; }
@media(max-width:600px) {
    .crossword-home .wordsearch-toolbar .games-breadcrumbs { display: flex; font-size: 11px; gap: 7px; }
    .crossword-home .cw-home-art { justify-self: center; margin: 10px auto 12px; max-width: 264px; }
    .crossword-home .cw-home-resume { align-items: start; flex-direction: column; padding: 20px; }
}
body.crossword-home .wordsearch-header .wordsearch-toolbar .wordsearch-theme-toggle{margin-inline-start:auto}
body.crossword-home .games-breadcrumbs{--site-ink:var(--home-ink);--site-muted:var(--home-muted);--site-accent:var(--home-accent)}
