.wordsearch-hero-art { width: 100%; max-width: 360px; justify-self: center; transform: rotate(-4deg); text-align: center; }
.wordsearch-hero-grid { display: block; width: 100%; height: auto; background: #d8f5b5; overflow: hidden; border: 1px solid #729950; border-radius: 14px; box-shadow: 0 6px 0 #080f18; }
.wordsearch-hero-art > span { display: block; margin-top: 12px; font-size: 11px; color: #c3d4c9; }
.wordsearch-text-link { color: #c2fa6b; font-size: 14px; font-weight: bold; text-decoration: none; }
.wordsearch-text-link:hover { text-decoration: underline; }
.game-home .wordsearch-difficulties { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.wordsearch-difficulties .games-card { display: grid; grid-template-columns: 105px minmax(0, 1fr); gap: 14px; align-content: start; }
.wordsearch-preview { align-self: center; height: 108px; overflow: hidden; border-radius: 8px; background: #fff; }
.wordsearch-preview svg { display: block; width: 100%; height: 100%; }
.wordsearch-difficulty-copy .games-card-tag { display: inline-block; margin-top: 0; font-size: 9px; letter-spacing: .5px; }
.wordsearch-difficulty-copy h3 { margin: 9px 0 6px; }
.wordsearch-difficulty-copy p { margin: 0; font-size: 13px; line-height: 1.45; }
.wordsearch-difficulties .games-card-action { grid-column: 1 / -1; }
.wordsearch-size-panel { margin-top: 1px; padding: 20px; border: 1px solid #40515d; border-radius: 12px; background: #182632; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.wordsearch-size-panel h2 { margin: 6px 0 0; font-size: 22px; color: #fff; }
.wordsearch-sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.wordsearch-sizes a { padding: 12px 14px; border: 1px solid #536573; border-radius: 7px; color: #edf5fa; text-decoration: none; font-size: 14px; background: #213440; }
.wordsearch-sizes a:hover { background: #c2fa6b; color: #172a19; border-color: #c2fa6b; }
.wordsearch-sizes .wordsearch-all-sizes { color: #c2fa6b; background: transparent; }
.wordsearch-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; list-style: none; padding: 0; margin: 0; }
.wordsearch-steps li { display: flex; gap: 12px; }
.wordsearch-step-number { flex-shrink: 0; color: #c2fa6b; background: #263c30; border-radius: 8px; font-size: 14px; font-weight: bold; width: 36px; height: 36px; display: grid; place-items: center; }
.wordsearch-steps h3 { margin: 0 0 8px; color: #fff; font-size: 17px; }
.wordsearch-steps p { margin: 0; color: #bccbd6; font-size: 14px; line-height: 1.6; }
.wordsearch-print-link { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding: 14px 18px; border: 1px dashed #4a675b; border-radius: 10px; color: #cce1cf; text-decoration: none; font-size: 14px; line-height: 1.5; }
.wordsearch-print-link:hover { border-color: #c2fa6b; color: #c2fa6b; }
.wordsearch-print-link > span { font-size: 24px; color: #c2fa6b; }

.game-home a:focus-visible { outline: 3px solid #c2fa6b; outline-offset: 4px; }
@media (max-width: 1050px) {
    .wordsearch-difficulties .games-card { grid-template-columns: minmax(0, 1fr); }
    .wordsearch-preview { height: 110px; }
    .wordsearch-size-panel { flex-direction: column; align-items: start; gap: 16px; }
}
@media (max-width: 600px) {
    .game-home .wordsearch-difficulties, .wordsearch-steps { grid-template-columns: minmax(0, 1fr); }
    .game-home .wordsearch-hero { grid-template-columns: minmax(0, 1fr); }
    .wordsearch-hero-art { display: none; }
    .wordsearch-difficulties .games-card { grid-template-columns: 90px minmax(0, 1fr); }
    .wordsearch-preview { height: 100px; }
    .wordsearch-size-panel { padding: 16px; }
    .wordsearch-sizes a { padding: 11px 12px; }
    .wordsearch-steps { gap: 20px; }
}

.wordsearch-hero-grid svg { display: block; width: 100%; height: 100%; }
.game-home .games-brand { flex-wrap: wrap; }
.game-home .games-brand span, .game-home .games-eyebrow, .game-home .wordsearch-difficulties .games-card-tag { text-transform: none; }
.game-home .games-section-heading { flex-wrap: wrap; }
.game-home .games-section-heading h2, .game-home .wordsearch-difficulties .games-card h3 { overflow-wrap: anywhere; }
.game-home .wordsearch-difficulty-copy { min-width: 0; }
.game-home:lang(hi) { font-family: 'Noto Sans Devanagari', sans-serif; }
.game-home:lang(ja), .game-home:lang(zh) { font-family: system-ui, sans-serif; }
.game-home:lang(th) { font-family: NotoSansThai, sans-serif; }
.game-home:lang(hi) .games-eyebrow, .game-home:lang(th) .games-eyebrow,
.game-home:lang(hi) .games-card-tag, .game-home:lang(th) .games-card-tag { letter-spacing: normal; line-height: 1.7; }
.wordsearch-hero-grid svg text, .wordsearch-preview svg text { fill: #243b30; fill-opacity: .9; }
.wordsearch-hero-art img { display: block; width: 100%; height: auto; border: 1px solid #729950; border-radius: 14px; box-shadow: 0 6px 0 #080f18; }
.wordsearch-reference .wordsearch-preview svg text { fill: inherit; fill-opacity: inherit; }
