/* Match the existing theme cards; only the interaction entry needs a visible summary. */
body.h5-workspace #aiFunThemeGrid [data-ai-fun-theme^="temple_interaction"] .ai-creation-copy > small {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; white-space: normal; font-size: 11px; line-height: 1.45; color: #777b73;
}
body.h5-workspace #aiFunThemeGrid [data-ai-fun-theme^="temple_interaction"] .ai-creation-copy strong { min-height: 0; }
@media (min-width:851px) {
  body.h5-workspace #aiFunThemeGrid:not(.is-list-view) [data-ai-fun-theme^="temple_interaction"] .ai-fun-theme-card-meta { display:none; }
}

@media(max-width:850px){body.h5-workspace[data-h5-mode="themes"] .ai-fun-theme-categories [data-ai-fun-category="interaction"]{flex:0 0 auto;min-width:76px;white-space:nowrap}}

/* Versioned full-frame card covers; gameplay imagery is untouched. */
body.h5-workspace #aiFunThemeGrid:not(.is-list-view) :is([data-ai-fun-theme="peace_wheel"],
[data-ai-fun-theme="temple_window"],
[data-ai-fun-theme="wind_chime"],
[data-ai-fun-theme="jinli_ruhua"],
[data-ai-fun-theme="brush_bloom"]) .ai-fun-theme-icon {
  width:100%; height:auto!important; min-height:0; aspect-ratio:16 / 9; padding:0;
}
body.h5-workspace #aiFunThemeGrid .interaction-cover-v2 { display:block; width:100%; height:100%; background:#eee8df; }
body.h5-workspace #aiFunThemeGrid .interaction-cover-v2 img { display:block; width:100%; height:100%; object-fit:cover; object-position:50% 50%; transform:none; padding:0; }
body.h5-workspace #aiFunThemeGrid.is-list-view .interaction-cover-v2 img { object-fit:contain; }
body.h5-workspace #pcAiThemesOverlay #aiFunThemeGrid:not(.is-list-view) :is([data-ai-fun-theme="peace_wheel"],
[data-ai-fun-theme="temple_window"],
[data-ai-fun-theme="wind_chime"],
[data-ai-fun-theme="jinli_ruhua"],
[data-ai-fun-theme="brush_bloom"]) .ai-fun-theme-icon {
  width:100%; height:auto!important; min-height:0; aspect-ratio:16 / 9; padding:0;
}
body.h5-workspace #pcAiThemesOverlay #aiFunThemeGrid .interaction-cover-v2 { display:block; width:100%; height:100%; background:#eee8df; }
body.h5-workspace #pcAiThemesOverlay #aiFunThemeGrid .interaction-cover-v2 img { display:block; width:100%; height:100%; object-fit:cover; object-position:50% 50%; transform:none; padding:0; }
body.h5-workspace #pcAiThemesOverlay #aiFunThemeGrid.is-list-view .interaction-cover-v2 img { object-fit:contain; }

body.h5-workspace [data-h5-recommend="peace_wheel"] .h5-theme-icon img,body.h5-workspace [data-h5-recommend="temple_window"] .h5-theme-icon img,body.h5-workspace [data-h5-recommend="wind_chime"] .h5-theme-icon img,body.h5-workspace [data-h5-recommend="jinli_ruhua"] .h5-theme-icon img,body.h5-workspace [data-h5-recommend="brush_bloom"] .h5-theme-icon img{object-fit:contain;transform:none}

/* Oriental Wishes collection cover only; no overlay text or subject cropping. */
body.h5-workspace #aiFunThemeGrid:not(.is-list-view) [data-ai-fun-theme="temple_interactions"] .ai-fun-theme-icon,
body.h5-workspace #pcAiThemesOverlay #aiFunThemeGrid:not(.is-list-view) [data-ai-fun-theme="temple_interactions"] .ai-fun-theme-icon{width:100%;height:auto!important;min-height:0;aspect-ratio:16/9;padding:0;background:#0b313d}
body.h5-workspace #aiFunThemeGrid [data-ai-fun-theme="temple_interactions"] .interaction-cover-v2 img,
body.h5-workspace #pcAiThemesOverlay #aiFunThemeGrid [data-ai-fun-theme="temple_interactions"] .interaction-cover-v2 img,
body.h5-workspace [data-h5-recommend="temple_interactions"] .h5-theme-icon img{object-fit:contain;object-position:center;transform:none;padding:0;background:#0b313d}
body.h5-workspace #aiFunThemeGrid [data-ai-fun-theme="temple_interactions"] .ai-creation-copy>small{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;white-space:normal}
