/* Intrinsic card widths grow with their values; the frame wraps the whole row. */
.app>.resources{display:flex;flex-wrap:wrap;align-items:stretch;justify-content:center;gap:7px;width:calc(100% - 40px);max-width:1440px;box-sizing:border-box;margin:24px auto}
.app>.resources .resource{flex:1 1 max-content;min-width:130px;max-width:100%;min-height:72px;height:auto;box-sizing:border-box;align-self:stretch;padding:8px 10px}
.app>.resources .resource-item{gap:7px}
.app>.resources .resource-icon{flex:0 0 36px;width:36px;height:36px;object-fit:contain}
.app>.resources .resource-text{flex:0 1 auto;min-width:0;max-width:100%;overflow:visible}
.app>.resources .resource-text strong{display:block;white-space:nowrap;overflow:visible;text-overflow:clip;overflow-wrap:normal;word-break:normal;font-variant-numeric:tabular-nums}
.app>.resources .build-resource-meta{display:block;max-width:none;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:normal;word-break:normal;line-height:1.45}
.app>.resources .water-pair{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:normal;word-break:normal}
@media(max-width:600px){.app>.resources{width:calc(100% - 24px);gap:7px}.app>.resources .resource{min-width:min(130px,100%);padding:7px;min-height:68px}.app>.resources .resource-icon{flex-basis:30px;width:30px;height:30px}.app>.resources .resource-text strong{font-size:14px}}
